Skip to content

Commit 67064e6

Browse files
committed
Fix packaging
1 parent fbb7a49 commit 67064e6

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

src/libraries/System.Linq.AsyncEnumerable/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ See the [Help Wanted](https://github.com/dotnet/runtime/issues?q=is%3Aissue+is%3
1515

1616
## Deployment
1717

18-
System.Linq.AsyncEnumerable is a NuGet package that gets shipped with every release of .NET.
18+
System.Linq.AsyncEnumerable is shipped as part of the .NET shared framework and as a NuGet package.

src/libraries/System.Linq.AsyncEnumerable/src/System.Linq.AsyncEnumerable.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppPrevious);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
5-
<NoWarn>$(NoWarn);CS1998</NoWarn>
6-
</PropertyGroup>
5+
<IsPackable>true</IsPackable>
6+
<NoWarn>$(NoWarn);CS1998</NoWarn> <!-- Various IAsyncEnumerable implementations that don't need to use await -->
77

8-
<!-- DesignTimeBuild requires all the TargetFramework Derived Properties to not be present in the first property group. -->
9-
<PropertyGroup>
10-
<TargetPlatformIdentifier>$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</TargetPlatformIdentifier>
8+
<!-- Disabling baseline validation since this is a brand new package.
9+
Once this package has shipped a stable version, the following line
10+
should be removed in order to re-enable validation. -->
11+
<DisablePackageBaselineValidation>true</DisablePackageBaselineValidation>
1112
</PropertyGroup>
1213

1314
<ItemGroup>

src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Tests/System.Text.Json.SourceGeneration.Tests.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
149149
<ProjectReference Include="..\..\src\System.Text.Json.csproj" />
150150
<ProjectReference Include="$(LibrariesProjectRoot)System.Collections.Immutable\src\System.Collections.Immutable.csproj" />
151+
<ProjectReference Include="$(LibrariesProjectRoot)System.Linq.AsyncEnumerable\src\System.Linq.AsyncEnumerable.csproj" />
151152
<Reference Include="System.ComponentModel.DataAnnotations" />
152153
<PackageReference Include="System.ComponentModel.Annotations" Version="$(SystemComponentModelAnnotationsVersion)"/>
153154
</ItemGroup>
@@ -165,7 +166,6 @@
165166
<ItemGroup>
166167
<DefaultReferenceExclusion Include="System.Text.Json.SourceGeneration" />
167168
<ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Extensions.Primitives\src\Microsoft.Extensions.Primitives.csproj" />
168-
<ProjectReference Include="$(LibrariesProjectRoot)System.Linq.AsyncEnumerable\src\System.Linq.AsyncEnumerable.csproj" />
169169
</ItemGroup>
170170

171171
<Target Name="FixIncrementalCoreCompileWithAnalyzers" BeforeTargets="CoreCompile">

0 commit comments

Comments
 (0)