System.Reactive.WindowsRuntime.csproj 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <!--
  4. Note: this targets just one framework, we need to use the TargetFrameworks property because
  5. the way we enable uap TFMs despite the .NET SDK not fully supporting only works when the build
  6. is in multi-target mode. See ../../../Documentation/adr/0003-uap-targets.md for details.
  7. -->
  8. <TargetFrameworks>uap10.0.18362</TargetFrameworks>
  9. </PropertyGroup>
  10. <PropertyGroup>
  11. <Description>Legacy facade for Reactive Extensions (Rx) for .NET</Description>
  12. <PackageReadmeFile>readme.md</PackageReadmeFile>
  13. </PropertyGroup>
  14. <ItemGroup>
  15. <None Include="..\NuGet.Facades.Readme.md" Pack="true" PackagePath="\readme.md" />
  16. </ItemGroup>
  17. <ItemGroup>
  18. <!--
  19. The .NET SDK doesn't expect TargetFrameworks to include uap10.0.18362, so it doesn't understand
  20. that this project is capable of using projects that target .NET Standard 2.0, with the result
  21. that it reports an error when trying to resolve the reference to System.Reactive.Net. So
  22. when building for UWP, we explicitly set the target framework here.
  23. -->
  24. <ProjectReference Include="..\..\src\System.Reactive.Net\System.Reactive.Net.csproj">
  25. <SetTargetFramework>TargetFramework=netstandard2.0</SetTargetFramework>
  26. </ProjectReference>
  27. <ProjectReference Include="..\System.Reactive\System.Reactive.csproj" />
  28. </ItemGroup>
  29. </Project>