VideoPlayer.csproj 1.4 KB

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