Skip to content

Instantly share code, notes, and snippets.

@johnfredcee
Last active September 2, 2020 15:43
Show Gist options
  • Save johnfredcee/6e4410faa200f92b38400afad7e1a2d5 to your computer and use it in GitHub Desktop.
Save johnfredcee/6e4410faa200f92b38400afad7e1a2d5 to your computer and use it in GitHub Desktop.
Monogame App csproj using local dlls for dotnet core3.1
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<PublishReadyToRun>false</PublishReadyToRun>
<TieredCompilation>false</TieredCompilation>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationIcon>Icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<TrimmerRootAssembly Include="Microsoft.Xna.Framework.Content.ContentTypeReader" Visible="false" />
</ItemGroup>
<ItemGroup>
<Reference Include="MonogameFramework">
<HintPath>..\\..\\..\\libraries\\MonoGame\\Artifacts\\MonoGame.Framework\\WindowsDX\\Debug\\netcoreapp3.1\\MonoGame.Framework.dll</HintPath>
</Reference>
<Reference Include="MonogameContentBuilder">
<HintPath>..\\..\\..\\libraries\\MonoGame\\Artifacts\\MonoGame.Content.Builder.Task\\Debug\\netcoreapp3.1\\MonoGame.Content.Builder.Task.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<PackageReference Version="4.0.1" Include="SharpDX" />
<PackageReference Version="4.0.1" Include="SharpDX.Direct2D1" />
<PackageReference Version="4.0.1" Include="SharpDX.Direct3D11" />
<PackageReference Version="4.0.1" Include="SharpDX.DXGI" />
<PackageReference Version="4.0.1" Include="SharpDX.MediaFoundation" />
<PackageReference Version="4.0.1" Include="SharpDX.XAudio2" />
<PackageReference Version="4.0.1" Include="SharpDX.XInput" />
</ItemGroup>
<ItemGroup>
<MonoGameContentReference Include="Content\Content.mgcb" />
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment