| 12345678910111213141516171819202122232425262728293031323334 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFrameworks>net472;uap10.0.18362</TargetFrameworks>
- </PropertyGroup>
- <PropertyGroup>
- <Description>Legacy facade for Reactive Extensions (Rx) for .NET</Description>
- <PackageReadmeFile>readme.md</PackageReadmeFile>
- </PropertyGroup>
- <ItemGroup>
- <None Include="..\NuGet.Facades.Readme.md" Pack="true" PackagePath="\readme.md" />
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'uap10.0.18362'">
- <!--
- The .NET SDK doesn't expect TargetFrameworks to include uap10.0.18362, so it doesn't understand
- that this project is capable of using projects that target .NET Standard 2.0, with the result
- that it reports an error when trying to resolve the reference to System.Reactive.Net. So
- when building for UWP, we explicitly set the target framework here.
- -->
- <ProjectReference Include="..\..\src\System.Reactive.Net\System.Reactive.Net.csproj">
- <SetTargetFramework>TargetFramework=netstandard2.0</SetTargetFramework>
- </ProjectReference>
- <ProjectReference Include="..\..\src\System.Reactive.For.WindowsRuntime\System.Reactive.For.WindowsRuntime.csproj" />
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' != 'uap10.0.18362'">
- <ProjectReference Include="..\..\src\System.Reactive.Net\System.Reactive.Net.csproj" />
- <ProjectReference Include="..\..\src\System.Reactive.For.Wpf\System.Reactive.For.Wpf.csproj" />
- </ItemGroup>
-
- </Project>
|