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

Create new vsix for x64 .NET ServiceHub services #65471

Merged
merged 5 commits into from
May 4, 2023
Merged

Conversation

genlu
Copy link
Member

@genlu genlu commented Nov 16, 2022

prerequisite of #64610
link to validation insertion (with additional setup authoring change on VS side)
https://dev.azure.com/devdiv/DevDiv/_git/VS/pullrequest/468984

Comment on lines +524 to +527
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roslyn.VisualStudio.ServiceHub.Setup.x64", "src\VisualStudio\Setup.ServiceHub\x64\Roslyn.VisualStudio.ServiceHub.Setup.x64.csproj", "{A900A17C-3FD1-4892-8528-51A967E77339}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.x64", "src\Workspaces\Remote\ServiceHub.CoreComponents\x64\Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.x64.csproj", "{3ABBDFF7-ED76-4EA3-840E-85E3274302B0}"
EndProject
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need two projects here?

Copy link
Member Author

Choose a reason for hiding this comment

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

"Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.x64" is used to collect all dependencies and crossgen them. "Roslyn.VisualStudio.ServiceHub.Setup.x64" is to create the vsix. Maybe there's a better way to do it w/o multiple projects, but I have no idea how :(

@genlu genlu marked this pull request as draft November 16, 2022 23:56
@genlu genlu changed the title Create a new vsix for x64 .NET ServiceHub services Create new vsix for arm64 and x64 .NET ServiceHub services Nov 17, 2022
@genlu genlu changed the title Create new vsix for arm64 and x64 .NET ServiceHub services Create new vsix for x64 .NET ServiceHub services Nov 21, 2022
@genlu genlu marked this pull request as ready for review May 1, 2023 20:05
"Microsoft.NETCore.App.Runtime.win-{arch}"
"Microsoft.WindowsDesktop.App.Runtime.win-{arch}"
-->
<PackageReference Include="Microsoft.NETCore.App.crossgen2.win-x64" Version="$(MicrosoftNETCoreAppcrossgen2winx64Version)" Condition="'$(GenerateReadyToRun)' == 'true'" ExcludeAssets="all" PrivateAssets="all" GeneratePathProperty="true" />
Copy link
Member

Choose a reason for hiding this comment

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

win-x64

Shouldn't this use TargetArch?

Copy link
Member Author

Choose a reason for hiding this comment

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

yea, you are right. I will fix it in the follow up when adding arm64 support. Thanks!

Copy link
Member

@tmat tmat left a comment

Choose a reason for hiding this comment

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

:shipit:

@genlu genlu merged commit 357906e into dotnet:main May 4, 2023
@genlu genlu deleted the NewVsix branch May 4, 2023 17:33
@ghost ghost added this to the Next milestone May 4, 2023
@Cosifne Cosifne modified the milestones: Next, 17.7 P2 May 31, 2023
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