Update UsingYourBuild.md
authorBruno Tagliapietra <bruno.tagliapietra@gmail.com>
Mon, 12 Feb 2018 19:35:22 +0000 (08:35 +1300)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2018 19:35:22 +0000 (08:35 +1300)
Apparently it needs a PlatformTarget to be specified as well when targeting x64 architecture

Documentation/workflow/UsingYourBuild.md

index 8f01319..98a5951 100644 (file)
@@ -47,10 +47,13 @@ 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>
+  <PlatformTarget>x64</PlatformTarget>
 </PropertyGroup>
 ```