mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-02 23:52:01 +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.
29 lines
961 B
XML
29 lines
961 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
|
<LangVersion>8.0</LangVersion>
|
|
<RuntimeIdentifiers>win-x64;osx-x64;linux-x64</RuntimeIdentifiers>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<Configurations>Debug;Release;Profile Debug;Profile Release</Configurations>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile Release|AnyCPU'">
|
|
<DefineConstants>TRACE;USE_DEBUGGING</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile Debug|AnyCPU'">
|
|
<DefineConstants>TRACE;USE_DEBUGGING</DefineConstants>
|
|
<Optimize>false</Optimize>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|