Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/msbuild/MonoDevelop.BeforeCommon.targets')
-rw-r--r--main/msbuild/MonoDevelop.BeforeCommon.targets4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/msbuild/MonoDevelop.BeforeCommon.targets b/main/msbuild/MonoDevelop.BeforeCommon.targets
index c06c7740df..5c55667655 100644
--- a/main/msbuild/MonoDevelop.BeforeCommon.targets
+++ b/main/msbuild/MonoDevelop.BeforeCommon.targets
@@ -6,6 +6,8 @@
<!-- force a bunch of default values for consistency -->
<PropertyGroup>
+ <MDConfigIsRelease>$(Configuration.Contains('Release'))</MDConfigIsRelease>
+ <MDConfigIsDebug>$(Configuration.Contains('Debug'))</MDConfigIsDebug>
<Optimize>$(MDConfigIsRelease)</Optimize>
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
@@ -18,7 +20,7 @@
<NoWarn>$(NoWarn);1591;1573</NoWarn>
</PropertyGroup>
- <PropertyGroup Condition="$(Configuration.Contains('Debug'))">
+ <PropertyGroup Condition="'$(MDConfigIsDebug)'=='true'">
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
</PropertyGroup>