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

Visual Studio failed to recognize EmptyConstructor as one of the analyzer #352

Open
laolarou726 opened this issue Dec 6, 2022 · 5 comments

Comments

@laolarou726
Copy link

Describe the issue

Visual Studio does not add this package to the analyzer list. As the result, the compiler failed to generate any empty constructors using this package.

image

image

image

@SimonCropp
Copy link
Member

that is because it is not an analyser

@laolarou726
Copy link
Author

that is because it is not an analyser

Hmmm, it seems it stopped working in my project. Is there any ways to debug it?

@SimonCropp
Copy link
Member

Is there any ways to debug it

same as you would debug any .net process. but in this scenario the process is msbuild.exe

@laolarou726
Copy link
Author

I found some warnings generated by Fody:

image

Is that related to the issue?

@SimonCropp
Copy link
Member

that is likely VS being unable to find the XSD file. the xsd file should be recreated on build.

If you can share a minimal repro, i can take a look at it

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