1
0

Tests.System.Reactive.Uwp.DeviceRunner.csproj 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
  7. <ProjectGuid>{10CC7191-D936-46CA-BA87-0646733571EA}</ProjectGuid>
  8. <OutputType>AppContainerExe</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>Tests.Reactive.Uwp.DeviceRunner</RootNamespace>
  11. <AssemblyName>Tests.System.Reactive.Uwp.DeviceRunner</AssemblyName>
  12. <DefaultLanguage>en-US</DefaultLanguage>
  13. <TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
  14. <TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
  15. <TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
  16. <MinimumVisualStudioVersion>17</MinimumVisualStudioVersion>
  17. <FileAlignment>512</FileAlignment>
  18. <ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
  19. <UnitTestPlatformVersion Condition="'$(UnitTestPlatformVersion)' == ''">$(VisualStudioVersion)</UnitTestPlatformVersion>
  20. <AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
  21. <AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
  22. </PropertyGroup>
  23. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
  24. <DebugSymbols>true</DebugSymbols>
  25. <OutputPath>bin\x86\Debug\</OutputPath>
  26. <DefineConstants>TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;NO_EVENTARGS_CONSTRAINT;HAS_EDI;HAS_WINRT;HAS_PROGRESS;PREFER_ASYNC;HAS_AWAIT;HAS_APTCA;HAS_TPL46;NO_REMOTING;WINDOWS;USE_TIMER_SELF_ROOT</DefineConstants>
  27. <NoWarn>$(NoWarn);CA1001;CA2213;CA1510;CA1513;CS0618;IDE0056;IDE0057;IDE0290;IDE0305</NoWarn>
  28. <DebugType>full</DebugType>
  29. <PlatformTarget>x86</PlatformTarget>
  30. <UseVSHostingProcess>false</UseVSHostingProcess>
  31. <ErrorReport>prompt</ErrorReport>
  32. <Prefer32Bit>true</Prefer32Bit>
  33. </PropertyGroup>
  34. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
  35. <OutputPath>bin\x86\Release\</OutputPath>
  36. <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;NO_EVENTARGS_CONSTRAINT;HAS_EDI;HAS_WINRT;HAS_PROGRESS;PREFER_ASYNC;HAS_AWAIT;HAS_APTCA;HAS_TPL46;NO_REMOTING;WINDOWS;USE_TIMER_SELF_ROOT</DefineConstants>
  37. <Optimize>true</Optimize>
  38. <NoWarn>$(NoWarn);CA1001;CA2213;CA1510;CA1513;CS0618;IDE0056;IDE0057;IDE0290;IDE0305</NoWarn>
  39. <DebugType>pdbonly</DebugType>
  40. <PlatformTarget>x86</PlatformTarget>
  41. <UseVSHostingProcess>false</UseVSHostingProcess>
  42. <ErrorReport>prompt</ErrorReport>
  43. <Prefer32Bit>true</Prefer32Bit>
  44. <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
  45. </PropertyGroup>
  46. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
  47. <DebugSymbols>true</DebugSymbols>
  48. <OutputPath>bin\ARM\Debug\</OutputPath>
  49. <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
  50. <NoWarn>;2008</NoWarn>
  51. <DebugType>full</DebugType>
  52. <PlatformTarget>ARM</PlatformTarget>
  53. <UseVSHostingProcess>false</UseVSHostingProcess>
  54. <ErrorReport>prompt</ErrorReport>
  55. <Prefer32Bit>true</Prefer32Bit>
  56. </PropertyGroup>
  57. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
  58. <OutputPath>bin\ARM\Release\</OutputPath>
  59. <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
  60. <Optimize>true</Optimize>
  61. <NoWarn>;2008</NoWarn>
  62. <DebugType>pdbonly</DebugType>
  63. <PlatformTarget>ARM</PlatformTarget>
  64. <UseVSHostingProcess>false</UseVSHostingProcess>
  65. <ErrorReport>prompt</ErrorReport>
  66. <Prefer32Bit>true</Prefer32Bit>
  67. <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
  68. </PropertyGroup>
  69. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
  70. <DebugSymbols>true</DebugSymbols>
  71. <OutputPath>bin\x64\Debug\</OutputPath>
  72. <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
  73. <NoWarn>;2008</NoWarn>
  74. <DebugType>full</DebugType>
  75. <PlatformTarget>x64</PlatformTarget>
  76. <UseVSHostingProcess>false</UseVSHostingProcess>
  77. <ErrorReport>prompt</ErrorReport>
  78. <Prefer32Bit>true</Prefer32Bit>
  79. </PropertyGroup>
  80. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
  81. <OutputPath>bin\x64\Release\</OutputPath>
  82. <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
  83. <Optimize>true</Optimize>
  84. <NoWarn>;2008</NoWarn>
  85. <DebugType>pdbonly</DebugType>
  86. <PlatformTarget>x64</PlatformTarget>
  87. <UseVSHostingProcess>false</UseVSHostingProcess>
  88. <ErrorReport>prompt</ErrorReport>
  89. <Prefer32Bit>true</Prefer32Bit>
  90. <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
  91. </PropertyGroup>
  92. <PropertyGroup>
  93. <NoWarn>$(NoWarn);IDE0003;IDE0016;IDE0017;IDE0018;IDE0019;IDE0020;IDE0031;IDE0032;IDE0034;IDE0037;IDE0038;IDE0039;IDE0040;IDE0044;IDE0051;IDE0052;IDE0056;IDE0057;IDE0059;IDE0060;IDE0062;IDE0063;IDE0071;IDE0074;IDE0075;IDE0076;IDE0077;IDE0079;IDE0083;IDE0090;IDE0180;IDE1006;IDE1056</NoWarn>
  94. </PropertyGroup>
  95. <PropertyGroup>
  96. <RestoreProjectStyle>PackageReference</RestoreProjectStyle>
  97. </PropertyGroup>
  98. <ItemGroup>
  99. <SDKReference Include="TestPlatform.Universal, Version=$(UnitTestPlatformVersion)" />
  100. </ItemGroup>
  101. <ItemGroup>
  102. <!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
  103. <None Include="..\..\ReactiveX.snk">
  104. <Link>ReactiveX.snk</Link>
  105. </None>
  106. <None Include="..\Tests.System.Reactive\xunit.runner.json">
  107. <Link>xunit.runner.json</Link>
  108. </None>
  109. </ItemGroup>
  110. <ItemGroup>
  111. <Compile Include="..\Tests.System.Reactive\**\*.cs">
  112. <Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
  113. </Compile>
  114. <Compile Remove="..\Tests.System.Reactive\Tests\LicenseHeaderTest.cs" />
  115. <Compile Remove="..\Tests.System.Reactive\bin\**\*" />
  116. <Compile Remove="..\Tests.System.Reactive\obj\**\*" />
  117. <Compile Include="App.xaml.cs">
  118. <DependentUpon>App.xaml</DependentUpon>
  119. </Compile>
  120. </ItemGroup>
  121. <ItemGroup>
  122. <AppxManifest Include="Package.appxmanifest">
  123. <SubType>Designer</SubType>
  124. </AppxManifest>
  125. </ItemGroup>
  126. <ItemGroup>
  127. <Content Include="Properties\Default.rd.xml" />
  128. <Content Include="Assets\LockScreenLogo.scale-200.png" />
  129. <Content Include="Assets\SplashScreen.scale-200.png" />
  130. <Content Include="Assets\Square150x150Logo.scale-200.png" />
  131. <Content Include="Assets\Square44x44Logo.scale-200.png" />
  132. <Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
  133. <Content Include="Assets\StoreLogo.png" />
  134. <Content Include="Assets\Wide310x150Logo.scale-200.png" />
  135. </ItemGroup>
  136. <ItemGroup>
  137. <!--
  138. Downgrading to 6.2.12 because that's the version the facade packages currently end up with.
  139. (It's not entirely clear where they get that from, but I think it's to do with the
  140. Windows API version they select, and I don't want to upgrade those to a newer version.)
  141. -->
  142. <PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.2.14" />
  143. <PackageReference Include="MSTest.TestAdapter" Version="3.6.1" />
  144. <PackageReference Include="MSTest.TestFramework" Version="3.6.1" />
  145. <PackageReference Include="Newtonsoft.Json">
  146. <Version>13.0.3</Version>
  147. </PackageReference>
  148. <PackageReference Include="xunit.assert" Version="2.8.0" />
  149. </ItemGroup>
  150. <ItemGroup>
  151. <!--
  152. Nerdbank.GitVersioning 3.6.128 injects a reference to a .proj file that doesn't work inside the
  153. UWP test runner project. We don't ship that as a NuGet package, so it doesn't matter what its
  154. version number is.
  155. However, this doesn't seem to work. And excluding this project in the Directory.Build.props file
  156. where we add this reference in the first place also doesn't work. I think this is coming in
  157. transitively. So we need to work out exactly how .nuget\packages\nerdbank.gitversioning\3.6.143\build\PrivateP2PCaching.proj
  158. is getting included, and work out how to stop that.
  159. -->
  160. <PackageReference Remove="Nerdbank.GitVersioning" />
  161. </ItemGroup>
  162. <ItemGroup>
  163. <ApplicationDefinition Include="App.xaml">
  164. <Generator>MSBuild:Compile</Generator>
  165. <SubType>Designer</SubType>
  166. </ApplicationDefinition>
  167. </ItemGroup>
  168. <ItemGroup>
  169. <ProjectReference Include="..\..\src\System.Reactive.Observable.Aliases\System.Reactive.Observable.Aliases.csproj">
  170. <Project>{cb5e4ffa-f510-43f1-b378-b3d7ba7c8396}</Project>
  171. <Name>System.Reactive.Observable.Aliases</Name>
  172. </ProjectReference>
  173. <ProjectReference Include="..\..\src\System.Reactive.Net\System.Reactive.Net.csproj">
  174. <Project>{01706a0f-8a63-4fd6-af45-0bc0bed3c0d9}</Project>
  175. <Name>System.Reactive.Net</Name>
  176. </ProjectReference>
  177. <ProjectReference Include="..\..\src\Microsoft.Reactive.Testing\Microsoft.Reactive.Testing.csproj">
  178. <Project>{73078FB5-6038-4674-B4C4-32FD81B88055}</Project>
  179. <Name>Microsoft.Reactive.Testing</Name>
  180. </ProjectReference>
  181. </ItemGroup>
  182. <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
  183. <VisualStudioVersion>15.0</VisualStudioVersion>
  184. </PropertyGroup>
  185. <PropertyGroup>
  186. <SignAssembly>true</SignAssembly>
  187. <DefineConstants Condition="$(SignAssembly) == 'true'">$(DefineConstants);SIGNED</DefineConstants>
  188. <UpdateAssemblyInfo>false</UpdateAssemblyInfo>
  189. </PropertyGroup>
  190. <PropertyGroup>
  191. <AssemblyOriginatorKeyFile>..\..\ReactiveX.snk</AssemblyOriginatorKeyFile>
  192. </PropertyGroup>
  193. <PropertyGroup>
  194. <!--
  195. The Coverlet targets will be imported as part of the Import after this PropertyGroup, and
  196. they seem to presume that the NETCoreSdkVersion property will have been set. It does not
  197. appear to get set for old-style projects such as we are required to use for UWP projects
  198. so we need to set it ourselves.
  199. Note that it doesn't seem to be critical that this exactly matches the SDK version in use.
  200. -->
  201. <NETCoreSdkVersion>7.0.103</NETCoreSdkVersion>
  202. </PropertyGroup>
  203. <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
  204. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  205. Other similar extension points exist, see Microsoft.Common.targets.
  206. <Target Name="BeforeBuild">
  207. </Target>
  208. <Target Name="AfterBuild">
  209. </Target>
  210. -->
  211. </Project>