Running FxCop over ASP.NET 2.0 Web Sites

Mads Kristensen has posted an easy solution to the problem of running FxCop over ASP.NET 2.0 web sites There are a couple of things that I want to add to his post: When you run FxCop over the published assemblies, make sure you pass the /asp switch (this is only available in FxCop 1.35). This prevents…

1

FAQ: What is the GlobalSuppressions.cs/GlobalSuppressions.vb file and why is it needed? Is it possible to change the name of this file? [David Kean]

I’ve noticed that Code Analysis sometimes places suppressions in a file called GlobalSuppression.cs (GlobalSuppressions.vb in Visual Basic). Why this is file needed and it is possible to change its name? What is this file? When you right-click on a warning and choose Suppress Message(s), Code Analysis checks to see if the warning was raised against an…

1

A couple of new Orcas features for Managed Code Analysis [David Kean]

Yesterday our team, Code Analysis, checked-in the last of our scheduled feature work for the next version of Visual Studio; Orcas. Now that I have a little time up my sleeve, I thought I would cover a couple of new features that you may have already seen in the Orcas October CTP. First, before I detail what…

8

FxCop (Team System) Chat Tomorrow

Join members of the Visual Studio Team System product group to discuss features available in Visual Studio Team Foundation Server, Team Editions for Architects, Developers, Database Pros, and Testers. In addition, discuss what’s new in the latest Community Technology Preview (CTP). Join the chat on Wednesday, December 6th, 2006 from 10:00am – 11:00am Pacific Time. Add…

0

FAQ: How do I share Managed Code Analysis rule settings over multiple projects? [David Kean]

If your team has a minbar of Managed Code Analysis rules that must be explicitly fixed or suppressed, it is possible to share the Managed Code Analysis rule settings over multiple MSBuild projects (.csproj, .vbproj). To share the minbar between multiple projects, do the following: Using Visual Studio, create a new empty project In Solution Explorer, right-click…

9

FxCop (Team System) Chat Tomorrow

Update: The transcript for this chat can be found here. Join members of the Visual Studio Team System product group to discuss features available in Visual Studio Team Foundation Server, Team Editions for Architects, Developers, Database Pros, and Testers. In addition, discuss what’s new in the latest Community Technology Preview (CTP). Join the chat on…

0

How would you rate the usefulness of this content? [David Kean]

At Microsoft, we have a number of internal tools and websites that help improve our interaction with the community. One such site at our disposal is a tool that helps us browse feedback provided about MSDN Library topics. This feedback, which at times can be very telling, is provided via a rating scale and comments text box at the bottom of each page…

0

Visual Studio 2005 SP1 Bug Fixes

Following Brian Harry’s lead and transparency, below is list of Managed Code Analysis fixes that made it into Visual Studio 2005 Service Pack 1.  Analysis FxCop reporting CA1811 on private const, while const is being used in code. Microsoft.VisualBasic.ComClassAttribute cause VB.NET compiler to generate code that doesn’t comply with design rules and gets noisy in FxCop…

3

FxCop (Team System) MSDN Chat Roundup

Update: The transcript for this chat can be found here.  Once again we had another really successful chat with over 320 customers attending. Thank you to all that attended, you asked some really good questions. The following is a list of questions/answers that were asked about FxCop/Managed Code Analysis: Michael Fanning [MS] (Expert):Q: Is Prefast within…

0

FxCop (Team System) MSDN Chat

Come and join members from the Visual Studio Team System product group to discuss features available in Visual Studio Architect, Developer, Database and Tester editions and Team Foundation Server, as well those in the new found in the new Visual Studio Orcas CTP and Visual Studio 2005 Team Edition for Database Professionals CTP 5. There…

0