Add fix for NETSDK1151

This commit is contained in:
erri120
2021-07-11 12:05:16 +02:00
parent 5cbed8dade
commit 20c256bc3b
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,9 @@
<TargetFramework>net5.0-windows</TargetFramework> <TargetFramework>net5.0-windows</TargetFramework>
<Platforms>x64</Platforms> <Platforms>x64</Platforms>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
<!-- temp fix for NETSDK1151 https://github.com/dotnet/sdk/issues/17579-->
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -4,6 +4,9 @@
<TargetFramework>net5.0-windows</TargetFramework> <TargetFramework>net5.0-windows</TargetFramework>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier> <RuntimeIdentifier>win10-x64</RuntimeIdentifier>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
<!-- temp fix for NETSDK1151 https://github.com/dotnet/sdk/issues/17579-->
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>