35 lines
1.5 KiB
XML
35 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<Configurations>Debug;Release</Configurations>
|
|
<Platforms>x64</Platforms>
|
|
<Nullable>enable</Nullable>
|
|
<WarningsAsErrors>CS8600;CS8601;CS8602;CS8603;CS8604;CS8618</WarningsAsErrors>
|
|
<LangVersion>8</LangVersion>
|
|
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Content Include="Native\Linux\*.so.*" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' ">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
<Link>%(Filename)%(Extension)</Link>
|
|
</Content>
|
|
<Content Include="Native\Windows\*.dll.*" Condition=" '$(OS)' == 'Windows_NT' ">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
<Link>%(Filename)%(Extension)</Link>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Nullable" Version="1.3.0">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
</Project>
|