123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFrameworks>net48;netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
- <Title>System.Linq.Async</Title>
- <PackageTags>LINQ;async;streams;query</PackageTags>
- <Description>Provides support for Language-Integrated Query (LINQ) over IAsyncEnumerable<T> sequences.</Description>
- </PropertyGroup>
- <ItemGroup>
- <!--
- Incorporate the reference assemblies.
- -->
- <None Include="../refs/System.Linq.Async/bin/$(Configuration)/$(TargetFramework)/**"
- PackagePath="ref/$(TargetFramework)"
- Pack="true" />
- </ItemGroup>
- <!--
- These warnings occur because we are deliberately creating a lib/ref mismatch. There doesn't seem to be
- an official way to do that, so we have to suppress the warnings.
-
- See ../../Documentation/adr/0001-Ix-Ref-Assembly-Mismatches.md for an explanation of this bizarreness.
- -->
- <PropertyGroup>
- <!--
- NU5128: lib/ref mismatch. This is deliberate, as explained in the ADR.
- NU5131: spurious missing file errors. It appears that the build is confused by what we're doing.
- -->
- <NoWarn>$(NoWarn);NU5128;NU5131</NoWarn>
- </PropertyGroup>
- <PropertyGroup>
- <!--
- 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.
- IDE0305 wants to turn things like list.ToArray into [..list], which we don't find to be an improvement in readability. -->
- <NoWarn>$(NoWarn);IDE0301;IDE0305</NoWarn>
- </PropertyGroup>
- <ItemGroup>
- <None Include="System\Linq\AsyncEnumerable.AsyncOverloads.cs">
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- <DependentUpon>AsyncEnumerable.AsyncOverloads.tt</DependentUpon>
- </None>
- <None Include="System\Linq\Operators\Select.Opt.Generated.cs">
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- <DependentUpon>Select.Opt.Generated.tt</DependentUpon>
- </None>
- <None Include="System\Linq\Operators\Where.Opt.Generated.cs">
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- <DependentUpon>Where.Opt.Generated.tt</DependentUpon>
- </None>
- </ItemGroup>
- <ItemGroup>
- <PackageReference Condition="'$(TargetFramework)' == 'net48' or '$(TargetFramework)' == 'netstandard2.0' " Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
- <ProjectReference Include="..\System.Linq.Async.SourceGenerator\System.Linq.Async.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" Private="false" />
- </ItemGroup>
- <ItemGroup>
- <Compile Update="System\Linq\AsyncEnumerable.AsyncOverloads.cs">
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- <DependentUpon>AsyncEnumerable.AsyncOverloads.tt</DependentUpon>
- </Compile>
- <Compile Update="System\Linq\Operators\Average.Generated.cs">
- <DependentUpon>Average.Generated.tt</DependentUpon>
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- </Compile>
- <Compile Update="System\Linq\Operators\MinMax.Generated.cs">
- <DependentUpon>MinMax.Generated.tt</DependentUpon>
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- </Compile>
- <Compile Update="System\Linq\Operators\Select.Opt.Generated.cs">
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- <DependentUpon>Select.Opt.Generated.tt</DependentUpon>
- </Compile>
- <Compile Update="System\Linq\Operators\Sum.Generated.cs">
- <DependentUpon>Sum.Generated.tt</DependentUpon>
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- </Compile>
- <Compile Update="System\Linq\Operators\Where.Opt.Generated.cs">
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- <DependentUpon>Where.Opt.Generated.tt</DependentUpon>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <None Update="System\Linq\AsyncEnumerable.AsyncOverloads.tt">
- <Generator>TextTemplatingFileGenerator</Generator>
- <LastGenOutput>AsyncEnumerable.AsyncOverloads.cs</LastGenOutput>
- </None>
- <None Update="System\Linq\Operators\Average.Generated.tt">
- <LastGenOutput>Average.Generated.cs</LastGenOutput>
- <Generator>TextTemplatingFileGenerator</Generator>
- </None>
- <None Update="System\Linq\Operators\MinMax.Generated.tt">
- <LastGenOutput>MinMax.Generated.cs</LastGenOutput>
- <Generator>TextTemplatingFileGenerator</Generator>
- </None>
- <None Update="System\Linq\Operators\Select.Opt.Generated.tt">
- <Generator>TextTemplatingFileGenerator</Generator>
- <LastGenOutput>Select.Opt.Generated.cs</LastGenOutput>
- </None>
- <None Update="System\Linq\Operators\Sum.Generated.tt">
- <LastGenOutput>Sum.Generated.cs</LastGenOutput>
- <Generator>TextTemplatingFileGenerator</Generator>
- </None>
- <None Update="System\Linq\Operators\Where.Opt.Generated.tt">
- <Generator>TextTemplatingFileGenerator</Generator>
- <LastGenOutput>Where.Opt.Generated.cs</LastGenOutput>
- </None>
- </ItemGroup>
- </Project>
|