mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-10 10:00:57 +09:00
parent
791fcbb3c0
commit
1ef62ebd80
1 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue