Skip to content

Commit 88eefa1

Browse files
committed
(chocolateyGH-1949) Add missed compilation symbol official
Add missed `FORCE_CHOCOLATEY_OFFICIAL_KEY` compilation symbol for chocolatey and chocolatey.resources (the latter being more of a safeguard for future development).
1 parent 9abc8c0 commit 88eefa1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/chocolatey.resources/chocolatey.resources.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</PropertyGroup>
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseOfficial|AnyCPU'">
4242
<OutputPath>bin\ReleaseOfficial\</OutputPath>
43-
<DefineConstants>TRACE</DefineConstants>
43+
<DefineConstants>TRACE;FORCE_CHOCOLATEY_OFFICIAL_KEY</DefineConstants>
4444
<Optimize>true</Optimize>
4545
<PlatformTarget>AnyCPU</PlatformTarget>
4646
<ErrorReport>prompt</ErrorReport>

src/chocolatey/chocolatey.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseOfficial|AnyCPU'">
5454
<DebugSymbols>true</DebugSymbols>
5555
<OutputPath>bin\ReleaseOfficial\</OutputPath>
56-
<DefineConstants>TRACE</DefineConstants>
56+
<DefineConstants>TRACE;FORCE_CHOCOLATEY_OFFICIAL_KEY</DefineConstants>
5757
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
5858
<DocumentationFile>bin\Release\chocolatey.xml</DocumentationFile>
5959
<Optimize>true</Optimize>

0 commit comments

Comments
 (0)