Skip to content

Commit

Permalink
(GH-1949) Add missed compilation symbol official
Browse files Browse the repository at this point in the history
Add missed `FORCE_CHOCOLATEY_OFFICIAL_KEY` compilation symbol for
chocolatey and chocolatey.resources (the latter being more of a
safeguard for future development).
  • Loading branch information
ferventcoder committed Nov 19, 2019
1 parent 9abc8c0 commit 88eefa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/chocolatey.resources/chocolatey.resources.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseOfficial|AnyCPU'">
<OutputPath>bin\ReleaseOfficial\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>TRACE;FORCE_CHOCOLATEY_OFFICIAL_KEY</DefineConstants>
<Optimize>true</Optimize>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
Expand Down
2 changes: 1 addition & 1 deletion src/chocolatey/chocolatey.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseOfficial|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ReleaseOfficial\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>TRACE;FORCE_CHOCOLATEY_OFFICIAL_KEY</DefineConstants>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<DocumentationFile>bin\Release\chocolatey.xml</DocumentationFile>
<Optimize>true</Optimize>
Expand Down

0 comments on commit 88eefa1

Please sign in to comment.