FuelCell.WindowsDX.csproj 1.3 KB

12345678910111213141516171819202122232425262728
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>WinExe</OutputType>
  4. <TargetFramework>net8.0-windows</TargetFramework>
  5. <RollForward>Major</RollForward>
  6. <PublishReadyToRun>false</PublishReadyToRun>
  7. <TieredCompilation>false</TieredCompilation>
  8. <UseWindowsForms>true</UseWindowsForms>
  9. </PropertyGroup>
  10. <PropertyGroup>
  11. <ApplicationManifest>app.manifest</ApplicationManifest>
  12. <ApplicationIcon>Icon.ico</ApplicationIcon>
  13. </PropertyGroup>
  14. <ItemGroup>
  15. <MonoGameContentReference Include="..\FuelCell.Core\Content\FuelCell.mgcb" Link="Content\FuelCell.mgcb" />
  16. </ItemGroup>
  17. <ItemGroup>
  18. <ProjectReference Include="..\FuelCell.Core\FuelCell.Core.csproj" />
  19. </ItemGroup>
  20. <ItemGroup>
  21. <PackageReference Include="MonoGame.Framework.WindowsDX" Version="3.8.4.1" />
  22. <PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4.1" />
  23. </ItemGroup>
  24. <Target Name="RestoreDotnetTools" BeforeTargets="CollectPackageReferences">
  25. <Message Text="Restoring dotnet tools (this might take a while depending on your internet speed and should only happen upon building your project for the first time, or after upgrading MonoGame, or clearing your nuget cache)" Importance="High" />
  26. <Exec Command="dotnet tool restore" />
  27. </Target>
  28. </Project>