while building solution i got error
CA0001: An unknown error occurred while running Code Analysis
error does not show the file name,line number or project name. I don't understand why this error is showing or how to resolve it.
I changed Rule set in code analysis and this issue got fixed. I changed the rule to Microsoft managed recommended rules previous rule was Microsoft all rules. I don't know what happened but this is just a work around
EDIT project -> project properties -> Code Analysis -> Configure rule set we can change rule set from here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.