Kni.Extended (#892)

* KNI projects

* update actions

fixes MSBUILD : error MSB1011: Specify which project or solution file to
use because this folder contains more than one project or solution file.

* remove test for issue #633

* build tests

* KNI TypeReaders

* KNI/XNA compatible code

* GetRuntimeReader from runtime types

* remove MockGameWindow
This commit is contained in:
Nikos Kastellanos
2024-06-24 05:38:20 +03:00
committed by GitHub
parent 8850875fb4
commit 2bbdc38b51
35 changed files with 657 additions and 84 deletions
+17 -1
View File
@@ -11,10 +11,26 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<ItemGroup Condition="!$(DefineConstants.Contains('KNI'))">
<PackageReference Include="MonoGame.Framework.DesktopGL"
Version="3.8.1.303"
PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="$(DefineConstants.Contains('KNI'))">
<PackageReference Include="nkast.Xna.Framework"
Version="3.12.9001" />
<PackageReference Include="nkast.Xna.Framework.Content"
Version="3.12.9001" />
<PackageReference Include="nkast.Xna.Framework.Graphics"
Version="3.12.9001" />
<PackageReference Include="nkast.Xna.Framework.Input"
Version="3.12.9001" />
<PackageReference Include="nkast.Xna.Framework.Game"
Version="3.12.9001" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet"
Version="0.13.12" />
</ItemGroup>
@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<DefineConstants>$(DefineConstants);KNI</DefineConstants>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\src\cs\MonoGame.Extended.Collisions\KNI.Extended.Collisions.csproj" />
</ItemGroup>
</Project>
@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<DefineConstants>$(DefineConstants);KNI</DefineConstants>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\source\MonoGame.Extended\KNI.Extended.csproj" />
</ItemGroup>
</Project>