| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <?xml version="1.0" encoding="utf-8"?>
- <Project>
- <Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.props" />
- <PropertyGroup>
- <ArtifactsPath>$(SolutionDirectory).artifacts/tests</ArtifactsPath>
- <ProjectCategory>tests</ProjectCategory>
- <GenerateDocumentationFile>false</GenerateDocumentationFile>
- <IsPackable>false</IsPackable>
- <NoWarn>CA1707</NoWarn>
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- </PropertyGroup>
- <!-- Define compilation constant for MonoGame 3.8.5+ preview builds -->
- <PropertyGroup Condition="'$(IsPreviewBuild)' == 'true'">
- <DefineConstants>$(DefineConstants);MONOGAME_385_OR_NEWER</DefineConstants>
- </PropertyGroup>
- <!--
- MonoGame Version Selection
- - Stable build (IsPreviewBuild=false): use MonoGame 3.8.4
- - Preview Build (IsPreviewBuild=true): Use MonoGame 3.8.5-preview.#
- MonogameVersion can be overridden via command line:
- dotnet build /p:MonoGameVersion=3.8.5-preview.3
- -->
- <PropertyGroup>
- <MonogameStableVersion>3.8.4.1</MonogameStableVersion>
- <MonoGamePreviewVersion Condition="'$(MonoGamePreviewVersion)' == ''">3.8.5-preview.3</MonoGamePreviewVersion>
- <!-- Select version based on build type -->
- <MonoGameVersion Condition="'$(MonoGameVersion)' == '' AND '$(IsPreviewBuild)' == 'true'">$(MonoGamePreviewVersion)</MonoGameVersion>
- <MonoGameVersion Condition="'$(MonoGameVersion)' == '' AND '$(IsPreviewBuild)' != 'true'">$(MonoGameStableVersion)</MonoGameVersion>
- </PropertyGroup>
- <!-- MonoGame Framework References (Standard) -->
- <ItemGroup
- Condition="!$(DefineConstants.Contains('FNA')) AND !$(DefineConstants.Contains('KNI'))">
- <PackageReference Include="MonoGame.Framework.DesktopGL"
- Version="$(MonoGameVersion)"
- PrivateAssets="All" />
- </ItemGroup>
- <!-- KNI Framework References -->
- <ItemGroup Condition="$(DefineConstants.Contains('KNI'))">
- <PackageReference Include="nkast.Xna.Framework"
- Version="4.0.9001" />
- <PackageReference Include="nkast.Xna.Framework.Content"
- Version="4.0.9001" />
- <PackageReference Include="nkast.Xna.Framework.Graphics"
- Version="4.0.9001" />
- <PackageReference Include="nkast.Xna.Framework.Audio"
- Version="4.0.9001" />
- <PackageReference Include="nkast.Xna.Framework.Input"
- Version="4.0.9001" />
- <PackageReference Include="nkast.Xna.Framework.Game"
- Version="4.0.9001" />
- </ItemGroup>
- <!-- FNA Framework References -->
- <ItemGroup Condition="$(DefineConstants.Contains('FNA'))">
- <ProjectReference Include="$(MSBuildThisFileDirectory)..\..\FNA\FNA.NetStandard.csproj" />
- </ItemGroup>
- <ItemGroup>
- <PackageReference Include="NSubstitute"
- Version="4.2.2" />
- <PackageReference Include="xunit"
- Version="2.6.2"
- IsImplicitlyDefined="true" />
- <PackageReference Include="Microsoft.NET.Test.Sdk"
- Version="17.6.0"
- IsImplicitlyDefined="true" />
- <PackageReference Include="xunit.runner.visualstudio"
- Version="2.5.6"
- IsImplicitlyDefined="true"
- IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"
- PrivateAssets="all" />
- <PackageReference Include="coverlet.collector"
- Version="6.0.0"
- IsImplicitlyDefined="true"
- IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"
- PrivateAssets="all" />
- </ItemGroup>
- <ItemGroup>
- <Using Include="Xunit" />
- </ItemGroup>
- </Project>
|