Update UsingYourBuild.md
authorBruno Tagliapietra <bruno.tagliapietra@gmail.com>
Sun, 18 Feb 2018 03:41:08 +0000 (16:41 +1300)
committerGitHub <noreply@github.com>
Sun, 18 Feb 2018 03:41:08 +0000 (16:41 +1300)
amend

Documentation/workflow/UsingYourBuild.md

index 98a5951..4dba44e 100644 (file)
@@ -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
+<PropertyGroup>
+  ...
+  <RuntimeIdentifier>win-x64</RuntimeIdentifier>
+</PropertyGroup>
+```
+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
 <PropertyGroup>
@@ -57,8 +65,6 @@ You also need to add a `PlatformTarget`, otherwise the default would be `x86`, a
 </PropertyGroup>
 ```
 
-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