This project is read-only.

Path Error

Jun 28, 2007 at 9:11 PM
I just downloaded and installed the latest SdcTasks, and am now receiving the following error:
MSBUILD : warning : The specified task executable location "C:\Program Files\Microsoft FxCop 1.32\FxCopCmd.exe" is invalid.

However, I have FxCop 1.35, not 1.32. Where can I change the pointer?

Jul 13, 2007 at 1:20 PM
You should be able to add ToolPath attribute to the task.

By default, FxCop task rely on searching in Registry the subkey Software\Microsoft\FxCop in HKEYCURRENTUSER and HKEYLOCALMACHINE and finally return the value of InstallRoot if found
or if not found "%ProgramFiles%\Microsoft FxCop " concatenated with version as defined in your project file (Version attribute of the FxCopProject root element of your FxCop project file).