Browse Source

Make these parts match Terminal.Gui

Brandon Thetford 1 year ago
parent
commit
0b2df753f3
1 changed files with 9 additions and 1 deletions
  1. 9 1
      UnitTests/UnitTests.csproj

+ 9 - 1
UnitTests/UnitTests.csproj

@@ -13,12 +13,20 @@
     <LangVersion>12</LangVersion>
     <IsPackable>false</IsPackable>
     <UseDataCollector />
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <DefineTrace>True</DefineTrace>
+    <DebugType>portable</DebugType>
+    <DefineConstants>$(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL</DefineConstants>
+    <ImplicitUsings>enable</ImplicitUsings>
+    <NoLogo>True</NoLogo>
+    <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
-    <DefineConstants>DEBUG_IDISPOSABLE</DefineConstants>
+    <DefineDebug>True</DefineDebug>
+    <DefineConstants>$(DefineConstants);DEBUG_IDISPOSABLE</DefineConstants>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
+    <Optimize>True</Optimize>
   </PropertyGroup>
   <ItemGroup>
     <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />