RacingGame.csproj 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>WinExe</OutputType>
  4. <TargetFramework>net9.0-windows</TargetFramework>
  5. <RollForward>Major</RollForward>
  6. <PublishReadyToRun>false</PublishReadyToRun>
  7. <TieredCompilation>false</TieredCompilation>
  8. <UseWindowsForms>true</UseWindowsForms>
  9. <RootNamespace>RacingGame</RootNamespace>
  10. <ApplicationManifest>app.manifest</ApplicationManifest>
  11. <ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
  12. <ApplicationIcon>Icon.ico</ApplicationIcon>
  13. </PropertyGroup>
  14. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  15. <DefineConstants>$(DefineConstants);DIRECTX</DefineConstants>
  16. </PropertyGroup>
  17. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  18. <DefineConstants>$(DefineConstants);DIRECTX</DefineConstants>
  19. </PropertyGroup>
  20. <ItemGroup>
  21. <ProjectReference Include="..\Core\Core.csproj" />
  22. </ItemGroup>
  23. <ItemGroup>
  24. <MonoGameContentReference Include="..\Core\Content\RacingGameContent.mgcb">
  25. <Link>Content\RacingGameContent.mgcb</Link>
  26. <Platform>Windows</Platform>
  27. </MonoGameContentReference>
  28. </ItemGroup>
  29. <ItemGroup>
  30. <PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.5-preview.3" />
  31. <PackageReference Include="MonoGame.Framework.WindowsDX" Version="3.8.5-preview.3" />
  32. </ItemGroup>
  33. <Target Name="RestoreDotnetTools" BeforeTargets="CollectPackageReferences">
  34. <Message Text="Restoring dotnet tools..." Importance="High" />
  35. <Exec Command="dotnet tool restore" />
  36. </Target>
  37. </Project>