Tests.System.Reactive.csproj 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
  2. <PropertyGroup>
  3. <TargetFrameworks>netcoreapp1.0;net46</TargetFrameworks>
  4. <AssemblyOriginatorKeyFile>../ReactiveX.snk</AssemblyOriginatorKeyFile>
  5. <SignAssembly>true</SignAssembly>
  6. <NoWarn>$(NoWarn);CS0618</NoWarn>
  7. </PropertyGroup>
  8. <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp1.0'">
  9. <DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_WINRT;PREFER_ASYNC;USE_TIMER_SELF_ROOT;HAS_TPL46;NO_REMOTING;NO_SERIALIZABLE;CRIPPLED_REFLECTION</DefineConstants>
  10. <AssemblyVersion>4.0.3000.0</AssemblyVersion>
  11. <OutputType>Exe</OutputType>
  12. </PropertyGroup>
  13. <PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
  14. <DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_WINRT;PREFER_ASYNC;USE_TIMER_SELF_ROOT</DefineConstants>
  15. <AssemblyVersion>4.0.1000.0</AssemblyVersion>
  16. </PropertyGroup>
  17. <PropertyGroup Condition="'$(TargetFramework)' == 'net46'">
  18. <DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_WINRT;PREFER_ASYNC;USE_TIMER_SELF_ROOT;HAS_TPL46</DefineConstants>
  19. <AssemblyVersion>4.0.3000.0</AssemblyVersion>
  20. </PropertyGroup>
  21. <ItemGroup>
  22. <Compile Include="**\*.cs" />
  23. <Content Include="xunit.runner.json" />
  24. <EmbeddedResource Include="**\*.resx" />
  25. </ItemGroup>
  26. <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp1.0'">
  27. <PackageReference Include="Microsoft.NETCore.App" Version="1.1.0" />
  28. </ItemGroup>
  29. <ItemGroup Condition=" '$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'net46'">
  30. <Reference Include="System" />
  31. <Reference Include="Microsoft.CSharp" />
  32. <Reference Include="System.Windows" />
  33. <Reference Include="System.Windows.Forms" />
  34. <Reference Include="WindowsBase" />
  35. </ItemGroup>
  36. <ItemGroup>
  37. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-preview-20161123-03" />
  38. <PackageReference Include="xunit" Version="2.2.0-beta4-build3444" />
  39. <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-beta4-build1194" />
  40. <ProjectReference Include="..\System.Reactive\System.Reactive.csproj" />
  41. <ProjectReference Include="..\System.Reactive.Observable.Aliases\System.Reactive.Observable.Aliases.csproj" />
  42. <ProjectReference Include="..\Microsoft.Reactive.Testing\Microsoft.Reactive.Testing.csproj" />
  43. </ItemGroup>
  44. </Project>