Further fixes for build.

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

View File

@ -6,14 +6,17 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PkmnLibSharpTests", "PkmnLi
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Release|Any CPU = Release|Any CPU
Debug|x64 = Debug|x64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0D15FD33-1AEA-44F4-8211-AA8AF97EA534}.Release|Any CPU.ActiveCfg = Debug|Any CPU
{0D15FD33-1AEA-44F4-8211-AA8AF97EA534}.Debug|x64.ActiveCfg = Debug|x64
{0D15FD33-1AEA-44F4-8211-AA8AF97EA534}.Debug|x64.Build.0 = Debug|x64
{0D15FD33-1AEA-44F4-8211-AA8AF97EA534}.Release|x64.ActiveCfg = Release|x64
{0D15FD33-1AEA-44F4-8211-AA8AF97EA534}.Release|x64.Build.0 = Release|x64
{4CB6DA3C-017B-4AE0-B889-3DFE6B969CD0}.Debug|x64.ActiveCfg = Debug|x64
{4CB6DA3C-017B-4AE0-B889-3DFE6B969CD0}.Debug|x64.Build.0 = Debug|x64
{4CB6DA3C-017B-4AE0-B889-3DFE6B969CD0}.Release|x64.ActiveCfg = Release|x64
{4CB6DA3C-017B-4AE0-B889-3DFE6B969CD0}.Release|x64.Build.0 = Release|x64
EndGlobalSection
EndGlobal

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>

View File

@ -5,7 +5,7 @@
<IsPackable>false</IsPackable>
<Configurations>Debug</Configurations>
<Configurations>Debug;Release</Configurations>
<Platforms>x64</Platforms>
</PropertyGroup>