Directory.Build.props 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project>
  3. <Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.props" />
  4. <PropertyGroup>
  5. <ArtifactsPath>$(SolutionDirectory).artifacts/source</ArtifactsPath>
  6. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  7. <IsPackable>true</IsPackable>
  8. <NoWarn>NU1701</NoWarn>
  9. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  10. </PropertyGroup>
  11. <ItemGroup Condition="!$(DefineConstants.Contains('FNA')) AND !$(DefineConstants.Contains('KNI'))">
  12. <PackageReference Include="MonoGame.Framework.DesktopGL"
  13. Version="3.8.4"
  14. PrivateAssets="All" />
  15. </ItemGroup>
  16. <ItemGroup Condition="$(DefineConstants.Contains('FNA'))">
  17. <ProjectReference Include="$(MSBuildThisFileDirectory)..\..\FNA\FNA.NetStandard.csproj" />
  18. </ItemGroup>
  19. <ItemGroup Condition="$(DefineConstants.Contains('KNI'))">
  20. <PackageReference Include="nkast.Xna.Framework"
  21. Version="4.0.9001" />
  22. <PackageReference Include="nkast.Xna.Framework.Content"
  23. Version="4.0.9001" />
  24. <PackageReference Include="nkast.Xna.Framework.Graphics"
  25. Version="4.0.9001" />
  26. <PackageReference Include="nkast.Xna.Framework.Audio"
  27. Version="4.0.9001" />
  28. <PackageReference Include="nkast.Xna.Framework.Input"
  29. Version="4.0.9001" />
  30. <PackageReference Include="nkast.Xna.Framework.Game"
  31. Version="4.0.9001" />
  32. </ItemGroup>
  33. </Project>