Build: Fixing windows host publish

This commit is contained in:
Zoe Roux 2021-08-24 13:32:34 +02:00
parent 4daa1eb28d
commit 22a2cf6145
2 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../Kyoo/Kyoo.csproj" />
<ProjectReference Include="../Kyoo/Kyoo.csproj" Properties="CustomRuntime=true;SelfContainedValue=$(SelfContained);RuntimeIdentifierValue=$(RuntimeIdentifier)" />
</ItemGroup>
<ItemGroup>

View File

@ -10,6 +10,11 @@
<StartupObject>Kyoo.Program</StartupObject>
<LangVersion>default</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="$(CustomRuntime) == true">
<SelfContained>$(SelfContainedValue)</SelfContained>
<RuntimeIdentifier>$(RuntimeIdentifierValue)</RuntimeIdentifier>
</PropertyGroup>
<PropertyGroup>
<IsWindows Condition="$([MSBuild]::IsOSPlatform('Windows'))">true</IsWindows>