Further fixes for build.

This commit is contained in:
2020-12-31 12:58:19 +01:00
parent a1668cd374
commit 8c8a8da39a
3 changed files with 11 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configurations>Debug</Configurations>
<Configurations>Debug;Release</Configurations>
<Platforms>x64</Platforms>
<Nullable>enable</Nullable>
<WarningsAsErrors>CS8600;CS8601;CS8602;CS8603;CS8604;CS8618</WarningsAsErrors>
@@ -12,6 +12,10 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Content Include="Native\*.so.*">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>