From: Owen R. <exo...@us...> - 2005-09-08 12:42:47
|
Update of /cvsroot/netreflector/NetReflector In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8955 Modified Files: netreflector.FxCop reflector.build Log Message: fixed vil upgraded fxcop Index: netreflector.FxCop =================================================================== RCS file: /cvsroot/netreflector/NetReflector/netreflector.FxCop,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** netreflector.FxCop 15 Nov 2004 05:13:00 -0000 1.1 --- netreflector.FxCop 8 Sep 2005 12:42:25 -0000 1.2 *************** *** 1,4 **** <?xml version="1.0" encoding="utf-8"?> ! <FxCopProject Version="1.3" Name="My FxCop Project"> <ProjectOptions> <SharedProject>False</SharedProject> --- 1,4 ---- <?xml version="1.0" encoding="utf-8"?> ! <FxCopProject Version="1.312" Name="My FxCop Project"> <ProjectOptions> <SharedProject>False</SharedProject> *************** [...2286 lines suppressed...] ! <Name>Types should not extend certain base types</Name> ! <Description>Types do not extend inheritance vulnerable types.</Description> ! <Resolution Name="System.ApplicationException">Change {0}'s base type so that it no longer extends {1}. This base exception type does not provide any additional value for framework classes. Extend System.Exception or an existing unsealed exception type instead. Do not create a new exception base type unless there is specific value in enabling the creation of a catch handler for an entire class of exceptions.</Resolution> ! <Owner /> ! <Url>http://www.gotdotnet.com/team/fxcop/docs/rules.aspx?version=1.312&&url=/Design/TypesShouldNotExtendCertainBaseTypes.html</Url> <Email>ask...@mi...</Email> ! <MessageLevel Certainty="75">Error</MessageLevel> ! <File Name="DesignRules.dll" Version="1.312.0.0" /> </Rule> ! <Rule TypeName="UseLiteralsWhereAppropriate" Category="Microsoft.Performance" CheckId="CA1802"> ! <Name>Use literals where appropriate</Name> ! <Description>Prefer literals over InitOnly fields if values do not have to be calculated at runtime.</Description> ! <Resolution Name="Default">Field '{0}' is declared as 'static readonly' but is initialized with a constant value '{1}'. Mark this field as 'const' instead.</Resolution> ! <Owner /> ! <Url>http://www.gotdotnet.com/team/fxcop/docs/rules.aspx?version=1.312&&url=/Performance/UseLiteralsWhereAppropriate.html</Url> <Email>ask...@mi...</Email> ! <MessageLevel Certainty="95">Warning</MessageLevel> ! <File Name="PerformanceRules.dll" Version="1.312.0.0" /> </Rule> </Rules> Index: reflector.build =================================================================== RCS file: /cvsroot/netreflector/NetReflector/reflector.build,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** reflector.build 8 Sep 2005 02:03:18 -0000 1.14 --- reflector.build 8 Sep 2005 12:42:25 -0000 1.15 *************** *** 20,23 **** --- 20,24 ---- <property name="vil.assemblies" value="${core.dll},${test.dll}" /> <property name="nunit.output" value="Plain"/> + <property name="CCNetLabel" value="1.0.0.0" overwrite="false" /> <!-- ALL --> *************** *** 151,174 **** <!-- FOR RUNNING CCNET AGAINST ITSELF --> ! <target name="ContinuousIntegration"> ! <if test="${not property::exists('CCNetLabel')}"> ! <fail message="CCNetLabel property not set, so can't create labelled distribution files" /> ! </if> ! ! <call target="transform.build.number" /> ! <call target="createAssemblyInfo" /> ! <call target="all.ccnet" /> ! <call target="dist.publish" /> ! <call target="reporting" /> ! <echo message="CI Run for build number ${CCNetLabel} successfully completed" /> ! </target> ! ! <target name="transform.build.number" > ! <property name="build.number" value="1.0.0.${CCNetLabel}" /> ! <echo message="Build number: ${build.number}"/> ! </target> <target name="createAssemblyInfo" description="Create an assembly info file with the current build number" > - <asminfo output="src/NetReflector/VersionAssemblyInfo.cs" language="CSharp"> <imports> --- 152,158 ---- <!-- FOR RUNNING CCNET AGAINST ITSELF --> ! <target name="ContinuousIntegration" depends="createAssemblyInfo,all.ccnet,dist.publish,reporting" /> <target name="createAssemblyInfo" description="Create an assembly info file with the current build number" > <asminfo output="src/NetReflector/VersionAssemblyInfo.cs" language="CSharp"> <imports> *************** *** 176,180 **** </imports> <attributes> ! <attribute type="AssemblyVersionAttribute" value="${build.number}" /> </attributes> </asminfo> --- 160,164 ---- </imports> <attributes> ! <attribute type="AssemblyVersionAttribute" value="${CCNetLabel}" /> </attributes> </asminfo> *************** *** 187,202 **** </target> ! <target name="reporting" depends="compile"> <mkdir dir="${build.dir}\fxcop" /> <exec program="tools\fxcop\fxcopcmd.exe" commandline="/file:${build.dir}\NetReflector.dll /o:${build.dir}\fxcop\netreflector-fxcop.xml" failonerror="false"/> - <call target="vil" /> </target> <target name="vil"> <exec program="${vil.executable}" ! workingdir="${build.dir}\webdashboard" ! commandline='/a="${vil.assemblies}" /outxml="../NetReflector.results-vil.xml" /m classes,enumerations,structs,types,LOC,events,impInterfaces,WMC,DIT,CBO,RFC,NOC,constructors,methods,imps,fields,properties /sc=type' failonerror="false"/> ! </target> </project> \ No newline at end of file --- 171,188 ---- </target> ! <target name="reporting" depends="compile,fxcop,vil" /> ! ! <target name="fxcop"> <mkdir dir="${build.dir}\fxcop" /> <exec program="tools\fxcop\fxcopcmd.exe" commandline="/file:${build.dir}\NetReflector.dll /o:${build.dir}\fxcop\netreflector-fxcop.xml" failonerror="false"/> </target> <target name="vil"> + <mkdir dir="${build.dir}\vil" /> <exec program="${vil.executable}" ! workingdir="${build.dir}" ! commandline='/a="${vil.assemblies}" /outxml="vil\NetReflector.results-vil.xml" /m classes,enumerations,structs,types,LOC,events,impInterfaces,WMC,DIT,CBO,RFC,NOC,constructors,methods,imps,fields,properties /sc=type' failonerror="false"/> ! </target> </project> \ No newline at end of file |