c# - Can i use static analysis in VS2012 from VS2010? -
for comparability reasons on first stage want use vs2010 engine microsoft visual studio 10.0\team tools\static analysis tools\ in vs 2012... there way this?
i able replace(fake) files of code analysis 11 10.. analysis works. can't see ca errors(number , discription) when heppens
i have overrided codeanalysispath, codeanalysisstaticanalysisdirectory , codeanalysistargets 10.0 version , founded vs 2012 invokes fxcopcmd.exe /outputculture:1049 , vs 2010 /outputculture:1033 other parametrs same. reason. can't find outputculture pparametr in fxcopcmd help... vslang! (visual studio language)...it seems problem solved overriding codeanalysispath , using same language version of vs. because before had english vs 2010 , russian vs 2012.
you should able working pointing vs 2010 fxcop folder within vs 2012 project (e.g.: .csproj or .vbproj):
<codeanalysispath>c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\fxcop\</codeanalysispath> n.b.: path not have in program files. work equally when pointing source-controlled relative path, handy if managing tool dependencies in source tree.
Comments
Post a Comment