Groups | Blog | Home
all groups > c# > june 2005 >

c# : Write test project in VS2005.


Jianwei Sun
6/5/2005 10:12:20 PM
Hi, Dear gurus,

I started to write a test project in VS 2005. I created a blank test
project generated by wizard.

Every time, when I start the project, the result is "Aborted", and the
information is "No process is associated with this object".

I think I may need to attach some external process to the debug process,
but does VS2005 comes with such a tool like NUnit GUI or Console.


Thanks a lot.
Jianwei Sun
6/6/2005 9:10:53 AM
For anybody who may be interested, I found the issue, it is "Microsoft
AntiSpyware blocks tests from running".

Here is what is published in MS.

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."



[quoted text, click to view]
AddThis Social Bookmark Button