Monday, June 06, 2005

Microsoft AntiSpyware blocks tests from running.

I had tried using Team System Test in VS2005 to develop test projects, but everytime when I started the test, the result shows "aborted", and Microsoft AntiSpyware pops up a box quickly.

This issuue has driven me nuts for a while until I found a known issue here:

Issue: Microsoft AntiSpyware blocks tests from running.

Details: If Microsoft AntiSpyware's real-time protection is enabled with the default configuration, the running of unit tests will be blocked and all tests will end in Aborted.

Workaround: Deactivate the Script Blocking Checkpoint in Microsoft AntiSpyware.

1. Open Microsoft AntiSpyware.
2. Select Real-time Protection.
3. Click the "Application Agents" link in the Security Agents Status panel.
4. A list of Application Agent Checkpoints will be displayed. Scroll down to find "Script Blocking."
5. Click on the "Script Blocking" checkpoint.
6. From the "Checkpoint Details" pane, choose "Deactivate Checkpoint."

No comments: