Andrew Stopford's Weblog

poobah

Sponsors

News

Articles

Family

Old Blogs

FxCop and ASP.NET

Another handy VSTS feature is that you can test ASP.NET code behind with FxCop, I can't seem to find a way to simply do this using the FxCop GUI or command line for CCNet. Any approaches or suggestions welcome.

Update:

A bit ad-hoc but I came up with the following 

Go to

 

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\MyTest

 

Where MyTest is your project folder

 

Select details view from Explorer so you can see which folder is the newer folder and open it up

 

Select details view again and hunt down the App_Web dll file that is the latest e.g.

 

App_Web_cxauo9ex.dll

 

You can then add this as a target in your FxCop project.

Comments

Lalit Kale said:

Thanks a lot for sharing this info.I am looking for the same from previous 2 months.

# May 22, 2007 2:06 AM

Jane said:

Thanks for sharing this, I'd been hunting around for a good solution :-)

# July 25, 2007 11:03 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)