Skip to content

fix(vsix): include VCProjectEngine assembly in VSIX package#33

Merged
CalvinAllen merged 1 commit intomainfrom
fix/vcproject/dynamic-loading
Feb 11, 2026
Merged

fix(vsix): include VCProjectEngine assembly in VSIX package#33
CalvinAllen merged 1 commit intomainfrom
fix/vcproject/dynamic-loading

Conversation

@CalvinAllen
Copy link
Collaborator

Summary

  • VSSDK.BuildTools has a hardcoded SuppressFromVsix list that excludes Microsoft.VisualStudio.VCProjectEngine.dll, assuming Visual Studio always provides it
  • Users without the C++ workload installed hit a missing assembly error when using the extension
  • Added ForceIncludeInVSIX metadata to the package reference to override the suppression and ship the assembly with the VSIX

Test plan

  • Build the project and verify Microsoft.VisualStudio.VCProjectEngine.dll is present in the VSIX
  • Install the VSIX in a VS instance without the C++ workload and verify "Open Bin Folder" works on C# projects
  • Test "Open Bin Folder" on a C++ project with the C++ workload installed

Fixes #32

VSSDK.BuildTools has a hardcoded SuppressFromVsix list that excludes
Microsoft.VisualStudio.VCProjectEngine.dll, assuming VS always provides
it. This causes a missing assembly error when the C++ workload is not
installed. Adding ForceIncludeInVSIX overrides the suppression.

Fixes #32
@CalvinAllen CalvinAllen merged commit d5a3f5d into main Feb 11, 2026
2 checks passed
@CalvinAllen CalvinAllen deleted the fix/vcproject/dynamic-loading branch February 11, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Cannot open bin folder: missing assembly?

1 participant

Comments