From 50435642635479de8486b32997d88bb6f82de694 Mon Sep 17 00:00:00 2001 From: Bruno Tagliapietra Date: Sun, 18 Feb 2018 16:41:08 +1300 Subject: [PATCH] Update UsingYourBuild.md amend --- Documentation/workflow/UsingYourBuild.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/workflow/UsingYourBuild.md b/Documentation/workflow/UsingYourBuild.md index 98a5951..4dba44e 100644 --- a/Documentation/workflow/UsingYourBuild.md +++ b/Documentation/workflow/UsingYourBuild.md @@ -47,7 +47,15 @@ dotnet new console In order to update with your local changes, the application needs to be self-contained, as opposed to running on the shared framework. In order to do that you will need to add a `RuntimeIdentifier` to your project. -You also need to add a `PlatformTarget`, otherwise the default would be `x86`, and that would generate an incompatibility error. +```xml + + ... + win-x64 + +``` +For Windows you will want `win-x64`, for macOS `osx-x64` and `linux-x64` for Linux. + +You might also need to explicitly specify a `PlatformTarget`: it shouldn't be required though, unless for some reason the default `PlatformTarget` on your machine, for that directory, is not `x64`. ```xml @@ -57,8 +65,6 @@ You also need to add a `PlatformTarget`, otherwise the default would be `x86`, a ``` -For Windows you will want `win-x64`, for macOS `osx-x64` and `linux-x64` for Linux. - ### Publish Now is the time to publish. The publish step will trigger restore and build. You can iterate on build by calling `dotnet build` as -- 2.7.4