Skip to content

Commit 49cc13c

Browse files
authored
Remove Extensions.Internal.Transport from Runtime
- Microsoft.AspNetCore.App.Runtime project does not expect compilation-only references
1 parent 613c4c3 commit 49cc13c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/targets/ResolveReferences.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@
256256
<!--
257257
If we have a ref/ assembly from dotnet/runtime for an Extension package, use that when compiling but do not reference its assemblies.
258258
-->
259-
<ItemGroup
260-
Condition=" $(_CompileTfmUsingReferenceAssemblies) OR ('$(IsTargetingPackBuilding)' != 'false' AND '$(MSBuildProjectName)' == 'Microsoft.AspNetCore.App.Ref') ">
259+
<ItemGroup Condition=" ($(_CompileTfmUsingReferenceAssemblies) AND '$(MSBuildProjectName)' != 'Microsoft.AspNetCore.App.Runtime') OR
260+
('$(IsTargetingPackBuilding)' != 'false' AND '$(MSBuildProjectName)' == 'Microsoft.AspNetCore.App.Ref') ">
261261
<PackageReference Include="Microsoft.Extensions.Internal.Transport"
262262
Version="$(MicrosoftExtensionsInternalTransportPackageVersion)"
263263
IsImplicitlyDefined="true"

0 commit comments

Comments
 (0)