Common.targets 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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. <ProductVersion>8.0.30703</ProductVersion>
  6. <SchemaVersion>2.0</SchemaVersion>
  7. <TargetFrameworkProfile />
  8. </PropertyGroup>
  9. <!-- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugPL|AnyCPU' ">
  10. <TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier>
  11. <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
  12. <TargetFrameworkProfile>Profile78</TargetFrameworkProfile>
  13. <DebugSymbols>true</DebugSymbols>
  14. <DebugType>full</DebugType>
  15. <Optimize>false</Optimize>
  16. <DefineConstants>$(DefineConstants);TRACE;DEBUG</DefineConstants>
  17. <OutputPath>bin\DebugPL\</OutputPath>
  18. <ErrorReport>prompt</ErrorReport>
  19. <WarningLevel>4</WarningLevel>
  20. </PropertyGroup>
  21. -->
  22. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug45|AnyCPU' ">
  23. <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
  24. <DebugSymbols>true</DebugSymbols>
  25. <DebugType>full</DebugType>
  26. <Optimize>false</Optimize>
  27. <DefineConstants>$(DefineConstants);TRACE;DEBUG;HAS_AWAIT</DefineConstants>
  28. <OutputPath>bin\Debug45\</OutputPath>
  29. <ErrorReport>prompt</ErrorReport>
  30. <WarningLevel>4</WarningLevel>
  31. <BuildPlatform>DESKTOPCLR</BuildPlatform>
  32. <BuildFlavor>DESKTOPCLR45</BuildFlavor>
  33. </PropertyGroup>
  34. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release45|AnyCPU' ">
  35. <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
  36. <DebugType>pdbonly</DebugType>
  37. <Optimize>true</Optimize>
  38. <DefineConstants>$(DefineConstants);TRACE;HAS_AWAIT</DefineConstants>
  39. <OutputPath>bin\Release45\</OutputPath>
  40. <ErrorReport>prompt</ErrorReport>
  41. <WarningLevel>4</WarningLevel>
  42. <BuildPlatform>DESKTOPCLR</BuildPlatform>
  43. <BuildFlavor>DESKTOPCLR45</BuildFlavor>
  44. </PropertyGroup>
  45. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug40|AnyCPU' ">
  46. <DebugSymbols>true</DebugSymbols>
  47. <DebugType>full</DebugType>
  48. <Optimize>false</Optimize>
  49. <OutputPath>bin\Debug40\</OutputPath>
  50. <DefineConstants>$(DefineConstants);TRACE;DEBUG</DefineConstants>
  51. <ErrorReport>prompt</ErrorReport>
  52. <WarningLevel>4</WarningLevel>
  53. <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
  54. <BuildPlatform>DESKTOPCLR</BuildPlatform>
  55. <BuildFlavor>DESKTOPCLR40</BuildFlavor>
  56. </PropertyGroup>
  57. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release40|AnyCPU' ">
  58. <DebugType>pdbonly</DebugType>
  59. <Optimize>true</Optimize>
  60. <OutputPath>bin\Release40\</OutputPath>
  61. <DefineConstants>$(DefineConstants);TRACE</DefineConstants>
  62. <ErrorReport>prompt</ErrorReport>
  63. <WarningLevel>4</WarningLevel>
  64. <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
  65. <BuildPlatform>DESKTOPCLR</BuildPlatform>
  66. <BuildFlavor>DESKTOPCLR40</BuildFlavor>
  67. </PropertyGroup>
  68. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug35|AnyCPU' ">
  69. <DebugSymbols>true</DebugSymbols>
  70. <DebugType>full</DebugType>
  71. <Optimize>false</Optimize>
  72. <OutputPath>bin\Debug35\</OutputPath>
  73. <DefineConstants>$(DefineConstants);TRACE;DEBUG;NO_VARIANCE;NO_TPL;NO_LARGEARITY;NO_RXINTERFACES;NO_ZIP</DefineConstants>
  74. <ErrorReport>prompt</ErrorReport>
  75. <WarningLevel>4</WarningLevel>
  76. <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  77. <BuildPlatform>DESKTOPCLR</BuildPlatform>
  78. <BuildFlavor>DESKTOPCLR20</BuildFlavor>
  79. </PropertyGroup>
  80. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release35|AnyCPU' ">
  81. <DebugType>pdbonly</DebugType>
  82. <Optimize>true</Optimize>
  83. <OutputPath>bin\Release35\</OutputPath>
  84. <DefineConstants>$(DefineConstants);TRACE;NO_VARIANCE;NO_TPL;NO_LARGEARITY;NO_RXINTERFACES;NO_ZIP</DefineConstants>
  85. <ErrorReport>prompt</ErrorReport>
  86. <WarningLevel>4</WarningLevel>
  87. <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  88. <BuildPlatform>DESKTOPCLR</BuildPlatform>
  89. <BuildFlavor>DESKTOPCLR20</BuildFlavor>
  90. </PropertyGroup>
  91. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugSL4|AnyCPU' ">
  92. <DebugSymbols>true</DebugSymbols>
  93. <DebugType>full</DebugType>
  94. <Optimize>false</Optimize>
  95. <OutputPath>bin\DebugSL4\</OutputPath>
  96. <DefineConstants>$(DefineConstants);TRACE;DEBUG;NO_SERIALIZABLE;NO_TPL;NO_REMOTING;NO_SEMAPHORE;NO_RXINTERFACES</DefineConstants>
  97. <ErrorReport>prompt</ErrorReport>
  98. <WarningLevel>4</WarningLevel>
  99. <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
  100. <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
  101. <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
  102. <SilverlightApplication>false</SilverlightApplication>
  103. <BuildPlatform>SILVERLIGHT</BuildPlatform>
  104. <BuildFlavor>SILVERLIGHT4</BuildFlavor>
  105. </PropertyGroup>
  106. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseSL4|AnyCPU' ">
  107. <DebugType>pdbonly</DebugType>
  108. <Optimize>true</Optimize>
  109. <OutputPath>bin\ReleaseSL4\</OutputPath>
  110. <DefineConstants>$(DefineConstants);TRACE;NO_SERIALIZABLE;NO_TPL;NO_REMOTING;NO_SEMAPHORE;NO_RXINTERFACES</DefineConstants>
  111. <ErrorReport>prompt</ErrorReport>
  112. <WarningLevel>4</WarningLevel>
  113. <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
  114. <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
  115. <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
  116. <SilverlightApplication>false</SilverlightApplication>
  117. <BuildPlatform>SILVERLIGHT</BuildPlatform>
  118. <BuildFlavor>SILVERLIGHT4</BuildFlavor>
  119. </PropertyGroup>
  120. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugSL5|AnyCPU' ">
  121. <DebugSymbols>true</DebugSymbols>
  122. <DebugType>full</DebugType>
  123. <Optimize>false</Optimize>
  124. <OutputPath>bin\DebugSL5\</OutputPath>
  125. <DefineConstants>$(DefineConstants);TRACE;DEBUG;NO_SERIALIZABLE;NO_TPL;NO_REMOTING;NO_SEMAPHORE;NO_RXINTERFACES</DefineConstants>
  126. <ErrorReport>prompt</ErrorReport>
  127. <WarningLevel>4</WarningLevel>
  128. <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
  129. <TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
  130. <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
  131. <SilverlightApplication>false</SilverlightApplication>
  132. <BuildPlatform>SILVERLIGHT</BuildPlatform>
  133. <BuildFlavor>SILVERLIGHT5</BuildFlavor>
  134. </PropertyGroup>
  135. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseSL5|AnyCPU' ">
  136. <DebugType>pdbonly</DebugType>
  137. <Optimize>true</Optimize>
  138. <OutputPath>bin\ReleaseSL5\</OutputPath>
  139. <DefineConstants>$(DefineConstants);TRACE;NO_SERIALIZABLE;NO_TPL;NO_REMOTING;NO_SEMAPHORE;NO_RXINTERFACES</DefineConstants>
  140. <ErrorReport>prompt</ErrorReport>
  141. <WarningLevel>4</WarningLevel>
  142. <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
  143. <TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
  144. <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
  145. <SilverlightApplication>false</SilverlightApplication>
  146. <BuildPlatform>SILVERLIGHT</BuildPlatform>
  147. <BuildFlavor>SILVERLIGHT5</BuildFlavor>
  148. </PropertyGroup>
  149. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugWP7|AnyCPU' ">
  150. <DebugSymbols>true</DebugSymbols>
  151. <DebugType>full</DebugType>
  152. <Optimize>false</Optimize>
  153. <OutputPath>bin\DebugWP7\</OutputPath>
  154. <DefineConstants>$(DefineConstants);TRACE;DEBUG;WINDOWSPHONE7;NO_TLS;NO_VARIANCE;NO_SERIALIZABLE;NO_TPL;NO_HASHSET;NO_REMOTING;NO_SEMAPHORE;NO_LARGEARITY;NO_ZIP</DefineConstants>
  155. <ErrorReport>prompt</ErrorReport>
  156. <WarningLevel>4</WarningLevel>
  157. <TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
  158. <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
  159. <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
  160. <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
  161. <SilverlightApplication>false</SilverlightApplication>
  162. <BuildPlatform>SILVERLIGHT</BuildPlatform>
  163. <BuildFlavor>SILVERLIGHTM7</BuildFlavor>
  164. </PropertyGroup>
  165. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseWP7|AnyCPU' ">
  166. <DebugType>pdbonly</DebugType>
  167. <Optimize>true</Optimize>
  168. <OutputPath>bin\ReleaseWP7\</OutputPath>
  169. <DefineConstants>$(DefineConstants);TRACE;WINDOWSPHONE7;NO_TLS;NO_VARIANCE;NO_SERIALIZABLE;NO_TPL;NO_HASHSET;NO_REMOTING;NO_SEMAPHORE;NO_LARGEARITY;NO_ZIP</DefineConstants>
  170. <ErrorReport>prompt</ErrorReport>
  171. <WarningLevel>4</WarningLevel>
  172. <TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
  173. <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
  174. <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
  175. <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
  176. <SilverlightApplication>false</SilverlightApplication>
  177. <BuildPlatform>SILVERLIGHT</BuildPlatform>
  178. <BuildFlavor>SILVERLIGHTM7</BuildFlavor>
  179. </PropertyGroup>
  180. <PropertyGroup>
  181. <DefineConstants>$(DefineConstants);$(BuildPlatform);$(BuildFlavor)</DefineConstants>
  182. </PropertyGroup>
  183. <PropertyGroup Condition=" '$(IxRelease)' == 'STABLE' ">
  184. <DefineConstants>$(DefineConstants);STABLE</DefineConstants>
  185. </PropertyGroup>
  186. <PropertyGroup Condition=" '$(ProductSignAssembly)' == 'true' AND '$(SignedBuild)' == '1' ">
  187. <DefineConstants>$(DefineConstants);SIGNED</DefineConstants>
  188. <SignAssembly>true</SignAssembly>
  189. </PropertyGroup>
  190. <PropertyGroup Condition=" '$(BuildLab)' == '1' ">
  191. <DefineConstants>$(DefineConstants);NO_CODECOVERAGE</DefineConstants>
  192. </PropertyGroup>
  193. <PropertyGroup>
  194. <GetReferenceAssemblyPathsDependsOn>CP_SetBuildReferencePath</GetReferenceAssemblyPathsDependsOn>
  195. </PropertyGroup>
  196. <Target Name="CP_SetBuildReferencePath">
  197. <PropertyGroup>
  198. <TargetFrameworkDirectory>$(ProjectDir)..\..\References\$(BuildFlavor)</TargetFrameworkDirectory>
  199. </PropertyGroup>
  200. </Target>
  201. </Project>