@joebigelow / wix-1 / commits / 6f97699c

Add missing DEBUG #define to C# projects when building debug

Rob Mensching committed Feb 7, 2022 at 21:22 UTC 6f97699cc2bbcd5395590a77df43583103f71e54
1 file changed +1
src/Directory.csproj.targets
+1
@@ -7,6 +7,7 @@
7 <PropertyGroup>
8 <CreateDocumentation Condition=" '$(CreateDocumentationFile)'!='true' ">false</CreateDocumentation>
9 <DocumentationFile Condition=" '$(CreateDocumentationFile)'=='true' ">$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
10 + <DefineConstants Condition=" '$(Configuration)'=='Debug' ">$(DefineConstants);DEBUG</DefineConstants>
11 </PropertyGroup>
12
13 <Target Name="__SetAssemblyInfoFromGit" DependsOnTargets="__SetPropertiesFromGit" BeforeTargets="GetAssemblyVersion" />