summaryrefslogtreecommitdiff
path: root/Documentation/workflow
diff options
context:
space:
mode:
authorTom Deseyn <tom.deseyn@gmail.com>2017-06-08 18:08:00 +0200
committerWes Haggard <weshaggard@users.noreply.github.com>2017-06-08 09:08:00 -0700
commit62516da2b8a66bbe2c5cee5179e9b41fcc5ce6e2 (patch)
tree839db95c48e59177eb28a6e9523cdf6258381034 /Documentation/workflow
parent057686e1789897e453100086209a72d9e3353073 (diff)
downloadcoreclr-62516da2b8a66bbe2c5cee5179e9b41fcc5ce6e2.tar.gz
coreclr-62516da2b8a66bbe2c5cee5179e9b41fcc5ce6e2.tar.bz2
coreclr-62516da2b8a66bbe2c5cee5179e9b41fcc5ce6e2.zip
Describe how to use daily by setting RuntimeFrameworkVersion and publishing self-contained. (#12056)
* Describe how to use daily by setting RuntimeFrameworkVersion and publishing self-contained.
Diffstat (limited to 'Documentation/workflow')
-rw-r--r--Documentation/workflow/OfficalAndDailyBuilds.md36
1 files changed, 32 insertions, 4 deletions
diff --git a/Documentation/workflow/OfficalAndDailyBuilds.md b/Documentation/workflow/OfficalAndDailyBuilds.md
index 9d5fcc2bf7..7aa1fa0699 100644
--- a/Documentation/workflow/OfficalAndDailyBuilds.md
+++ b/Documentation/workflow/OfficalAndDailyBuilds.md
@@ -12,11 +12,39 @@ and you can expect to see new versions roughly three months. However it is als
Team publishes **daily builds** of all sorts of packages including those built by the CoreCLR and CoreFX
repositories. You can see what is available from
- * <https://dotnet.myget.org/gallery/dotnet-core>, and in particular you can see the builds of CoreCLR at
- * <https://dotnet.myget.org/feed/dotnet-core/package/nuget/Microsoft.NETCore.Runtime.CoreCLR>.
-
+ * <https://dotnet.myget.org/gallery/dotnet-core>, and in particular you can see the builds of
+ * CoreCLR at <https://dotnet.myget.org/feed/dotnet-core/package/nuget/Microsoft.NETCore.Runtime.CoreCLR>
+ * NETCore.App at <https://dotnet.myget.org/feed/dotnet-core/package/nuget/Microsoft.NETCore.App>
+
Thus if your goal is just to get the latest bug fixes and features, you don't need to build CoreCLR yourself you
-can simply add <https://dotnet.myget.org/F/dotnet-core/api/v3/index.json> to your Nuget Feed list.
+can simply add <https://dotnet.myget.org/F/dotnet-core/api/v3/index.json> to your Nuget Feed list and set the
+`RuntimeFrameworkVersion` in your project file to a `Microsoft.NETCore.App` version. You need to restore
+and publish your application so it includes the runtime (`self-contained`). This is done by setting the
+`RuntimeIdentifier` (e.g. `linux-x64`, `win7-x64`).
+
+```
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <packageSources>
+ <add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json"/>
+ </packageSources>
+</configuration>
+```
+```
+<Project Sdk="Microsoft.NET.Sdk">
+ <PropertyGroup>
+ <OutputType>Exe</OutputType>
+ <TargetFramework>netcoreapp2.0</TargetFramework>
+ <RuntimeFrameworkVersion>2.0.0-preview2-*</RuntimeFrameworkVersion>
+ <RuntimeIdentifier>linux-x64</RuntimeIdentifier>
+ </PropertyGroup>
+</Project>
+```
+```
+$ dotnet restore
+$ dotnet publish
+$ dotnet bin/Debug/netcoreapp2.0/linux-x64/publish/<app>.dll
+```
## Package Version Numbers