-
Notifications
You must be signed in to change notification settings - Fork 72
/
Common.targets
95 lines (79 loc) · 3.5 KB
/
Common.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<!--
***********************
* SUPPORTED PLATFORMS *
***********************
-->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug46|AnyCPU' ">
<BuildConfig>Debug</BuildConfig>
<BuildTarget>46</BuildTarget>
<NoWarn>1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release46|AnyCPU' ">
<BuildConfig>Release</BuildConfig>
<BuildTarget>46</BuildTarget>
<NoWarn>1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(BuildTarget)' == '46' ">
<DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_EDI;HAS_WINRT;HAS_PROGRESS;PREFER_ASYNC;HAS_AWAIT;HAS_APTCA; HAS_DISPATCHER_PRIORITY;HAS_WINFORMS</DefineConstants>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<!--<NoStdLib>true</NoStdLib>-->
<BuildPlatform>DESKTOPCLR</BuildPlatform>
<BuildFlavor>DESKTOPCLR45</BuildFlavor>
<SignKeyEnhanced>true</SignKeyEnhanced>
</PropertyGroup>
<!--
********************
* GENERAL SETTINGS *
********************
-->
<PropertyGroup>
<DefineConstants>$(DefineConstants);$(BuildPlatform);$(BuildFlavor);TRACE</DefineConstants>
<OutputPath>c:\bin\$(BuildConfig)\Net$(BuildTarget)</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(BuildConfig)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(BuildConfig)' == 'Release' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
</PropertyGroup>
<!--<ItemGroup Condition=" '$(NoStdLib)' == 'true' ">
<Reference Include="mscorlib" />
</ItemGroup>-->
<!-- Temporary flag to enable stress test builds. Should be refactored into a separate project and be written in a more platform-neutral manner. (TFS 484720) -->
<PropertyGroup Condition=" '$(BuildFlavor)' == 'DESKTOPCLR45' ">
<DefineConstants>$(DefineConstants);STRESS</DefineConstants>
</PropertyGroup>
<!--
<PropertyGroup Condition=" '$(ProductSignAssembly)' == 'true' AND '$(SignedBuild)' == '1' ">
<DefineConstants>$(DefineConstants);SIGNED</DefineConstants>
<SignAssembly>true</SignAssembly>
<DelaySign>true</DelaySign>
</PropertyGroup>
<PropertyGroup Condition=" '$(SignAssembly)' == 'true' AND '$(SignKeyEnhanced)' != 'true' ">
<AssemblyOriginatorKeyFile>..\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
<SignKeyId>72</SignKeyId>
</PropertyGroup>
<PropertyGroup Condition=" '$(SignAssembly)' == 'true' AND '$(SignKeyEnhanced)' == 'true' ">
<AssemblyOriginatorKeyFile>..\272MSSharedLibSN2048.snk</AssemblyOriginatorKeyFile>
<DefineConstants>$(DefineConstants);SIGNENHANCED</DefineConstants>
<SignKeyId>272</SignKeyId>
</PropertyGroup>
<PropertyGroup Condition=" '$(BuildLab)' == '1' ">
<DefineConstants>$(DefineConstants);NO_CODECOVERAGE</DefineConstants>
</PropertyGroup>
-->
</Project>