33    <TargetFrameworks >netcoreapp3.0;netstandard2.0;net46;uap10.0;uap10.0.16299</TargetFrameworks >
44    <CopyLocalLockFileAssemblies >false</CopyLocalLockFileAssemblies >       
55    <PackageTags >Rx;Reactive;Extensions;Observable;LINQ;Events</PackageTags >
6-     <Description >Reactive Extensions (Rx) for .NET</Description >
6+     <Description >Reactive Extensions (Rx) for .NET</Description >     
77  </PropertyGroup >
88
99  <PropertyGroup  Condition =" '$(TargetFramework)' == 'netcoreapp3.0'" 
1010    <UseWPF >true</UseWPF >
1111    <UseWindowsForms >true</UseWindowsForms >
12+     <IncludeBuildOutput >false</IncludeBuildOutput >
1213  </PropertyGroup >
1314
1415
2930
3031  <!--  UWP --> 
3132  <ItemGroup  Condition ="  '$(TargetFramework)' == 'uap10.0' " 
32-     <PackageReference  Include =" System.ValueTuple" Version =" 4.4 .0" 
33+     <PackageReference  Include =" System.ValueTuple" Version =" 4.5 .0" 
3334    <PackageReference  Include =" System.ComponentModel" Version =" 4.0.1" 
3435    <PackageReference  Include =" System.Dynamic.Runtime" Version =" 4.0.11" 
3536    <PackageReference  Include =" System.Linq.Queryable" Version =" 4.0.1" 
4647
4748  <!--  Desktop --> 
4849  <ItemGroup  Condition ="  '$(TargetFramework)' == 'net46'" 
49-     <PackageReference  Include =" System.ValueTuple" Version =" 4.4 .0" 
50+     <PackageReference  Include =" System.ValueTuple" Version =" 4.5 .0" 
5051    <Reference  Include =" System.Windows" 
5152    <Reference  Include =" System.Windows.Forms" 
5253    <Reference  Include =" WindowsBase" 
6364    <None  Update =" Linq\Observable\Zip.Generated.tt" Generator =" TextTemplatingFileGenerator" LastGenOutput =" Zip.Generated.cs" 
6465    <Compile  Update =" Linq\Observable\Zip.Generated.cs" DesignTime =" True" AutoGen =" True" DependentUpon =" Zip.Generated.tt" 
6566  </ItemGroup >
67+ 
68+   <PropertyGroup >
69+     <TargetsForTfmSpecificBuildOutput >$(TargetsForTfmSpecificBuildOutput);RemoveNetCoreApp3FromNuGet</TargetsForTfmSpecificBuildOutput >  
70+     <TargetsForTfmSpecificContentInPackage >$(TargetsForTfmSpecificContentInPackage);AddNetCore3ToNuGet</TargetsForTfmSpecificContentInPackage >  
71+   </PropertyGroup >
72+ 
73+   <!--  We remove the output from the nuget so it doesn't wind up in the \lib folder --> 
74+   <Target  Name =" RemoveNetCoreApp3FromNuGet" DependsOnTargets =" BuiltProjectOutputGroup;DocumentationProjectOutputGroup" Condition =" '$(TargetFramework)' == 'netcoreapp3.0'" 
75+     <ItemGroup >      
76+       <!--  Before clearing the output groups, add them to None for packing --> 
77+       <ItemsToAddToNuGet  Include =" @(BuiltProjectOutputGroupOutput);@(DocumentationProjectOutputGroupOutput)" PackagePath =" build\netcoreapp3.0" 
78+       
79+       <BuiltProjectOutputGroupOutput  Remove =" @(BuiltProjectOutputGroupOutput)" 
80+       <DocumentationProjectOutputGroupOutput  Remove =" @(DocumentationProjectOutputGroupOutput)" 
81+     </ItemGroup >
82+   </Target >
83+   
84+   <Target  Name =" AddNetCore3ToNuGet" Condition =" '$(TargetFramework)' == 'netcoreapp3.0'" 
85+     <ItemGroup >      
86+       <!--  Add the removed build output to the build\netcoreapp3.0 folder --> 
87+       <TfmSpecificPackageFileWithRecursiveDir  Include =" @(ItemsToAddToNuGet)" PackagePath =" build\netcoreapp3.0" 
88+     </ItemGroup >
89+   </Target >
90+   
91+   <ItemGroup >
92+     <None  Include =" build\_._" PackagePath =" lib\netcoreapp3.0" Pack =" true" 
93+     <None  Include =" build\System.Reactive.targets" PackagePath =" buildTransitive\netcoreapp3.0" Pack =" true" 
94+     <None  Include =" build\System.Reactive.targets" PackagePath =" build\netcoreapp3.0" Pack =" true" 
95+   </ItemGroup >
6696
6797</Project >
0 commit comments