summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorBruno Tagliapietra <bruno.tagliapietra@gmail.com>2018-02-18 16:41:08 +1300
committerGitHub <noreply@github.com>2018-02-18 16:41:08 +1300
commit50435642635479de8486b32997d88bb6f82de694 (patch)
treea7d6ea746f6b1019403a4fd3668a5de2558151cd /Documentation
parent17a2b8b685a117bb1c3fd38f321992bff1da62d0 (diff)
downloadcoreclr-50435642635479de8486b32997d88bb6f82de694.tar.gz
coreclr-50435642635479de8486b32997d88bb6f82de694.tar.bz2
coreclr-50435642635479de8486b32997d88bb6f82de694.zip
Update UsingYourBuild.md
amend
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/workflow/UsingYourBuild.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/workflow/UsingYourBuild.md b/Documentation/workflow/UsingYourBuild.md
index 98a5951a5b..4dba44e608 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
+<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