Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/FxCop.cmd @ 7355

Last change on this file since 7355 was 7352, checked in by abeham, 13 years ago

#1759

  • Added simple command file to execute FxCop rules from HeuristicLab.FxCop.dll on all HeuristicLab.*.dll files in the bin directory
File size: 427 bytes
RevLine 
[7352]1@ECHO OFF
2
3SET Outdir=bin
4SET FXCOPCMD=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\FxCopCmd.exe
5
6ECHO. > FxCopResults.txt
7
8FOR /F "tokens=*" %%G IN ('DIR /B %Outdir%\HeuristicLab.*.dll') DO (
9  ECHO Performing Code Analysis on %Outdir%\%%G
10  "%FXCOPCMD%" /file:%Outdir%\%%G /rule:+HeuristicLab.FxCop.dll /directory:%Outdir% /console /quiet >> FxCopResults.txt
11)
12
13PAUSE
Note: See TracBrowser for help on using the repository browser.