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

Unable to load #724

Closed
OsirisTerje opened this issue Apr 9, 2024 · 4 comments
Closed

Unable to load #724

OsirisTerje opened this issue Apr 9, 2024 · 4 comments

Comments

@OsirisTerje
Copy link
Member

In the adapter I upgraded to latest version of the analyzer, and was rewarded by the warnings below:
image

The adapter runs both .netcore3.1 and net462. Is there any issues with one of these targets ?

@mikkelbu
Copy link
Member

mikkelbu commented Apr 9, 2024

@OsirisTerje Have you tried a git clean -xdf after the upgrade to remove all the VS cache files in the file system? Usually, removing all temporary files have solved problems like this.

@manfred-brands
Copy link
Member

@OsirisTerje You need to restart VS if you upgrade Analyzers. VS gets confused.

If there is still an issue I can have a look at your branch.
The target framework doesn't matter for the analyzer as it is started by csc/msbuild
What is version of the SDK are you using?

@manfred-brands
Copy link
Member

@OsirisTerje I checked out the adapter code and updated NUnit.Analyzer to 3.8.0. It compiles fine. No issues found. Also no problem in VS. Added "classic" code triggers rules so analyzer loads fine.

@OsirisTerje
Copy link
Member Author

@manfred-brands I upgraded to 4.1 in the UpdatePackages branch.
But @mikkelbu 's tip about git clean seems to have done it, OR your tip of a restart :-)

@mikkelbu mikkelbu added this to the Closed Without Action milestone Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants