浏览代码

default DefineConstants

Nikos Kastellanos 6 月之前
父节点
当前提交
9df21b8872
共有 29 个文件被更改,包括 78 次插入200 次删除
  1. 2 6
      Animation/Aether.Animation.DX.csproj
  2. 2 6
      Animation/Aether.Animation.csproj
  3. 4 2
      Atlas/Aether.Atlas.csproj
  4. 2 6
      Content.Pipeline/AnimationImporters/AnimationImporters.csproj
  5. 2 6
      Content.Pipeline/AtlasImporter/AtlasImporter.csproj
  6. 2 6
      Content.Pipeline/DDSImporter/DDSImporter.csproj
  7. 2 6
      Content.Pipeline/GraphicsImporters/GraphicsImporters.csproj
  8. 2 6
      Content.Pipeline/RawModelProcessor/RawModelProcessor.csproj
  9. 2 6
      Content.Pipeline/SLMCImporter/SLMCImporter.csproj
  10. 2 6
      Content.Pipeline/TilemapImporters/TilemapImporter.csproj
  11. 2 6
      Content.Pipeline/VoxelImporters/VoxelImporters.csproj
  12. 2 6
      Graphics/Aether.Graphics.csproj
  13. 3 8
      Samples/Animation/Animation.Shared/Samples.Animation.DESKTOPGL.NET8.csproj
  14. 4 9
      Samples/Animation/Animation.Shared/Samples.Animation.WINDOWS.NET8.csproj
  15. 3 8
      Samples/Atlas/Atlas.Shared/Samples.Atlas.DESKTOPGL.NET8.csproj
  16. 4 9
      Samples/Atlas/Atlas.Shared/Samples.Atlas.WINDOWS.NET8.csproj
  17. 3 8
      Samples/Deferred/Deferred.Shared/Samples.Deferred.DESKTOPGL.NET8.csproj
  18. 4 9
      Samples/Deferred/Deferred.Shared/Samples.Deferred.WINDOWS.NET8.csproj
  19. 3 8
      Samples/FXAA/FXAA.Shared/Samples.FXAA.DESKTOPGL.NET8.csproj
  20. 4 9
      Samples/FXAA/FXAA.Shared/Samples.FXAA.WINDOWS.NET8.csproj
  21. 3 8
      Samples/SLMC/SLMC.Shared/Samples.SLMC.DESKTOPGL.NET8.csproj
  22. 4 9
      Samples/SLMC/SLMC.Shared/Samples.SLMC.WINDOWS.NET8.csproj
  23. 3 8
      Samples/Tilemap/Tilemap.Shared/Samples.Tilemaps.DESKTOPGL.NET8.csproj
  24. 4 9
      Samples/Tilemap/Tilemap.Shared/Samples.Tilemaps.WINDOWS.NET8.csproj
  25. 2 6
      Shaders/Deferred/Aether.Shaders.Deferred.csproj
  26. 2 6
      Shaders/FXAA/Aether.Shaders.FXAA.csproj
  27. 2 6
      Shaders/InfiniteGrid/Aether.Shaders.InfiniteGrid.csproj
  28. 2 6
      Shaders/Tilemap/Aether.Shaders.Tilemap.csproj
  29. 2 6
      Tilemap/Aether.Tilemap.csproj

+ 2 - 6
Animation/Aether.Animation.DX.csproj

@@ -11,13 +11,9 @@
     <OutputPath>..\Artifacts\$(Configuration)\Libraries\$(TargetFramework).DX\</OutputPath>
     <BaseIntermediateOutputPath>obj\$(TargetFramework).DX\</BaseIntermediateOutputPath>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <DefineConstants>WINDOWS KNI MAPPEDMEM</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI MAPPEDMEM</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI MAPPEDMEM</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001" />

+ 2 - 6
Animation/Aether.Animation.csproj

@@ -9,13 +9,9 @@
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\Artifacts\$(Configuration)\Libraries\</OutputPath>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001" />

+ 4 - 2
Atlas/Aether.Atlas.csproj

@@ -11,12 +11,14 @@
     <OutputPath>..\Artifacts\$(Configuration)\Libraries\</OutputPath>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
   </PropertyGroup>
+	
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
+    <DefineConstants>DEBUG;WINDOWS KNI</DefineConstants>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001" />

+ 2 - 6
Content.Pipeline/AnimationImporters/AnimationImporters.csproj

@@ -8,13 +8,9 @@
     <AssemblyName>Aether.Content.Pipeline.AnimationImporters</AssemblyName>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\..\Artifacts\$(Configuration)\Processors\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="Animation\AnimationsContent.cs" />
     <Compile Include="Animation\ClipContent.cs" />

+ 2 - 6
Content.Pipeline/AtlasImporter/AtlasImporter.csproj

@@ -9,13 +9,9 @@
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\..\Artifacts\$(Configuration)\Processors\</OutputPath>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001" />

+ 2 - 6
Content.Pipeline/DDSImporter/DDSImporter.csproj

@@ -9,13 +9,9 @@
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\..\Artifacts\$(Configuration)\Processors\</OutputPath>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001" />

+ 2 - 6
Content.Pipeline/GraphicsImporters/GraphicsImporters.csproj

@@ -8,13 +8,9 @@
     <AssemblyName>Aether.Content.Pipeline.GraphicsImporters</AssemblyName>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\..\Artifacts\$(Configuration)\Processors\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001" />

+ 2 - 6
Content.Pipeline/RawModelProcessor/RawModelProcessor.csproj

@@ -8,13 +8,9 @@
     <AssemblyName>Aether.Content.Pipeline.RawModelProcessor</AssemblyName>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\..\Artifacts\$(Configuration)\Processors\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001" />

+ 2 - 6
Content.Pipeline/SLMCImporter/SLMCImporter.csproj

@@ -9,13 +9,9 @@
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\..\Artifacts\$(Configuration)\Processors\</OutputPath>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001" />

+ 2 - 6
Content.Pipeline/TilemapImporters/TilemapImporter.csproj

@@ -9,13 +9,9 @@
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\..\Artifacts\$(Configuration)\Processors\</OutputPath>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001" />

+ 2 - 6
Content.Pipeline/VoxelImporters/VoxelImporters.csproj

@@ -9,13 +9,9 @@
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <OutputPath>..\..\Artifacts\$(Configuration)\Processors\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="Vox\VoxImporter.cs" />
     <Compile Include="Vox\VoxHeader.cs" />

+ 2 - 6
Graphics/Aether.Graphics.csproj

@@ -8,13 +8,9 @@
     <AssemblyName>Aether.Graphics</AssemblyName>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\Artifacts\$(Configuration)\Libraries\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001" />

+ 3 - 8
Samples/Animation/Animation.Shared/Samples.Animation.DESKTOPGL.NET8.csproj

@@ -9,19 +9,14 @@
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\DesktopGL\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
   </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="AnimationSampleComponent.cs" />
     <Compile Include="AnimationGame.cs" />

+ 4 - 9
Samples/Animation/Animation.Shared/Samples.Animation.WINDOWS.NET8.csproj

@@ -4,25 +4,20 @@
     <EnableDefaultItems>false</EnableDefaultItems>
     <TargetFramework>net8.0-windows</TargetFramework>
     <OutputType>WinExe</OutputType>
+    <UseWindowsForms>True</UseWindowsForms>
     <RootNamespace>Samples.Animation</RootNamespace>
     <AssemblyName>Samples.Animation</AssemblyName>
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\WindowsDX\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
-    <UseWindowsForms>True</UseWindowsForms>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="AnimationSampleComponent.cs" />
     <Compile Include="AnimationGame.cs" />

+ 3 - 8
Samples/Atlas/Atlas.Shared/Samples.Atlas.DESKTOPGL.NET8.csproj

@@ -9,19 +9,14 @@
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\DesktopGL\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
   </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="AtlasSampleComponent.cs" />
     <Compile Include="AtlasGame.cs" />

+ 4 - 9
Samples/Atlas/Atlas.Shared/Samples.Atlas.WINDOWS.NET8.csproj

@@ -4,25 +4,20 @@
     <EnableDefaultItems>false</EnableDefaultItems>
     <TargetFramework>net8.0-windows</TargetFramework>
     <OutputType>WinExe</OutputType>
+    <UseWindowsForms>True</UseWindowsForms>
     <RootNamespace>Samples.Atlas</RootNamespace>
     <AssemblyName>Samples.Atlas</AssemblyName>
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\WindowsDX\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
-    <UseWindowsForms>True</UseWindowsForms>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="AtlasSampleComponent.cs" />
     <Compile Include="AtlasGame.cs" />

+ 3 - 8
Samples/Deferred/Deferred.Shared/Samples.Deferred.DESKTOPGL.NET8.csproj

@@ -9,19 +9,14 @@
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\DesktopGL\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
   </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="DeferredRendering.cs" />
     <Compile Include="DeferredSampleComponent.cs" />

+ 4 - 9
Samples/Deferred/Deferred.Shared/Samples.Deferred.WINDOWS.NET8.csproj

@@ -4,25 +4,20 @@
     <EnableDefaultItems>false</EnableDefaultItems>
     <TargetFramework>net8.0-windows</TargetFramework>
     <OutputType>WinExe</OutputType>
+    <UseWindowsForms>True</UseWindowsForms>
     <RootNamespace>Samples.Deferred</RootNamespace>
     <AssemblyName>Samples.Deferred</AssemblyName>
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\WindowsDX\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
-    <UseWindowsForms>True</UseWindowsForms>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="DeferredRendering.cs" />
     <Compile Include="DeferredSampleComponent.cs" />

+ 3 - 8
Samples/FXAA/FXAA.Shared/Samples.FXAA.DESKTOPGL.NET8.csproj

@@ -9,19 +9,14 @@
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\DesktopGL\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
   </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="AntiAliasing.cs" />
     <Compile Include="FXAASampleComponent.cs" />

+ 4 - 9
Samples/FXAA/FXAA.Shared/Samples.FXAA.WINDOWS.NET8.csproj

@@ -4,25 +4,20 @@
     <EnableDefaultItems>false</EnableDefaultItems>
     <TargetFramework>net8.0-windows</TargetFramework>
     <OutputType>WinExe</OutputType>
+    <UseWindowsForms>True</UseWindowsForms>
     <RootNamespace>Samples.FXAA</RootNamespace>
     <AssemblyName>Samples.FXAA</AssemblyName>
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\WindowsDX\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
-    <UseWindowsForms>True</UseWindowsForms>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="AntiAliasing.cs" />
     <Compile Include="FXAASampleComponent.cs" />

+ 3 - 8
Samples/SLMC/SLMC.Shared/Samples.SLMC.DESKTOPGL.NET8.csproj

@@ -9,19 +9,14 @@
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\DesktopGL\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
   </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="SLMCSampleComponent.cs" />
     <Compile Include="SLMCGame.cs" />

+ 4 - 9
Samples/SLMC/SLMC.Shared/Samples.SLMC.WINDOWS.NET8.csproj

@@ -4,25 +4,20 @@
     <EnableDefaultItems>false</EnableDefaultItems>
     <TargetFramework>net8.0-windows</TargetFramework>
     <OutputType>WinExe</OutputType>
+    <UseWindowsForms>True</UseWindowsForms>
     <RootNamespace>Samples.SLMC</RootNamespace>
     <AssemblyName>Samples.SLMC</AssemblyName>
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\WindowsDX\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
-    <UseWindowsForms>True</UseWindowsForms>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="SLMCSampleComponent.cs" />
     <Compile Include="SLMCGame.cs" />

+ 3 - 8
Samples/Tilemap/Tilemap.Shared/Samples.Tilemaps.DESKTOPGL.NET8.csproj

@@ -9,19 +9,14 @@
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\DesktopGL\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
   </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="TilemapSampleComponent.cs" />
     <Compile Include="TilemapGame.cs" />

+ 4 - 9
Samples/Tilemap/Tilemap.Shared/Samples.Tilemaps.WINDOWS.NET8.csproj

@@ -4,25 +4,20 @@
     <EnableDefaultItems>false</EnableDefaultItems>
     <TargetFramework>net8.0-windows</TargetFramework>
     <OutputType>WinExe</OutputType>
+    <UseWindowsForms>True</UseWindowsForms>
     <RootNamespace>Samples.Tilemaps</RootNamespace>
     <AssemblyName>Samples.Tilemaps</AssemblyName>
     <KniPlatform>Windows</KniPlatform>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>bin\$(Configuration)\WindowsDX\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <PropertyGroup>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
-  </PropertyGroup>
-  <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
-    <UseWindowsForms>True</UseWindowsForms>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
   </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="TilemapSampleComponent.cs" />
     <Compile Include="TilemapGame.cs" />

+ 2 - 6
Shaders/Deferred/Aether.Shaders.Deferred.csproj

@@ -8,13 +8,9 @@
     <AssemblyName>Aether.Shaders.Deferred</AssemblyName>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\..\Artifacts\$(Configuration)\Libraries\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Graphics" Version="4.0.9001" />

+ 2 - 6
Shaders/FXAA/Aether.Shaders.FXAA.csproj

@@ -8,13 +8,9 @@
     <AssemblyName>Aether.Shaders.FXAA</AssemblyName>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\..\Artifacts\$(Configuration)\Libraries\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Graphics" Version="4.0.9001" />

+ 2 - 6
Shaders/InfiniteGrid/Aether.Shaders.InfiniteGrid.csproj

@@ -8,13 +8,9 @@
     <AssemblyName>Aether.Shaders.InfiniteGrid</AssemblyName>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\..\Artifacts\$(Configuration)\Libraries\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Graphics" Version="4.0.9001" />

+ 2 - 6
Shaders/Tilemap/Aether.Shaders.Tilemap.csproj

@@ -8,13 +8,9 @@
     <AssemblyName>Aether.Shaders.Tilemap</AssemblyName>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\..\Artifacts\$(Configuration)\Libraries\</OutputPath>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <Compile Include="TilemapEffect.cs" />
   </ItemGroup>

+ 2 - 6
Tilemap/Aether.Tilemap.csproj

@@ -9,13 +9,9 @@
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <OutputPath>..\Artifacts\$(Configuration)\Libraries\</OutputPath>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <DefineConstants>WINDOWS KNI</DefineConstants>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DefineConstants>TRACE;DEBUG;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DefineConstants>TRACE;WINDOWS KNI</DefineConstants>
-  </PropertyGroup>
+	
   <ItemGroup>
     <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001" />
     <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001" />