ScottD's Musings

C#, .NET, ASP.NET, Automated Unit Testing, Middle Tier Development, and various topics!

News

<script src="http://jobburner.com/adclient.ashx?/0/6" type="text/javascript"></script>

Visual C# MVP

»telligent Bloggers

.NET Community

About Me

Blogs I Read

Cool Utilities

Lists - Others

Lists - Scooter's

Microsoft Events

Other Posts

VSTS Unit Testing & Microsoft AntiSpyware Beta

Thanks to Dave Bost AGAIN, for saving us developers precious time. :)  First he published a GREAT MSDN article on installing VSTS.  Recently he resolved something that I ran into last week on a new machine build - the fact that the Microsoft AntiSpyware Beta effectively kills Unit Testing with Visual Studio 2005 Beta 2 by blocking the resulting scripts from executing.  When you execute your tests, the Unit Testing Framework will generate dynamic scripts (with dynamic filenames), and attempt to execute them - but the AntiSpyware app blocks execution, and asks you for approval to execute.   The first problem is that VS 2005 completes execution and returns you to source view quicker than you can click the "Approve" button.  In addition, because the filenames are dynamically generated, each subsequent execution creates a new script, and each are blocked in succession. 

Dave's post with resolution instructions (turn off AntiSpyware's Script Blocking component) are located in his blog post.

Thanks Dave - You da man!

Comments

Dave Bost said:

You're Welcome! :)

Don't you love running into these little "gotchas" with Beta software???
# May 11, 2005 2:42 PM