Common.targets 8.5 KB

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