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

Fix compiler vsix deployment #72321

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

dibarbet
Copy link
Member

@dibarbet dibarbet commented Feb 29, 2024

The compiler vsix was not deploying system.numerics.vectors which caused csc to fail to launch on builds in VS.

The vsix that actually gets inserted does include the dll, so this is only a problem for local F5 / integration test scenarios.

@dibarbet dibarbet requested review from a team as code owners February 29, 2024 00:15
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Feb 29, 2024
@dibarbet
Copy link
Member Author

@dotnet/roslyn-compiler for two reviews

@@ -195,6 +195,7 @@
<PackageVersion Include="System.IO.Pipelines" Version="$(SystemIOPipelinesVersion)" />
<PackageVersion Include="System.IO.Pipes.AccessControl" Version="5.0.0" />
<PackageVersion Include="System.Memory" Version="4.5.5" />
<PackageVersion Include="System.Numerics.Vectors" Version="4.5.0" />
Copy link
Member

Choose a reason for hiding this comment

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

Will this work in VS insertions? Won't it cause builds to fail for some reason? Should we do a validation run?

Copy link
Member Author

@dibarbet dibarbet Feb 29, 2024

Choose a reason for hiding this comment

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

@jjonescz this vsix isn't actually used for insertion - it uses one of Microsoft.CodeAnalysis.Compilers.x64/.arm64/.x64.vsix as the actual insertion VSIX

However weirder things have broken the VS build so I can run a val insertion to make sure.

Copy link
Member

Choose a reason for hiding this comment

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

ah, thanks for explanation; I think it's fine then, we can always revert :)

@jaredpar
Copy link
Member

"Fails to build in VS"

Is that during F5 launches, full installs, etc ....

@@ -33,6 +33,7 @@
<PackageReference Include="System.Collections.Immutable" IncludeInVsix="true" />
<PackageReference Include="System.Memory" IncludeInVsix="true" />
<PackageReference Include="System.Reflection.Metadata" IncludeInVsix="true" />
<PackageReference Include="System.Numerics.Vectors" IncludeInVsix="true" />
Copy link
Member

Choose a reason for hiding this comment

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

Just wondering whether BuildBoss shouldn't catch cases like this. cc @jaredpar

Copy link
Member

Choose a reason for hiding this comment

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

That's my concern as well. Generally BuildBoss should be used to catch inconsistencies like this. That is why I'm curious about what scenarios are not working today.

@CyrusNajmabadi
Copy link
Member

Moving forward with this as David is currently out, and thsi is blocking ability to validate thse scenarios while in an F5 lauched hive.

@CyrusNajmabadi CyrusNajmabadi merged commit d8e4141 into dotnet:main Mar 6, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants