| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 |
<PropertyGroup> |
| 4 |
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| 5 |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| 6 |
<ProductVersion>8.0.30703</ProductVersion> |
| 7 |
<SchemaVersion>2.0</SchemaVersion> |
| 8 |
<TargetFrameworkProfile /> |
| 9 |
</PropertyGroup> |
| 10 |
|
| 11 |
<!-- |
| 12 |
*********************** |
| 13 |
* SUPPORTED PLATFORMS * |
| 14 |
*********************** |
| 15 |
--> |
| 16 |
|
| 17 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugPL|AnyCPU' "> |
| 18 |
<BuildConfig>Debug</BuildConfig> |
| 19 |
<BuildTarget>PL</BuildTarget> |
| 20 |
</PropertyGroup> |
| 21 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleasePL|AnyCPU' "> |
| 22 |
<BuildConfig>Release</BuildConfig> |
| 23 |
<BuildTarget>PL</BuildTarget> |
| 24 |
</PropertyGroup> |
| 25 |
|
| 26 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug45|AnyCPU' "> |
| 27 |
<BuildConfig>Debug</BuildConfig> |
| 28 |
<BuildTarget>45</BuildTarget> |
| 29 |
</PropertyGroup> |
| 30 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release45|AnyCPU' "> |
| 31 |
<BuildConfig>Release</BuildConfig> |
| 32 |
<BuildTarget>45</BuildTarget> |
| 33 |
</PropertyGroup> |
| 34 |
|
| 35 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug40|AnyCPU' "> |
| 36 |
<BuildConfig>Debug</BuildConfig> |
| 37 |
<BuildTarget>40</BuildTarget> |
| 38 |
</PropertyGroup> |
| 39 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release40|AnyCPU' "> |
| 40 |
<BuildConfig>Release</BuildConfig> |
| 41 |
<BuildTarget>40</BuildTarget> |
| 42 |
</PropertyGroup> |
| 43 |
|
| 44 |
<!-- |
| 45 |
*********************** |
| 46 |
* Legacy Platforms * |
| 47 |
*********************** |
| 48 |
--> |
| 49 |
|
| 50 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug35|AnyCPU' "> |
| 51 |
<BuildConfig>Debug</BuildConfig> |
| 52 |
<BuildTarget>35</BuildTarget> |
| 53 |
</PropertyGroup> |
| 54 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release35|AnyCPU' "> |
| 55 |
<BuildConfig>Release</BuildConfig> |
| 56 |
<BuildTarget>35</BuildTarget> |
| 57 |
</PropertyGroup> |
| 58 |
|
| 59 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugSL5|AnyCPU' "> |
| 60 |
<BuildConfig>Debug</BuildConfig> |
| 61 |
<BuildTarget>SL5</BuildTarget> |
| 62 |
</PropertyGroup> |
| 63 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseSL5|AnyCPU' "> |
| 64 |
<BuildConfig>Release</BuildConfig> |
| 65 |
<BuildTarget>SL5</BuildTarget> |
| 66 |
</PropertyGroup> |
| 67 |
|
| 68 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugWP7|AnyCPU' "> |
| 69 |
<BuildConfig>Debug</BuildConfig> |
| 70 |
<BuildTarget>WP7</BuildTarget> |
| 71 |
</PropertyGroup> |
| 72 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseWP7|AnyCPU' "> |
| 73 |
<BuildConfig>Release</BuildConfig> |
| 74 |
<BuildTarget>WP7</BuildTarget> |
| 75 |
</PropertyGroup> |
| 76 |
|
| 77 |
|
| 78 |
<!-- Build properties for each platform, independent of debug/release build --> |
| 79 |
|
| 80 |
<PropertyGroup Condition=" '$(BuildTarget)' == 'PL' "> |
| 81 |
<DefineConstants>$(DefineConstants);HAS_AWAIT</DefineConstants> |
| 82 |
<TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier> |
| 83 |
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
| 84 |
<TargetFrameworkProfile>Profile78</TargetFrameworkProfile> |
| 85 |
<NoStdLib>true</NoStdLib> |
| 86 |
<BuildFlavor>DESKTOPCLR45</BuildFlavor> |
| 87 |
</PropertyGroup> |
| 88 |
|
| 89 |
<PropertyGroup Condition=" '$(BuildTarget)' == '45' "> |
| 90 |
<DefineConstants>$(DefineConstants);HAS_AWAIT;HAS_APTCA</DefineConstants> |
| 91 |
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
| 92 |
<NoStdLib>true</NoStdLib> |
| 93 |
<BuildPlatform>DESKTOPCLR</BuildPlatform> |
| 94 |
<BuildFlavor>DESKTOPCLR45</BuildFlavor> |
| 95 |
</PropertyGroup> |
| 96 |
|
| 97 |
<PropertyGroup Condition=" '$(Configuration)' == 'TestPL' "> |
| 98 |
<DefineConstants>$(DefineConstants);HAS_AWAIT;HAS_APTCA;PORTABLE</DefineConstants> |
| 99 |
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
| 100 |
<NoStdLib>true</NoStdLib> |
| 101 |
<BuildPlatform>DESKTOPCLR</BuildPlatform> |
| 102 |
<BuildFlavor>DESKTOPCLR45</BuildFlavor> |
| 103 |
</PropertyGroup> |
| 104 |
|
| 105 |
|
| 106 |
<PropertyGroup Condition=" '$(BuildTarget)' == '40' "> |
| 107 |
<DefineConstants>$(DefineConstants);HAS_APTCA</DefineConstants> |
| 108 |
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
| 109 |
<BuildPlatform>DESKTOPCLR</BuildPlatform> |
| 110 |
<BuildFlavor>DESKTOPCLR40</BuildFlavor> |
| 111 |
</PropertyGroup> |
| 112 |
|
| 113 |
<PropertyGroup Condition=" '$(BuildTarget)' == '35' "> |
| 114 |
<DefineConstants>$(DefineConstants);NO_VARIANCE;NO_TPL;NO_LARGEARITY;NO_RXINTERFACES;NO_ZIP;HAS_APTCA</DefineConstants> |
| 115 |
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> |
| 116 |
<BuildPlatform>DESKTOPCLR</BuildPlatform> |
| 117 |
<BuildFlavor>DESKTOPCLR20</BuildFlavor> |
| 118 |
</PropertyGroup> |
| 119 |
|
| 120 |
<PropertyGroup Condition=" '$(BuildTarget)' == 'SL5' "> |
| 121 |
<DefineConstants>$(DefineConstants);NO_SERIALIZABLE;NO_TPL;NO_REMOTING;NO_SEMAPHORE;NO_RXINTERFACES</DefineConstants> |
| 122 |
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier> |
| 123 |
<TargetFrameworkVersion>v5.0</TargetFrameworkVersion> |
| 124 |
<SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion> |
| 125 |
<SilverlightApplication>false</SilverlightApplication> |
| 126 |
<BuildPlatform>SILVERLIGHT</BuildPlatform> |
| 127 |
<BuildFlavor>SILVERLIGHT5</BuildFlavor> |
| 128 |
</PropertyGroup> |
| 129 |
|
| 130 |
<PropertyGroup Condition=" '$(BuildTarget)' == 'WP7' "> |
| 131 |
<DefineConstants>$(DefineConstants);WINDOWSPHONE7;NO_TLS;NO_VARIANCE;NO_SERIALIZABLE;NO_TPL;NO_HASHSET;NO_REMOTING;NO_SEMAPHORE;NO_LARGEARITY;NO_ZIP</DefineConstants> |
| 132 |
<TargetFrameworkProfile>WindowsPhone71</TargetFrameworkProfile> |
| 133 |
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier> |
| 134 |
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
| 135 |
<SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion> |
| 136 |
<SilverlightApplication>false</SilverlightApplication> |
| 137 |
<BuildPlatform>SILVERLIGHT</BuildPlatform> |
| 138 |
<BuildFlavor>SILVERLIGHTM7</BuildFlavor> |
| 139 |
</PropertyGroup> |
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
<!-- |
| 145 |
******************** |
| 146 |
* GENERAL SETTINGS * |
| 147 |
******************** |
| 148 |
--> |
| 149 |
|
| 150 |
<!-- All configurations --> |
| 151 |
<PropertyGroup> |
| 152 |
<DefineConstants>$(DefineConstants);$(BuildPlatform);$(BuildFlavor);TRACE</DefineConstants> |
| 153 |
<OutputPath>..\bin\$(BuildConfig)$(BuildTarget)</OutputPath> |
| 154 |
<ErrorReport>prompt</ErrorReport> |
| 155 |
<WarningLevel>4</WarningLevel> |
| 156 |
<NoWarn>1591</NoWarn> |
| 157 |
<Prefer32Bit>false</Prefer32Bit> |
| 158 |
</PropertyGroup> |
| 159 |
|
| 160 |
<!-- Debug configurations --> |
| 161 |
<PropertyGroup Condition=" '$(BuildConfig)' == 'Debug' "> |
| 162 |
<DebugSymbols>true</DebugSymbols> |
| 163 |
<DebugType>full</DebugType> |
| 164 |
<Optimize>false</Optimize> |
| 165 |
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants> |
| 166 |
</PropertyGroup> |
| 167 |
|
| 168 |
<!-- Release configurations --> |
| 169 |
<PropertyGroup Condition=" '$(BuildConfig)' == 'Release' "> |
| 170 |
<DebugType>pdbonly</DebugType> |
| 171 |
<Optimize>true</Optimize> |
| 172 |
</PropertyGroup> |
| 173 |
|
| 174 |
<PropertyGroup Condition=" '$(NoOpt)' == '1' "> |
| 175 |
<DefineConstants>$(DefineConstants);NO_PERF</DefineConstants> |
| 176 |
</PropertyGroup> |
| 177 |
|
| 178 |
<ItemGroup Condition=" '$(NoStdLib)' == 'true' "> |
| 179 |
<Reference Include="mscorlib" /> |
| 180 |
</ItemGroup> |
| 181 |
|
| 182 |
<ItemGroup Condition=" '$(BuildPlatform)' == 'NETCF' "> |
| 183 |
<Reference Include="System.Core" /> |
| 184 |
</ItemGroup> |
| 185 |
|
| 186 |
<PropertyGroup Condition=" '$(BuildLab)' == '1' "> |
| 187 |
<DefineConstants>$(DefineConstants);NO_CODECOVERAGE</DefineConstants> |
| 188 |
</PropertyGroup> |
| 189 |
|
| 190 |
<PropertyGroup Condition=" '$(ProductSignAssembly)' == 'true' AND '$(Sign)' == 'Sign' "> |
| 191 |
<DefineConstants>$(DefineConstants);SIGNED</DefineConstants> |
| 192 |
<AssemblyOriginatorKeyFile>..\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile> |
| 193 |
<SignKeyId>72</SignKeyId> |
| 194 |
<SignAssembly>true</SignAssembly> |
| 195 |
<DelaySign>true</DelaySign> |
| 196 |
</PropertyGroup> |
| 197 |
|
| 198 |
<PropertyGroup> |
| 199 |
<GetReferenceAssemblyPathsDependsOn>CP_SetBuildReferencePath</GetReferenceAssemblyPathsDependsOn> |
| 200 |
</PropertyGroup> |
| 201 |
<Target Name="CP_SetBuildReferencePath"> |
| 202 |
<PropertyGroup> |
| 203 |
<TargetFrameworkDirectory>$(ProjectDir)..\..\References\$(BuildFlavor)</TargetFrameworkDirectory> |
| 204 |
</PropertyGroup> |
| 205 |
</Target> |
| 206 |
|
| 207 |
</Project> |