|
@@ -2,14 +2,31 @@
|
|
|
<PropertyGroup>
|
|
|
<TargetFrameworks>netcoreapp3.0;netcoreapp2.1</TargetFrameworks>
|
|
|
<NoWarn>$(NoWarn);CS0618</NoWarn>
|
|
|
+ <LangVersion>latest</LangVersion>
|
|
|
+ <AssemblyName>Tests.System.Reactive</AssemblyName>
|
|
|
+ <RootNamespace>Tests.System.Reactive</RootNamespace>
|
|
|
+ <SignAssembly>true</SignAssembly>
|
|
|
+ <AssemblyOriginatorKeyFile>..\..\Source\ReactiveX.snk</AssemblyOriginatorKeyFile>
|
|
|
+ </PropertyGroup>
|
|
|
+
|
|
|
+ <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0' ">
|
|
|
+ <UseWPF>true</UseWPF>
|
|
|
+ <UseWindowsForms>true</UseWindowsForms>
|
|
|
+ </PropertyGroup>
|
|
|
+
|
|
|
+
|
|
|
+ <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netcoreapp2.1'">
|
|
|
+ <DefineConstants>$(DefineConstants);HAS_TRACE;HAS_WINRT;PREFER_ASYNC;HAS_TPL46;NO_REMOTING</DefineConstants>
|
|
|
+ </PropertyGroup>
|
|
|
+ <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
|
|
+ <DefineConstants>$(DefineConstants);HAS_TRACE;HAS_WINRT;HAS_WINFORMS;HAS_DISPATCHER;PREFER_ASYNC;HAS_TPL46;NO_REMOTING;DESKTOPCLR;LINUX</DefineConstants>
|
|
|
</PropertyGroup>
|
|
|
|
|
|
<ItemGroup>
|
|
|
<Content Include="..\..\Source\tests\Tests.System.Reactive\xunit.runner.json">
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
</Content>
|
|
|
- <Compile Include="..\..\Source\tests\Tests.System.Reactive\**\*.cs"
|
|
|
- Exclude="..\..\Source\tests\Tests.System.Reactive\obj\**" />
|
|
|
+ <Compile Include="..\..\Source\tests\Tests.System.Reactive\**\*.cs" Exclude="..\..\Source\tests\Tests.System.Reactive\obj\**" />
|
|
|
</ItemGroup>
|
|
|
|
|
|
<ItemGroup>
|
|
@@ -18,6 +35,6 @@
|
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
|
|
|
<PackageReference Include="System.Reactive" Version="4.2.0-preview.63" />
|
|
|
<PackageReference Include="Microsoft.Reactive.Testing" Version="4.2.0-preview.63" />
|
|
|
- <PackageReference Include="System.Reactive.Observable.Aliases Version="4.2.0-preview.63" />
|
|
|
+ <PackageReference Include="System.Reactive.Observable.Aliases" Version="4.2.0-preview.63" />
|
|
|
</ItemGroup>
|
|
|
</Project>
|