Russ Nemhauser
Made Fresh Daily!
January 2008 - Posts
Code Analysis or Check-In Policy for Warnings
08 January 08 02:50 PM
|
russnem
| with
no comments
I've been doing a bunch of Google searches today trying to figure out how I might be able to raise a violation if somebody tries to do a check-in when there are more than 100 warnings in the solution. Because (as far as I know, anyway) the only object available to you in a check-in policy is the PendingCheckin, I'm finding it difficult to implement this. Does anyone know how I can approach this? I'm aware that Visual Studio will raise a violation when the number of warnings reaches a certain number, but this number is way too high for us. I thought of doing it as a Code Analysis policy, but several questions came up with that approach as well. First, in order to write a custom code analysis policy, I have to use th FxCop SDK 1.35, don't I? There isn't a "CheckInPolicy" abstract base class that I can just subclass, is there?
More Posts
Search
Go
This Blog
Home
About
Tags
.NET
Agile
ASP.NET
C#
General Software Development
Hosting
Internet Explorer
Microsoft
MIX
Mobile
Orcas
Silverlight
SQL Server
Team Foundation Server
Team System
Vista
Visual Studio
Navigation
Home
Blogs
Archives
October 2009 (1)
August 2009 (1)
March 2009 (1)
April 2008 (1)
March 2008 (1)
January 2008 (1)
November 2007 (1)
October 2007 (1)
September 2007 (2)
August 2007 (2)
June 2007 (1)
May 2007 (2)
April 2007 (1)
January 2007 (2)
November 2006 (1)
October 2006 (2)
September 2006 (3)
August 2006 (5)
July 2006 (1)
June 2006 (2)
May 2006 (1)
February 2006 (1)
January 2006 (3)
December 2005 (6)
November 2005 (2)
October 2005 (1)
September 2005 (6)
August 2005 (1)
July 2005 (7)
June 2005 (9)
May 2005 (5)
April 2005 (8)
March 2005 (3)
February 2005 (2)
November 2004 (1)
October 2004 (6)
September 2004 (1)
August 2004 (9)
About Me
Russology
Ninja Training
Blogs I Read
Rob Howard
Rocky Lhotka
Doug Seven
Scott Mitchell
Brian Randell
Steve Smith
Ken Getz
Scott Guthrie
Bernard Wong
Syndication
RSS
Atom
Comments RSS