Change how `$(DefineConstants)` is initialised

this may explain why I was having trouble with it earlier
This commit is contained in:
James Groom 2024-04-30 17:59:09 +10:00 committed by GitHub
parent 296eb8f1a0
commit 96d5518cc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,7 @@
<ContinuousIntegrationBuild Condition=" '$(GITLAB_CI)' != '' Or '$(APPVEYOR)' != '' ">true</ContinuousIntegrationBuild>
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<ErrorReport>prompt</ErrorReport>
<Features>strict</Features>
@ -23,11 +24,10 @@
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
<Optimize>false</Optimize>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<PathMap>$(MSBuildProjectDirectory)=${$(MSBuildProjectName)}/</PathMap>
</PropertyGroup>