Browse Source

Define that once

Brandon Thetford 1 year ago
parent
commit
8196cb1735
1 changed files with 2 additions and 2 deletions
  1. 2 2
      UnitTests/UnitTests.csproj

+ 2 - 2
UnitTests/UnitTests.csproj

@@ -13,12 +13,12 @@
     <LangVersion>12</LangVersion>
     <IsPackable>false</IsPackable>
     <UseDataCollector />
+    <DefineTrace>True</DefineTrace>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
-    <DefineConstants>TRACE;DEBUG_IDISPOSABLE</DefineConstants>
+    <DefineConstants>DEBUG_IDISPOSABLE</DefineConstants>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
-    <DefineConstants>TRACE</DefineConstants>
   </PropertyGroup>
   <ItemGroup>
     <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />