Quantcast

Using FxCop with ASP.NET 2.0

Get the WebProNews Newsletter:
[ Business]

The build process in ASP.NET 2.0 is very different than in ASP.NET 1.x, because it does not produce a dll file.

That means that you cannot use FxCop because it can only work with dll and exe file types. However, there is a way to produce dll files from your web application within Visual Studio 2005 and those dll files can be used by FxCop.

These are the steps to follow to make FxCop analyse your web application:

Step 1

Create a new folder somewhere on the disk. It could be C:deploy

Step 2

Publish the web application into the new folder

Step 3

Open FxCop and add all the dll files from the newly created bin folder (C:deploybin) to be analyzed.

For those of us not using Visual Studio Team System, these are the steps we need to follow to analyse our web applications in FxCop. Let’s hope the next version of Visual Studio have fixed this issue.

Comments

Tag:

Add to Del.icio.us | Digg | Reddit | Furl

Bookmark WebProNews:

Mads Kristensen currently works as a Senior Developer at Traceworks located
in Copenhagen, Denmark. Mads graduated from Copenhagen Technical Academy with a multimedia degree in
2003, but has been a professional developer since 2000. His main focus is on ASP.NET but is responsible for Winforms, Windows- and
web services in his daily work as well. A true .NET developer with great passion for the simple solution.

http://www.madskristensen.dk/

Using FxCop with ASP.NET 2.0
Comments Off
About Mads Kristensen
Mads Kristensen currently works as a Senior Developer at Traceworks located in Copenhagen, Denmark. Mads graduated from Copenhagen Technical Academy with a multimedia degree in 2003, but has been a professional developer since 2000. His main focus is on ASP.NET but is responsible for Winforms, Windows- and web services in his daily work as well. A true .NET developer with great passion for the simple solution.

http://www.madskristensen.dk/ WebProNews Writer
Top Rated White Papers and Resources

Comments are closed.

  • Join for Access to Our Exclusive Web Tools
  • Sidebar Top
  • Sidebar Middle
  • Sign Up For The Free Newsletter
  • Sidebar Bottom