Browse Source

Make sure any constants defined at higher levels are not clobbered and define a couple more

Brandon Thetford 1 year ago
parent
commit
71f0db1cb7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Terminal.Gui/Terminal.Gui.csproj

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

@@ -16,6 +16,7 @@
     <RootNamespace>Terminal.Gui</RootNamespace>
     <AssemblyName>Terminal.Gui</AssemblyName>
     <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
+    <DefineConstants>$(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL</DefineConstants>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>portable</DebugType>