Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit 8b8911a

Browse files
obonessavornicesei
authored andcommitted
Setting DISABLE_COM must NOT overwrite the other defined constants
1 parent b7b036a commit 8b8911a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

project/CCTrayLib/CCTrayLib.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
9696
</PropertyGroup>
9797
<PropertyGroup Condition="$(DISABLE_COM) == true">
98-
<DefineConstants>DISABLE_COM</DefineConstants>
98+
<DefineConstants>DISABLE_COM;$(DefineConstants)</DefineConstants>
9999
</PropertyGroup>
100100
<ItemGroup>
101101
<Reference Include="Growl.Connector, Version=2.0.0.0, Culture=neutral, PublicKeyToken=980c2339411be384, processorArchitecture=x86">

project/UnitTests/UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
9797
</PropertyGroup>
9898
<PropertyGroup Condition="$(DISABLE_COM) == true">
99-
<DefineConstants>DISABLE_COM</DefineConstants>
99+
<DefineConstants>DISABLE_COM;$(DefineConstants)</DefineConstants>
100100
</PropertyGroup>
101101
<ItemGroup>
102102
<Reference Include="Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">

0 commit comments

Comments
 (0)