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

Can't create unit test project - 'VisualStudio.Extensibility projects must contribute one clsas extending Microsoft.VisualStudio.Extensibility.Extension' #388

Open
luislhg opened this issue Jun 1, 2024 · 1 comment

Comments

@luislhg
Copy link

luislhg commented Jun 1, 2024

Hello, I have an extension using the new Extensibility SDK.
I have some services in there, and when trying to create an unit test project I receive this error and can't build
image

@luislhg
Copy link
Author

luislhg commented Jun 1, 2024

As a workaround, I faked a class in the unit test project and it seems to work.

[VisualStudioContribution]
internal class MockEntrypoint : Extension
{
    public override ExtensionConfiguration ExtensionConfiguration => null;
}

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

1 participant