System.Reactive.Windows.Threading.csproj 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>net472;uap10.0.18362</TargetFrameworks>
  4. </PropertyGroup>
  5. <PropertyGroup>
  6. <Description>Legacy facade for Reactive Extensions (Rx) for .NET</Description>
  7. <PackageReadmeFile>readme.md</PackageReadmeFile>
  8. </PropertyGroup>
  9. <ItemGroup>
  10. <None Include="..\NuGet.Facades.Readme.md" Pack="true" PackagePath="\readme.md" />
  11. </ItemGroup>
  12. <ItemGroup Condition="'$(TargetFramework)' == 'uap10.0.18362'">
  13. <!--
  14. The .NET SDK doesn't expect TargetFrameworks to include uap10.0.18362, so it doesn't understand
  15. that this project is capable of using projects that target .NET Standard 2.0, with the result
  16. that it reports an error when trying to resolve the reference to System.Reactive.Net. So
  17. when building for UWP, we explicitly set the target framework here.
  18. -->
  19. <ProjectReference Include="..\..\src\System.Reactive.Net\System.Reactive.Net.csproj">
  20. <SetTargetFramework>TargetFramework=netstandard2.0</SetTargetFramework>
  21. </ProjectReference>
  22. <ProjectReference Include="..\..\src\System.Reactive.For.WindowsRuntime\System.Reactive.For.WindowsRuntime.csproj" />
  23. </ItemGroup>
  24. <ItemGroup Condition="'$(TargetFramework)' != 'uap10.0.18362'">
  25. <ProjectReference Include="..\..\src\System.Reactive.Net\System.Reactive.Net.csproj" />
  26. <ProjectReference Include="..\..\src\System.Reactive.For.Wpf\System.Reactive.For.Wpf.csproj" />
  27. </ItemGroup>
  28. </Project>