I m having problems getting the FxCop command line to work when I specify paths with spaces in them. Yes, I use the quotes properly.
M:uildIOServicesrc>"c:Program FilesMicrosoft FxCop 1.36FxCopCmd.exe" /c /f:".My LibraryinRelease" /r:"c:Program FilesMicrosoft FxCop 1.36Rules"
Microsoft (R) FxCop Command-Line Tool, Version 1.36 (9.0.30729.1)
Copyright (C) 2007 Microsoft Corporation. All rights reserved.
Argument specified without a corresponding switch : FilesMicrosoft .
Argument specified without a corresponding switch : FxCop .
Argument specified without a corresponding switch : 1.36Rules" .
Type FxCopCmd.exe /? for help on command-line arguments.
FxCop complains about the path passed to the /r switch. I am quoting the path per the FxCop guidance. This also happens when I pass paths via the /d switch. Has anyone else had similar problems? It doesn t matter if I use cmd or PowerShell.