-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfigHelpers.props
18 lines (16 loc) · 1015 Bytes
/
ConfigHelpers.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<Project InitialTargets="TraceConfigHelpers">
<PropertyGroup>
<IsDebug Condition="'$(Configuration)' != ''">false</IsDebug>
<IsRelease Condition="'$(Configuration)' != ''">false</IsRelease>
<IsDebug Condition="$(Configuration.StartsWith('Debug', StringComparison.OrdinalIgnoreCase))">true</IsDebug>
<IsRelease Condition="$(Configuration.StartsWith('Release', StringComparison.OrdinalIgnoreCase))">true</IsRelease>
</PropertyGroup>
<Target Name="TraceConfigHelpers" Condition="'$(ZouTrace)' == 'true' Or '$(MSBuildProjectFile)' == '$(MSBuildThisFile)'">
<Message Importance="high" Text="zou/ConfigHelpers.props [$(MSBuildProjectFile)]" />
<Message Importance="high" Text="-----------------------" />
<Message Importance="high" Text="Configuration = $(Configuration)" />
<Message Importance="high" Text="IsDebug = $(IsDebug)" />
<Message Importance="high" Text="IsRelease = $(IsRelease)" />
<Message Importance="high" Text=" " />
</Target>
</Project>