Any ideas on how this error message goes away?
Cannot start the process E: \ Program Files \ Microsoft FxCop 1.36 \ FxCop.exe \ FxCopCmd.exe / forceoutput / gac / ignoregeneratedcode / f: \ Sacog \ bin \ Debug \ Sacog.dll / out: 05A1B22A-DE6E-49ae -AA30 -DC52A074EF22 \ fxcop-result.xml: file not found
I needed to install the following in the buildAgent.properties file
system.FxCopRoot = c: \\ Program Files (x86) \\ Microsoft FxCop 1.36
Make sure you avoid the colon and backslash.
bin, , FxCop. FxCop; , FxCop tp.
.
" FxCop" ?
, FxCop.exe .
, "" FxCop?
FxCop ROOT BuildAgent...
/f:\Sacog\bin\Debug\Sacog.dll
Sacog.dll . , , , TeamCity FxCop. \ "" " / 3: ".
\
FXCop PATH.
In addition, NAnt contrib has a fxcop task. Use it like this:
<loadtasks> <fileset basedir="${environment::get-variable('NAntContribHome')}"> <include name="NAnt.Contrib.Tasks.dll" /> </fileset> </loadtasks> <target name="fxCop" depends="compile"> <fxcop analysisReportFilename="fxCopResults.xml" failOnAnalysisError="false" > <targets> <includes name="BinaryToAnalyse.dll" /> </targets> <rules> <includes name="C:\Program Files\Microsoft FxCop 1.36\Rules\*Rules.dll" /> </rules> </fxcop> </target>
Source: https://habr.com/ru/post/1708826/More articles:WebLogic "MDB application is not connected to the messaging system" - java-eehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1708822/qt-double-buffering-are-there-any-neat-tricks-to-capture-pixels-or-manipulate-the-back-buffer&usg=ALkJrhiJIvsdXJrJG2tBYV-D5NpvWiltiA"Устаревшая" нотация для компилятора Sun С++? - c++wcf: adding username to message header is safe? - securityASP.NET MVC Ajax Form OnFailure никогда не звонил! - asp.net-mvcDetermine if the program is an active window in .NET. - user-interfacePrototype and Ajax.Request scope - javascriptCapturing .Net Thread End Event - multithreadingInvalidOperationException - прекращение редактирования ячейки и перемещение в другую ячейку - c#How to set source for java libraries in Eclipse? - javaAll Articles