Skip to content

Conversation

@jjonescz
Copy link
Member

Fixes errors in dotnet/sdk#33125.

@jjonescz jjonescz marked this pull request as ready for review June 12, 2023 14:45
@jjonescz jjonescz requested a review from a team as a code owner June 12, 2023 14:45
Copy link
Member

@333fred 333fred left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to include this in the toolset as well?

@jjonescz jjonescz enabled auto-merge (squash) June 12, 2023 17:27
@jjonescz jjonescz merged commit 2b013a4 into dotnet:main Jun 12, 2023
@jjonescz jjonescz deleted the ea-flow branch June 12, 2023 19:04

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler" ExcludeAssets="all" GeneratePathProperty="true" />
</ItemGroup>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is more or less inlining the transitive reference. Rather than having a transitive reference it's just unpacking the NuPgk and re-packing the content.

Why are we taking this approach here? Why doesn't a transitive reference work?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assumed that's the point of transport packages - they pack all the needed DLLs together, without relying on standard project/package references.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible. Do the other transport packages work this way?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm only familiar with Razor transport packages, and yes, that's my understanding. Although they don't contain PackageReferences as far as I'm aware (only ProjectReferences), this is the first one. I mean - they technically depend on MS.CA.CSharp package, but that probably doesn't have to be packed, since it's made available by the SDK anyway (by the project where the transport flows).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants