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 a using error in the CpsExtension sample #356

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Michron
Copy link

@Michron Michron commented Jun 27, 2022

The CpsExtension sample would fail to load for target projects because it would fail to create a instance of CustomDebugger. This is caused by the ImportingConstructor attribute, which should be System.ComponentModel.Composition.ImportingConstructorAttribute instead of System.Composition.ImportingConstructorAttribute.

With this change the extension will load without an error when opening a project that implements the nuget from the sample. After this fix, I still don't get the expected behaviour in Visual Studio as is described in the documentation of the sample, so I suspect there is something else that's broken as well.

@ghost
Copy link

ghost commented Jun 27, 2022

CLA assistant check
All CLA requirements met.

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

Successfully merging this pull request may close these issues.

None yet

1 participant