EDN Admin
Well-known member
Since I installed VS2008 SP1, I now get an error when trying to compile my program. The error says "Invalid settings passed to CodeAnalysis task. See output window for details." Heres what the Output window shows...
Running Code Analysis...
Crogram FilesMicrosoft FxCop 1.36FxCopCmd.exe /outputCulture:1033 /out:"binReleaseSpheris.Common.dll.CodeAnalysisLog.xml" /file:"binReleaseSpheris.Common.dll" /directory:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727" /directory:"Crogram FilesReference AssembliesMicrosoftFrameworkv3.5" /rule:"Crogram FilesMicrosoft FxCop 1.36Rules" /ruleid:-Microsoft.Globalization#CA1301 /ruleid:-Microsoft.Globalization#CA1302 /ruleid:-Microsoft.Globalization#CA1303 /ruleid:-Microsoft.Globalization#CA1306 /ruleid:-Microsoft.Globalization#CA1304 /ruleid:-Microsoft.Globalization#CA1305 /ruleid:-Microsoft.Globalization#CA1300 /searchgac /ignoreinvalidtargets /forceoutput /successfile /ignoregeneratedcode /saveMessagesToReport:Active /targetframeworkversion:v3.5 /timeout:120
MSBUILD : error : Invalid settings passed to CodeAnalysis task. See output window for details.
If I look in the project properties, there is a conditional compilation symbol of "CODE_ANALYSIS". I think this is a leftover from when the project was started under VS2005 TFS. I cant seem to get rid of this symbol. If I delete the text and save the file, it appears to be gone but when I re-open VS it comes right back. It was there before but never caused a problem before I installed SP1. Weird thing is that in debug mode, I get this when I first hit F5. If I hit F5 again without changing anything, the program runs w/o error. So, Ive been ignoring it until now...when its time to deploy.
Any help would be greatly appreciated.
Thanks,
Ian
View the full article
Running Code Analysis...
Crogram FilesMicrosoft FxCop 1.36FxCopCmd.exe /outputCulture:1033 /out:"binReleaseSpheris.Common.dll.CodeAnalysisLog.xml" /file:"binReleaseSpheris.Common.dll" /directory:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727" /directory:"Crogram FilesReference AssembliesMicrosoftFrameworkv3.5" /rule:"Crogram FilesMicrosoft FxCop 1.36Rules" /ruleid:-Microsoft.Globalization#CA1301 /ruleid:-Microsoft.Globalization#CA1302 /ruleid:-Microsoft.Globalization#CA1303 /ruleid:-Microsoft.Globalization#CA1306 /ruleid:-Microsoft.Globalization#CA1304 /ruleid:-Microsoft.Globalization#CA1305 /ruleid:-Microsoft.Globalization#CA1300 /searchgac /ignoreinvalidtargets /forceoutput /successfile /ignoregeneratedcode /saveMessagesToReport:Active /targetframeworkversion:v3.5 /timeout:120
MSBUILD : error : Invalid settings passed to CodeAnalysis task. See output window for details.
If I look in the project properties, there is a conditional compilation symbol of "CODE_ANALYSIS". I think this is a leftover from when the project was started under VS2005 TFS. I cant seem to get rid of this symbol. If I delete the text and save the file, it appears to be gone but when I re-open VS it comes right back. It was there before but never caused a problem before I installed SP1. Weird thing is that in debug mode, I get this when I first hit F5. If I hit F5 again without changing anything, the program runs w/o error. So, Ive been ignoring it until now...when its time to deploy.
Any help would be greatly appreciated.
Thanks,
Ian
View the full article