diff options
author | Simon Cropp <simon.cropp@gmail.com> | 2017-05-05 07:53:46 +0300 |
---|---|---|
committer | Simon Cropp <simon.cropp@gmail.com> | 2017-05-05 07:53:46 +0300 |
commit | 39d7778260e99586092d69d90898482bbbaac609 (patch) | |
tree | 25b6054ef6d3813ef503eb1d3fc308c130e59c32 | |
parent | 24dec0becc6026f4c01377f20da5f0fe9950b892 (diff) |
remove duplication in props
-rw-r--r-- | Mono.Cecil.props | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/Mono.Cecil.props b/Mono.Cecil.props index f8165d9..da63a2f 100644 --- a/Mono.Cecil.props +++ b/Mono.Cecil.props @@ -15,7 +15,7 @@ <NetStandard Condition=" $(Configuration.StartsWith('netstandard')) Or '$(NuGetRestoreTargets)' != '' ">true</NetStandard> <NetStandard Condition=" '$(NetStandard)' == '' ">false</NetStandard> </PropertyGroup> - <PropertyGroup Condition=" $(Configuration.EndsWith('Debug')) "> + <PropertyGroup Condition=" $(Configuration.Contains('Debug')) "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> @@ -23,7 +23,7 @@ <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> - <PropertyGroup Condition=" $(Configuration.EndsWith('Release')) "> + <PropertyGroup Condition=" $(Configuration.Contains('Release')) "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <DefineConstants>$(DefineConstants);TRACE;</DefineConstants> @@ -31,21 +31,8 @@ <WarningLevel>4</WarningLevel> <RunCodeAnalysis>false</RunCodeAnalysis> </PropertyGroup> - <PropertyGroup Condition=" $(Configuration.EndsWith('Debug_ReadOnly')) "> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <DefineConstants>$(DefineConstants);DEBUG;TRACE;READ_ONLY;</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <PropertyGroup Condition=" $(Configuration.EndsWith('Release_ReadOnly')) "> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <DefineConstants>$(DefineConstants);TRACE;READ_ONLY;</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <RunCodeAnalysis>false</RunCodeAnalysis> + <PropertyGroup Condition=" $(Configuration.Contains('ReadOnly')) "> + <DefineConstants>$(DefineConstants);READ_ONLY;</DefineConstants> </PropertyGroup> <PropertyGroup Condition=" $(Configuration.StartsWith('net_3_5')) "> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> |