Storage.csproj 1.5 KB

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