-
Notifications
You must be signed in to change notification settings - Fork 753
/
System.Reactive.csproj
203 lines (183 loc) · 9.22 KB
/
System.Reactive.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<Project Sdk="MSBuild.Sdk.Extras">
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;netstandard2.0;net472;uap10.0.16299;net5.0;net5.0-windows10.0.19041</TargetFrameworks>
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
<PackageTags>Rx;Reactive;Extensions;Observable;LINQ;Events</PackageTags>
<Description>Reactive Extensions (Rx) for .NET</Description>
</PropertyGroup>
<PropertyGroup>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' or $(TargetFramework.StartsWith('net5.0-windows'))">
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<IncludeBuildOutput Condition="'$(TargetFramework)' == 'netcoreapp3.1'">false</IncludeBuildOutput>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<FrameworkReference Update="Microsoft.WindowsDesktop.App" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Platforms\**\*.*" />
<EmbeddedResource Remove="Platforms\**\*.*" />
<!-- Workaround so the files appear in VS -->
<None Include="Platforms\**\*.*" />
<Compile Include="..\AssemblyInfo.cs" Link="Properties\AssemblyInfo.cs" />
<None Update="Linq\QbservableEx.NAry.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>QbservableEx.NAry.cs</LastGenOutput>
</None>
<None Update="Platforms\Windows\Strings_WindowsThreading.Designer.cs" DesignTime="True" AutoGen="True" DependentUpon="Strings_WindowsThreading.resx" />
<None Update="Platforms\Windows\Strings_WindowsThreading.resx" CustomToolNamespace="System.Reactive" Generator="ResXFileCodeGenerator" LastGenOutput="Strings_WindowsThreading.Designer.cs" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.Runtime.InteropServices.WindowsRuntime" Version="4.3.0" />
</ItemGroup>
<!-- UWP -->
<ItemGroup Condition=" '$(TargetFramework)' == 'uap10.0' ">
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="System.ComponentModel" Version="4.3.0" />
<PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" />
<PackageReference Include="System.Linq.Queryable" Version="4.3.0" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('uap10.0')) or $(TargetFramework.StartsWith('net5.0-windows'))">
<Compile Include="Platforms\UWP\**\*.cs" />
</ItemGroup>
<!-- Windows includes for Desktop and UWP -->
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' or $(TargetFramework.StartsWith('uap10.0')) or '$(TargetFramework)' == 'netcoreapp3.1' or $(TargetFramework.StartsWith('net5.0-windows'))">
<Compile Include="Platforms\Windows\**\*.cs" />
<EmbeddedResource Include="Platforms\Windows\**\*.resx" />
</ItemGroup>
<!-- Desktop -->
<ItemGroup Condition=" '$(TargetFramework)' == 'net472'">
<Reference Include="System.Windows" />
<Reference Include="System.Windows.Forms" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' or '$(TargetFramework)' == 'netcoreapp3.1' or $(TargetFramework.StartsWith('net5.0-windows'))">
<Compile Include="Platforms\Desktop\**\*.cs" />
</ItemGroup>
<!-- Designer support -->
<ItemGroup>
<Compile Update="Linq\IQueryLanguage.NAry.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>IQueryLanguage.NAry.tt</DependentUpon>
</Compile>
<Compile Update="Joins\Pattern.Generated.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Pattern.tt</DependentUpon>
</Compile>
<Compile Update="Joins\QueryablePattern.Generated.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>QueryablePattern.tt</DependentUpon>
</Compile>
<Compile Update="Linq\Observable\CombineLatest.NAry.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>CombineLatest.NAry.tt</DependentUpon>
</Compile>
<Compile Update="Linq\Observable\Zip.NAry.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Zip.NAry.tt</DependentUpon>
</Compile>
<Compile Update="Linq\Observable.Multiple.CombineLatest.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Observable.Multiple.CombineLatest.tt</DependentUpon>
</Compile>
<Compile Update="Linq\Observable.Multiple.Zip.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Observable.Multiple.Zip.tt</DependentUpon>
</Compile>
<Compile Update="Linq\QbservableEx.NAry.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>QbservableEx.NAry.tt</DependentUpon>
</Compile>
<Compile Update="Linq\QueryLanguage.Multiple.CombineLatest.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>QueryLanguage.Multiple.CombineLatest.tt</DependentUpon>
</Compile>
<Compile Update="Linq\QueryLanguage.Multiple.Zip.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>QueryLanguage.Multiple.Zip.tt</DependentUpon>
</Compile>
<None Update="Linq\IQueryLanguage.NAry.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>IQueryLanguage.NAry.cs</LastGenOutput>
</None>
<None Update="Joins\Pattern.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Pattern.Generated.cs</LastGenOutput>
</None>
<None Update="Joins\QueryablePattern.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>QueryablePattern.Generated.cs</LastGenOutput>
</None>
<None Update="Linq\Observable\CombineLatest.NAry.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>CombineLatest.NAry.cs</LastGenOutput>
</None>
<None Update="Linq\Observable\Zip.NAry.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Zip.NAry.cs</LastGenOutput>
</None>
<None Update="Linq\Observable.Multiple.CombineLatest.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Observable.Multiple.CombineLatest.cs</LastGenOutput>
</None>
<None Update="Linq\Observable.Multiple.Zip.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Observable.Multiple.Zip.cs</LastGenOutput>
</None>
<None Update="Linq\QueryLanguage.Multiple.CombineLatest.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>QueryLanguage.Multiple.CombineLatest.cs</LastGenOutput>
</None>
<None Update="Linq\QueryLanguage.Multiple.Zip.tt">
<LastGenOutput>QueryLanguage.Multiple.Zip.cs</LastGenOutput>
<Generator>TextTemplatingFileGenerator</Generator>
</None>
</ItemGroup>
<PropertyGroup>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);RemoveNetCoreApp3FromNuGet</TargetsForTfmSpecificBuildOutput>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);AddNetCore3ToNuGet</TargetsForTfmSpecificContentInPackage>
</PropertyGroup>
<!-- 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.1'">
<ItemGroup>
<!-- Before clearing the output groups, add them to None for packing -->
<ItemsToAddToNuGet Include="@(BuiltProjectOutputGroupOutput);@(DocumentationProjectOutputGroupOutput)" PackagePath="build\netcoreapp3.1" />
<BuiltProjectOutputGroupOutput Remove="@(BuiltProjectOutputGroupOutput)" />
<DocumentationProjectOutputGroupOutput Remove="@(DocumentationProjectOutputGroupOutput)" />
</ItemGroup>
</Target>
<Target Name="AddNetCore3ToNuGet" Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<ItemGroup>
<!-- Add the removed build output to the build\netcoreapp3.0 folder -->
<TfmSpecificPackageFileWithRecursiveDir Include="@(ItemsToAddToNuGet)" PackagePath="build\netcoreapp3.1" />
</ItemGroup>
</Target>
<ItemGroup>
<None Include="build\_._" PackagePath="lib\netcoreapp3.1" Pack="true" />
<None Include="build\_._" PackagePath="build\net5.0;build\net5.0-windows10.0.19041" Pack="true" />
<None Include="build\_._" PackagePath="buildTransitive\net5.0;buildTransitive\net5.0-windows10.0.19041" 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" />
<None Include="build\System.Reactive.net5.0-windows.targets" PackagePath="build\net5.0-windows7\$(PackageId).targets;buildTransitive\net5.0-windows7\$(PackageId).targets" Pack="true" />
<None Include="Linq\QbservableEx.NAry.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>QbservableEx.NAry.tt</DependentUpon>
</None>
</ItemGroup>
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
</Project>