Samples.SLMC.DESKTOPGL.NET6.csproj 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <Import Project="$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Common.props')" />
  3. <PropertyGroup>
  4. <EnableDefaultItems>false</EnableDefaultItems>
  5. <TargetFramework>net6.0</TargetFramework>
  6. <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
  7. <OutputType>WinExe</OutputType>
  8. <RootNamespace>Samples.SLMC</RootNamespace>
  9. <AssemblyName>Samples.SLMC</AssemblyName>
  10. <MonoGamePlatform>Windows</MonoGamePlatform>
  11. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  12. <OutputPath>bin\$(Configuration)\DesktopGL\net6\</OutputPath>
  13. </PropertyGroup>
  14. <PropertyGroup>
  15. <ApplicationIcon>Icon.ico</ApplicationIcon>
  16. </PropertyGroup>
  17. <PropertyGroup>
  18. <ApplicationManifest>app.manifest</ApplicationManifest>
  19. </PropertyGroup>
  20. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
  21. <DefineConstants>TRACE;DEBUG;WINDOWS MG</DefineConstants>
  22. </PropertyGroup>
  23. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
  24. <DefineConstants>TRACE;WINDOWS MG</DefineConstants>
  25. </PropertyGroup>
  26. <ItemGroup>
  27. <Compile Include="SampleGame.cs" />
  28. <Compile Include="Program.cs" />
  29. </ItemGroup>
  30. <ItemGroup>
  31. <Compile Include="Properties\AssemblyInfo.cs" />
  32. </ItemGroup>
  33. <ItemGroup>
  34. <Reference Include="MonoGame.Framework">
  35. <HintPath>$(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\DesktopGL\netstandard2.0\MonoGame.Framework.dll</HintPath>
  36. </Reference>
  37. </ItemGroup>
  38. <ItemGroup>
  39. <Content Include="Icon.ico" />
  40. </ItemGroup>
  41. <ItemGroup>
  42. <MonoGameContentReference Include="..\SLMCContent\Samples.SLMCContent.mgcb">
  43. <Link>Content\Content.mgcb</Link>
  44. </MonoGameContentReference>
  45. </ItemGroup>
  46. <ItemGroup>
  47. <None Include="$(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\DesktopGL\netstandard2.0\x64\SDL2.dll">
  48. <Link>x64\SDL2.dll</Link>
  49. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  50. </None>
  51. <None Include="$(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\DesktopGL\netstandard2.0\x64\soft_oal.dll">
  52. <Link>x64\soft_oal.dll</Link>
  53. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  54. </None>
  55. </ItemGroup>
  56. <Import Project="C:\Program Files (x86)\MSBuild\MonoGame\v3.0\MonoGame.Content.Builder17.targets" />
  57. </Project>