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

Cannot load analyzer when targeting .NET 7.0 #422

Closed
royberris opened this issue Nov 28, 2022 · 1 comment
Closed

Cannot load analyzer when targeting .NET 7.0 #422

royberris opened this issue Nov 28, 2022 · 1 comment

Comments

@royberris
Copy link

Context
Version: 1.0.756
Target Framework: .NET 7.0
Language version: 11.0

Describe the bug
Visual Studio will warn that a lot of types cannot be loaded when targeting .NET 7.0

image

To Reproduce
A .NET 7.0 project with latest version of the analyzer.

Additional context
I tried deleting the package folder manually. Cleared the project. Deleted the bin and obj for the whole solution. Rebuild. Etc.
Going back to a previous version of the project still targeting .NET 6.0 the issue is gone. I'm pretty sure it is .NET 7 related and not only my local machine. But can't say for sure, so that is why I am submitting this issue.

@meziantou
Copy link
Owner

This is a common error. Unfortunately, this is not something I can fix as it is not related to my code. I think the error is in Visual Studio. I've pinned an issue with solutions from previous issues: #423.

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