William is correct. Team Build can't run Code Metrics & there's no way to invoke them outside of the IDE.
To achieve similar results, you can use the Code Analysis checkin policy and enable the "Maintainability Rules" http://ozgrant.com/2007/11/15/want-to-enforce-maintainable-code/ Regards, Grant Holliday | Team System MVP<https://mvp.support.microsoft.com/profile/Grant.Holliday> Email: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> | Blog: http://ozgrant.com<http://ozgrant.com/> | Mobile: +61 (0)402 414 446 ________________________________ From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of William Bartholomew [EMAIL PROTECTED] Sent: Thursday, 28 February 2008 4:30 PM To: [email protected] Subject: RE: [OzTFS] Code Metrics in Visual Studio 2008 Daniel, Unfortunately, this tool is part of the IDE and there doesn’t appear to be a way to run this separately. William From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, 28 February 2008 3:17 PM To: [email protected] Subject: [OzTFS] Code Metrics in Visual Studio 2008 Hi All, I have been having an experiment with the Code Metrics tool in visual studio 2008, does anybody know if it is possible to run this tool as part of a build process? Thanks Daniel -- This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please notify the sender and delete the transmission. The contents of this e-mail are the opinion of the writer only and are not endorsed by the Mincom Group of companies unless expressly stated otherwise. -- OzTFS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. View the web archives at http://www.mail-archive.com/[email protected]/ Powered by mailenable.com, supported by www.readify.net OzTFS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. View the web archives at http://www.mail-archive.com/[email protected]/ Powered by mailenable.com, supported by www.readify.net OzTFS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. View the web archives at http://www.mail-archive.com/[email protected]/ Powered by mailenable.com, supported by www.readify.net
