|
@@ -1,18 +1,18 @@
|
|
|
<Project Sdk="MSBuild.Sdk.Extras">
|
|
<Project Sdk="MSBuild.Sdk.Extras">
|
|
|
<PropertyGroup>
|
|
<PropertyGroup>
|
|
|
- <TargetFrameworks>netcoreapp3.0;netstandard2.0;net46;uap10.0;uap10.0.16299</TargetFrameworks>
|
|
|
|
|
|
|
+ <TargetFrameworks>netcoreapp3.1;netstandard2.0;net46;uap10.0.16299;net5.0;net5.0-windows10.0.19041</TargetFrameworks>
|
|
|
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
|
|
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
|
|
|
<PackageTags>Rx;Reactive;Extensions;Observable;LINQ;Events</PackageTags>
|
|
<PackageTags>Rx;Reactive;Extensions;Observable;LINQ;Events</PackageTags>
|
|
|
<Description>Reactive Extensions (Rx) for .NET</Description>
|
|
<Description>Reactive Extensions (Rx) for .NET</Description>
|
|
|
</PropertyGroup>
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
- <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
|
|
|
|
|
|
+ <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
|
|
|
<UseWPF>true</UseWPF>
|
|
<UseWPF>true</UseWPF>
|
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
|
|
</PropertyGroup>
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
- <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
|
|
|
|
|
|
+ <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
|
|
|
<FrameworkReference Update="Microsoft.WindowsDesktop.App" PrivateAssets="all" />
|
|
<FrameworkReference Update="Microsoft.WindowsDesktop.App" PrivateAssets="all" />
|
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
|
|
|
|
|
@@ -39,12 +39,12 @@
|
|
|
<PackageReference Include="System.Dynamic.Runtime" Version="4.0.11" />
|
|
<PackageReference Include="System.Dynamic.Runtime" Version="4.0.11" />
|
|
|
<PackageReference Include="System.Linq.Queryable" Version="4.0.1" />
|
|
<PackageReference Include="System.Linq.Queryable" Version="4.0.1" />
|
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
|
- <ItemGroup Condition=" $(TargetFramework.StartsWith('uap10.0')) ">
|
|
|
|
|
|
|
+ <ItemGroup Condition=" $(TargetFramework.StartsWith('uap10.0')) or $(TargetFramework.StartsWith('net5.0-windows'))">
|
|
|
<Compile Include="Platforms\UWP\**\*.cs" />
|
|
<Compile Include="Platforms\UWP\**\*.cs" />
|
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<!-- Windows includes for Desktop and UWP -->
|
|
<!-- Windows includes for Desktop and UWP -->
|
|
|
- <ItemGroup Condition=" '$(TargetFramework)' == 'net46' or $(TargetFramework.StartsWith('uap10.0')) or '$(TargetFramework)' == 'netcoreapp3.0'">
|
|
|
|
|
|
|
+ <ItemGroup Condition=" '$(TargetFramework)' == 'net46' or $(TargetFramework.StartsWith('uap10.0')) or '$(TargetFramework)' == 'netcoreapp3.1' or $(TargetFramework.StartsWith('net5.0-windows'))">
|
|
|
<Compile Include="Platforms\Windows\**\*.cs" />
|
|
<Compile Include="Platforms\Windows\**\*.cs" />
|
|
|
<EmbeddedResource Include="Platforms\Windows\**\*.resx" />
|
|
<EmbeddedResource Include="Platforms\Windows\**\*.resx" />
|
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
@@ -57,7 +57,7 @@
|
|
|
<Reference Include="WindowsBase" />
|
|
<Reference Include="WindowsBase" />
|
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
- <ItemGroup Condition=" '$(TargetFramework)' == 'net46' or '$(TargetFramework)' == 'netcoreapp3.0'">
|
|
|
|
|
|
|
+ <ItemGroup Condition=" '$(TargetFramework)' == 'net46' or '$(TargetFramework)' == 'netcoreapp3.1'">
|
|
|
<Compile Include="Platforms\Desktop\**\*.cs" />
|
|
<Compile Include="Platforms\Desktop\**\*.cs" />
|
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
|
|
|
|
|
@@ -153,27 +153,29 @@
|
|
|
</PropertyGroup>
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<!-- We remove the output from the nuget so it doesn't wind up in the \lib folder -->
|
|
<!-- We remove the output from the nuget so it doesn't wind up in the \lib folder -->
|
|
|
- <Target Name="RemoveNetCoreApp3FromNuGet" DependsOnTargets="BuiltProjectOutputGroup;DocumentationProjectOutputGroup" Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
|
|
|
|
|
|
+ <Target Name="RemoveNetCoreApp3FromNuGet" DependsOnTargets="BuiltProjectOutputGroup;DocumentationProjectOutputGroup" Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
|
|
|
<ItemGroup>
|
|
<ItemGroup>
|
|
|
<!-- Before clearing the output groups, add them to None for packing -->
|
|
<!-- Before clearing the output groups, add them to None for packing -->
|
|
|
- <ItemsToAddToNuGet Include="@(BuiltProjectOutputGroupOutput);@(DocumentationProjectOutputGroupOutput)" PackagePath="build\netcoreapp3.0" />
|
|
|
|
|
|
|
+ <ItemsToAddToNuGet Include="@(BuiltProjectOutputGroupOutput);@(DocumentationProjectOutputGroupOutput)" PackagePath="build\netcoreapp3.1" />
|
|
|
|
|
|
|
|
<BuiltProjectOutputGroupOutput Remove="@(BuiltProjectOutputGroupOutput)" />
|
|
<BuiltProjectOutputGroupOutput Remove="@(BuiltProjectOutputGroupOutput)" />
|
|
|
<DocumentationProjectOutputGroupOutput Remove="@(DocumentationProjectOutputGroupOutput)" />
|
|
<DocumentationProjectOutputGroupOutput Remove="@(DocumentationProjectOutputGroupOutput)" />
|
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
|
</Target>
|
|
</Target>
|
|
|
|
|
|
|
|
- <Target Name="AddNetCore3ToNuGet" Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
|
|
|
|
|
|
+ <Target Name="AddNetCore3ToNuGet" Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
|
|
|
<ItemGroup>
|
|
<ItemGroup>
|
|
|
<!-- Add the removed build output to the build\netcoreapp3.0 folder -->
|
|
<!-- Add the removed build output to the build\netcoreapp3.0 folder -->
|
|
|
- <TfmSpecificPackageFileWithRecursiveDir Include="@(ItemsToAddToNuGet)" PackagePath="build\netcoreapp3.0" />
|
|
|
|
|
|
|
+ <TfmSpecificPackageFileWithRecursiveDir Include="@(ItemsToAddToNuGet)" PackagePath="build\netcoreapp3.1" />
|
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
|
</Target>
|
|
</Target>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
<ItemGroup>
|
|
|
- <None Include="build\_._" PackagePath="lib\netcoreapp3.0" Pack="true" />
|
|
|
|
|
- <None Include="build\System.Reactive.targets" PackagePath="buildTransitive\netcoreapp3.0" Pack="true" />
|
|
|
|
|
- <None Include="build\System.Reactive.targets" PackagePath="build\netcoreapp3.0" Pack="true" />
|
|
|
|
|
|
|
+ <None Include="build\_._" PackagePath="lib\netcoreapp3.1" Pack="true" />
|
|
|
|
|
+ <None Include="build\_._" PackagePath="buildTransitive\net5.0" Pack="true" />
|
|
|
|
|
+ <None Include="build\_._" PackagePath="buildTransitive\net5.0" Pack="true" />
|
|
|
|
|
+ <None Include="build\System.Reactive.targets" PackagePath="buildTransitive\netcoreapp3.1" Pack="true" />
|
|
|
|
|
+ <None Include="build\System.Reactive.targets" PackagePath="build\netcoreapp3.1" Pack="true" />
|
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
<ItemGroup>
|