mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-23 19:45:47 +00:00
4c54f36c38
Some parts of our code needs C# 8 who isn't set as default in Visual Studio. To fix this we have to set the C# version correctly in the csproj files and then we are be able to build the project using Visual Studio.
53 lines
2 KiB
XML
53 lines
2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
|
<LangVersion>8.0</LangVersion>
|
|
<RuntimeIdentifiers>win-x64;osx-x64;linux-x64</RuntimeIdentifiers>
|
|
<Configurations>Debug;Release;Profile Debug;Profile Release</Configurations>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile Debug|AnyCPU'">
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<DefineConstants>TRACE;USE_DEBUGGING</DefineConstants>
|
|
<Optimize>false</Optimize>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile Release|AnyCPU'">
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<DefineConstants>TRACE;USE_DEBUGGING</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="OpenTK.NetStandard" Version="1.0.5.12" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Ryujinx.Common\Ryujinx.Common.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ContentWithTargetPath Include="Native\libsoundio\libs\libsoundio.dll">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<TargetPath>libsoundio.dll</TargetPath>
|
|
</ContentWithTargetPath>
|
|
<ContentWithTargetPath Include="Native\libsoundio\libs\libsoundio.dylib">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<TargetPath>libsoundio.dylib</TargetPath>
|
|
</ContentWithTargetPath>
|
|
<ContentWithTargetPath Include="Native\libsoundio\libs\libsoundio.so">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<TargetPath>libsoundio.so</TargetPath>
|
|
</ContentWithTargetPath>
|
|
</ItemGroup>
|
|
|
|
</Project>
|