Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You can publish your website, it will generate dlls on which you can run fxcop.</p> <p><a href="http://madskristensen.net/post/Use-FxCop-with-ASPNET-20.aspx" rel="nofollow noreferrer">Use-FxCop-with-ASPNET-20</a></p> <hr> <p>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.</p> <p>These are the steps to follow to make FxCop analyse your web application:</p> <p><strong>Step 1</strong></p> <p>Create a new folder somewhere on the disk. It could be C:\deploy</p> <p><strong>Step 2</strong></p> <p>Publish the web application into the new folder</p> <p><a href="https://i.stack.imgur.com/PgwF6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PgwF6.png" alt="enter image description here"></a></p> <p><a href="https://i.stack.imgur.com/4y7Xn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4y7Xn.png" alt="enter image description here"></a></p> <p><strong>Step 3</strong></p> <p>Open FxCop and add all the dll files from the newly created bin folder (C:\deploy\bin) to be analyzed.</p> <p><a href="https://i.stack.imgur.com/TZqaD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TZqaD.png" alt="enter image description here"></a></p> <p>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.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload