Last post Jun 24, 2010 12:51 AM by PassHours
Jun 23, 2010 10:05 PM|netts|LINK
I was trying to use a fxcop project file to check my code so I opened the fxcop UI and saved the fxcop project file.
Then I copied the fxcop proj file into my directory where my solution file is present and named it Myfxapp.sln.fxcop
Then in the external tools(VS 2008) section in the arguments I added the below line as it is
/c /p:”$(SolutionDir)\$(SolutionFileName).fxcop” /cXsl:”C:\Program Files\Microsoft FxCop 1.36\Xml\VSConsoleOutput.xsl”
Then when I click fxcop in the external tools I get the below error. Is there somewhere that I have to mention about the target.
Microsoft (R) FxCop Command-Line Tool, Version 1.36 (9.0.30729.1)
Copyright (C) 2007 Microsoft Corporation. All rights reserved.
* Analysis was not performed; at least one valid rules assembly and one valid
target file must be specified.
* 1 total analysis engine exceptions.
Project : error : CA0052 : No targets were selected.
Jun 24, 2010 12:51 AM|PassHours|LINK
I think you probably want the forum that deals with FxCop issues:
Hope that helps