Browse Source

Don't clobber constants defined before here in Debug builds

Brandon Thetford 1 year ago
parent
commit
b178454d9b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Terminal.Gui/Terminal.Gui.csproj

+ 2 - 1
Terminal.Gui/Terminal.Gui.csproj

@@ -1,4 +1,4 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
   <!-- =================================================================== -->
   <!-- =================================================================== -->
   <!-- Version numbers -->
   <!-- Version numbers -->
   <!-- Automatically updated by gitversion (run `dotnet-gitversion /updateprojectfiles`)  -->
   <!-- Automatically updated by gitversion (run `dotnet-gitversion /updateprojectfiles`)  -->
@@ -26,6 +26,7 @@
   </PropertyGroup>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DefineDebug>True</DefineDebug>
     <DefineDebug>True</DefineDebug>
+    <DefineConstants>$(DefineConstants);DEBUG_IDISPOSABLE</DefineConstants>
     <DebugType>portable</DebugType>
     <DebugType>portable</DebugType>
   </PropertyGroup>
   </PropertyGroup>
   <!-- =================================================================== -->
   <!-- =================================================================== -->