Added SelfContained tag to project for Net8.0

nullableenabled
David Hall 2023-11-22 17:51:59 -07:00
parent 9d1d4db128
commit be8c3ee6e8
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>UnitTest.PInvoke.FhSvcCtl</AssemblyName>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
<RuntimeIdentifier Condition=" !$(TargetFramework.StartsWith('net8')) ">win10-x64</RuntimeIdentifier>
<SelfContained Condition=" $(TargetFramework.StartsWith('net8')) ">true</SelfContained>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\PInvoke\FhSvcCtl\Vanara.PInvoke.FhSvcCtl.csproj" />