System.Linq.Async.csproj 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <ProduceOnlyReferenceAssembly>true</ProduceOnlyReferenceAssembly>
  4. <Description>LINQ Standard Query Operators used to express queries over asynchronous enumerable sequences.</Description>
  5. <AssemblyTitle>System.Linq.Async</AssemblyTitle>
  6. <Authors>Microsoft</Authors>
  7. <TargetFrameworks>net48;netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
  8. <PackageTags>Enumerable;Asynchronous;LINQ</PackageTags>
  9. <AssemblyName>System.Linq.Async</AssemblyName>
  10. </PropertyGroup>
  11. <PropertyGroup>
  12. <!--
  13. IDE0301 uses collection expressions in places where they don't necessarily have the same effect, which we want to avoid in case of possible compatibility issues.
  14. IDE0305 wants to turn things like list.ToArray into [..list], which we don't find to be an improvement in readability. -->
  15. <NoWarn>$(NoWarn);IDE0301;IDE0305</NoWarn>
  16. </PropertyGroup>
  17. <ItemGroup>
  18. <PackageReference Condition="'$(TargetFramework)' == 'net48' or '$(TargetFramework)' == 'netstandard2.0'" Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.9" />
  19. <ProjectReference Include="..\..\System.Linq.Async.SourceGenerator\System.Linq.Async.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" Private="false" />
  20. </ItemGroup>
  21. <ItemGroup>
  22. <Compile Include="..\..\System.Linq.Async\**\*.cs" Exclude="..\..\System.Linq.Async\obj\**" />
  23. </ItemGroup>
  24. <ItemGroup>
  25. <Compile Remove="..\..\System.Linq.Async\System\Linq\EmptyArray.cs" />
  26. </ItemGroup>
  27. </Project>