Skip to content

Instantly share code, notes, and snippets.

@johnfredcee
Created September 2, 2020 15:45
Show Gist options
  • Save johnfredcee/d8e9dcca2c8a8da6a654d37c003480a8 to your computer and use it in GitHub Desktop.
Save johnfredcee/d8e9dcca2c8a8da6a654d37c003480a8 to your computer and use it in GitHub Desktop.
Project file to build Nez with dotnetcore3.1
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyName>Nez</AssemblyName>
<RootNamespace>Nez</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DefineConstants>TRACE;DEBUG</DefineConstants>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DefineConstants>NDEBUG</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Graphics\SVG\Shapes\Paths\SvgPathBuilder.cs" />
</ItemGroup>
<ItemGroup>
<None Remove="Content\NezDefaultBMFont.xnb" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Content\NezDefaultBMFont.xnb">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.WindowsDX.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="4.5.1" />
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment