VirtualGamePad.csproj 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net9.0</TargetFramework>
  4. <OutputType>Exe</OutputType>
  5. <RootNamespace>VirtualGamePad.DesktopGL</RootNamespace>
  6. <AssemblyName>VirtualGamePad</AssemblyName>
  7. <MonoGamePlatform>DesktopGL</MonoGamePlatform>
  8. </PropertyGroup>
  9. <ItemGroup>
  10. <ProjectReference Include="..\..\Core\VirtualGamePad.Core.csproj" />
  11. <PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.*" />
  12. <PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.*" />
  13. </ItemGroup>
  14. <ItemGroup>
  15. <MonoGameContentReference Include="..\..\Core\Content\Content.mgcb">
  16. <Link>Content\Content.mgcb</Link>
  17. </MonoGameContentReference>
  18. </ItemGroup>
  19. <Target Name="RestoreDotnetTools" BeforeTargets="CollectPackageReferences">
  20. <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" />
  21. <Exec Command="dotnet tool restore" />
  22. </Target>
  23. <ItemGroup>
  24. <None Include="VirtualGamePad.icns">
  25. <Link>$(AssemblyName).icns</Link>
  26. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  27. </None>
  28. </ItemGroup>
  29. </Project>