Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transport EA.RazorCompiler DLL #8824

Merged
merged 2 commits into from
Jun 12, 2023
Merged

Transport EA.RazorCompiler DLL #8824

merged 2 commits into from
Jun 12, 2023

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
@@ -12,13 +12,18 @@
<ExcludeFromSourceBuild>false</ExcludeFromSourceBuild>
</PropertyGroup>

<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