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

VSSDK.BuildTools 17.0 preview 4 breaks package dependencies #61

Closed
pharring opened this issue Sep 28, 2021 · 2 comments
Closed

VSSDK.BuildTools 17.0 preview 4 breaks package dependencies #61

pharring opened this issue Sep 28, 2021 · 2 comments

Comments

@pharring
Copy link
Member

I upgraded my project to reference the 17.0 preview 4 build tools and my VSIX no longer contains package references from nuget.
Preview 3 was fine. Preview 4 is broken.

Repro:

  1. Create a new VSIX package project in VS 2022 preview
  2. Manage the Nuget references and set the version of Microsoft.VSSDK.BuildTools to 17.0.3177-preview3
  3. Also add a Nuget reference to Microsoft.ApplicationInsights 2.18.0
  4. Build the VSIX
  5. Rename the VSIX to .ZIP and examine the contents of the ZIP in Windows Explorer.
    image

Notice the presence of Microsoft.ApplicationInsights.dll

  1. Now upgrade the Microsoft.VSSDK.BuildTools reference to 17.0.4207-preview4
  2. Rebuild the VSIX
  3. Rename the VSIX to .ZIP and examine the contents:
    image

Notice that the dependent assemblies (Microsoft.ApplicationInsights.dll, System.Buffers, System.Memory, etc.) are missing.

This breaks extension loading due to the missing files.

@pharring
Copy link
Member Author

@tinaschrepfer
Copy link
Member

Just to close on this, we have a fix ready for this pending. Please refer to the feedback ticket to see status updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants