简体   繁体   中英

Unknown code analysis error

I am having an issue with code analysis. I am running vs 2012 on a win 8 machine. The error I am getting is: CA0001 Error Running Code Analysis CA0001 : An unknown error occurred while running Code Analysis. [Errors and Warnings] (Global)

That is all the info I get. I have tried looking at the CodeAnalysisLog.xml for each of the projects but they are all empty.

I have downloaded a new fresh copy of the trunk that everyone else is working from, and I am still getting this issue. No one else on my team is getting these, just me. I am guessing it has something to do with my machine and not the project since the code base works for everyone else.

I am at a loss, I have no idea where to go from here.

I have finally solved my issue. This worked for me but I am not sure if it will work for anyone else having issues.

I ended up turning code analysis off for all 18 of my projects that were throwing this error. I built and ran the project successfully, and afterwards I turned on code analysis for all the projects I had turned it off for. It now works no problem.

从C:\\ Users \\%User%\\ AppData \\ Local \\ Temp中删除所有未使用的临时文件。(%temp%)

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM