System.Interactive.Async.Tests.csproj 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>net48;net8.0;net6.0</TargetFrameworks>
  4. <!--
  5. CA1510: Use ArgumentNullException.ThrowIfNull - not available on .NET 4.8
  6. CA1822: Make member static. Not necessary for test code.
  7. CA1861: Extract constant arrays to 'static readonly' fields. With these tests we generally prioritize readability over performance.
  8. -->
  9. <NoWarn>$(NoWarn);CS0618;CS8603;CS8625;CA1510;CA1822;CA1861</NoWarn>
  10. </PropertyGroup>
  11. <ItemGroup>
  12. <Content Include="xunit.runner.json">
  13. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  14. </Content>
  15. </ItemGroup>
  16. <ItemGroup>
  17. <ProjectReference Include="..\System.Interactive.Async.Providers\System.Interactive.Async.Providers.csproj" />
  18. <ProjectReference Include="..\System.Linq.Async\System.Linq.Async.csproj" />
  19. </ItemGroup>
  20. <ItemGroup>
  21. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
  22. <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
  23. <PackageReference Include="FluentAssertions" Version="6.4.0" />
  24. <PackageReference Include="xunit" Version="2.4.1" />
  25. </ItemGroup>
  26. <ItemGroup>
  27. <Compile Include="..\System.Linq.Async.Tests\ValueTaskHelpers.cs" />
  28. </ItemGroup>
  29. <ItemGroup>
  30. <None Update="AsyncQueryableExTests.Generated.tt">
  31. <LastGenOutput>AsyncQueryableExTests.Generated.cs</LastGenOutput>
  32. <Generator>TextTemplatingFileGenerator</Generator>
  33. </None>
  34. <None Update="AsyncQueryableTests.Generated.tt" Generator="TextTemplatingFileGenerator" LastGenOutput="AsyncQueryableTests.Generated.cs" />
  35. </ItemGroup>
  36. <ItemGroup>
  37. <Compile Update="AsyncQueryableExTests.Generated.cs">
  38. <DesignTime>True</DesignTime>
  39. <AutoGen>True</AutoGen>
  40. <DependentUpon>AsyncQueryableExTests.Generated.tt</DependentUpon>
  41. </Compile>
  42. <Compile Update="AsyncQueryableTests.Generated.cs">
  43. <DesignTime>True</DesignTime>
  44. <AutoGen>True</AutoGen>
  45. <DependentUpon>AsyncQueryableTests.Generated.tt</DependentUpon>
  46. </Compile>
  47. </ItemGroup>
  48. </Project>