Tests.System.Reactive.csproj 2.4 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. <OutputType>Exe</OutputType>
  11. </PropertyGroup>
  12. <PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
  13. <DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_WINRT;PREFER_ASYNC;USE_TIMER_SELF_ROOT;DESKTOPCLR;HAS_WINFORMS</DefineConstants>
  14. </PropertyGroup>
  15. <PropertyGroup Condition="'$(TargetFramework)' == 'net46'">
  16. <DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_WINRT;PREFER_ASYNC;USE_TIMER_SELF_ROOT;HAS_TPL46;DESKTOPCLR;HAS_WINFORMS;HAS_DISPATCHER</DefineConstants>
  17. </PropertyGroup>
  18. <ItemGroup>
  19. <Compile Include="**\*.cs" />
  20. <Content Include="xunit.runner.json">
  21. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  22. </Content>
  23. <EmbeddedResource Include="**\*.resx" />
  24. </ItemGroup>
  25. <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp1.0'">
  26. <PackageReference Include="Microsoft.NETCore.App" Version="1.1.0" />
  27. </ItemGroup>
  28. <ItemGroup Condition=" '$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'net46'">
  29. <Reference Include="System" />
  30. <Reference Include="Microsoft.CSharp" />
  31. <Reference Include="System.Windows" />
  32. <Reference Include="System.Windows.Forms" />
  33. <Reference Include="WindowsBase" />
  34. </ItemGroup>
  35. <ItemGroup>
  36. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-preview-20161216-01" />
  37. <PackageReference Include="xunit" Version="2.2.0-beta4-build3466" />
  38. <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-beta4-build1209" />
  39. <PackageReference Include="xunit.runner.reporters" Version="99.99.99-dev" />
  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>