System.Linq.Async.Queryable.csproj 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <!--
  4. .NET 10.0 gets its own target because that doesn't need a transitive reference
  5. to System.Linq.AsyncEnumerable - it's built in from .NET 10.0 and later -
  6. but all other targets do need that reference.
  7. Even though we support back to .NET 8.0 for v7, we don't build targets for
  8. any versions older than net10.0 because net8.0 and net9.0 are both covered
  9. by the netstandard2.0 target.
  10. -->
  11. <TargetFrameworks>net48;netstandard2.0;netstandard2.1;net10.0</TargetFrameworks>
  12. <Title>System.Linq.Async.Queryable</Title>
  13. <PackageTags>LINQ;async;streams;query;provider</PackageTags>
  14. <Description>Provides support for Language-Integrated Query (LINQ) over IAsyncQueryable&lt;T&gt; sequences with query providers.</Description>
  15. </PropertyGroup>
  16. <ItemGroup>
  17. <ProjectReference Include="..\System.Linq.Async\System.Linq.Async.csproj" />
  18. </ItemGroup>
  19. <ItemGroup Condition="'$(TargetFramework)' != 'net10.0'">
  20. <!-- Although we get this transitively from System.Linq.Async, we need the alias to ensure we compile against the legacy System.Linq.Async -->
  21. <PackageReference Include="System.Linq.AsyncEnumerable" Version="10.0.0-rc.1.25451.107"
  22. Aliases="SystemLinqAsyncEnumerable" />
  23. </ItemGroup>
  24. <Target Name="_SetAliasOnBuiltInSystemLinqAsyncEnumerable" BeforeTargets="ResolveAssemblyReferences">
  25. <ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
  26. <Reference Condition="'%(Reference.AssemblyName)' == 'System.Linq.AsyncEnumerable'">
  27. <Aliases>SystemLinqAsyncEnumerable</Aliases>
  28. </Reference>
  29. </ItemGroup>
  30. </Target>
  31. <ItemGroup>
  32. <Compile Update="System\Linq\AsyncQueryable.Generated.cs">
  33. <DependentUpon>AsyncQueryable.Generated.tt</DependentUpon>
  34. <DesignTime>True</DesignTime>
  35. <AutoGen>True</AutoGen>
  36. </Compile>
  37. </ItemGroup>
  38. <ItemGroup>
  39. <None Update="System\Linq\AsyncQueryable.Generated.tt">
  40. <LastGenOutput>AsyncQueryable.Generated.cs</LastGenOutput>
  41. <Generator>TextTemplatingFileGenerator</Generator>
  42. </None>
  43. </ItemGroup>
  44. <ItemGroup>
  45. <!-- T4. -->
  46. <Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
  47. </ItemGroup>
  48. </Project>