Project: include Windows TFM by default unless SkipWindowsTargetFramework=true; fix AppHost ProjectReference path
All checks were successful
Build / build (pull_request) Successful in 2m2s
All checks were successful
Build / build (pull_request) Successful in 2m2s
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\SlipItIN\SlipItIn.csproj">
|
<ProjectReference Include="..\SlipItIn\SlipItIn.csproj">
|
||||||
<SetTargetFramework>TargetFramework=net10.0-windows10.0.19041.0</SetTargetFramework>
|
<SetTargetFramework>TargetFramework=net10.0-windows10.0.19041.0</SetTargetFramework>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\SlipItIn.Server\SlipItIn.Server.csproj" />
|
<ProjectReference Include="..\SlipItIn.Server\SlipItIn.Server.csproj" />
|
||||||
|
|||||||
@@ -3,8 +3,9 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net10.0-android</TargetFrameworks>
|
<TargetFrameworks>net10.0-android</TargetFrameworks>
|
||||||
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('linux'))">$(TargetFrameworks);</TargetFrameworks>
|
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('linux'))">$(TargetFrameworks);</TargetFrameworks>
|
||||||
<!-- Windows target framework can be skipped by setting SkipWindowsTargetFramework=true during restore/build (useful for CI or tooling without Windows runtime packs) -->
|
<!-- Windows target framework can be skipped by setting SkipWindowsTargetFramework=true during restore/build (useful for CI or tooling without Windows runtime packs).
|
||||||
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(SkipWindowsTargetFramework)' != 'true'">$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks>
|
Include the Windows TFM by default so restores which evaluate OS differently still generate assets for the Windows TFM unless explicitly skipped. -->
|
||||||
|
<TargetFrameworks Condition="'$(SkipWindowsTargetFramework)' != 'true'">$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks>
|
||||||
<LangVersion>preview</LangVersion>
|
<LangVersion>preview</LangVersion>
|
||||||
|
|
||||||
<!-- Note for MacCatalyst:
|
<!-- Note for MacCatalyst:
|
||||||
|
|||||||
Reference in New Issue
Block a user