2

After freshly rebooting, I get the error in the title if I attempt to debug even the simplest, most trivial unit test.

enter image description here

It's the same problem as this question, but I don't see a good answer in there.

Any help anyone could provide would be appreciated immensely.

Community
  • 1
  • 1
Adam Rackis
  • 82,527
  • 56
  • 270
  • 393
  • possible duplicate of [Every other Visual Studio "run test" attempt results in "Unable to start program QTAgent32.exe"](http://stackoverflow.com/questions/6307036/every-other-visual-studio-run-test-attempt-results-in-unable-to-start-program) – Johan Sep 20 '11 at 22:06

2 Answers2

2

This is a known bug per microsoft and one of the work arounds fixed it to me:

It looks like Visual Studio insists building projects that started their life as a WCFService Application. After removing the WCF Service Application specific tags from the csproj xml files, unit tests work every time. I removed the following tags: Under Property Group: Remove ProjectTypeGuids and StartArguments Remove entire ProjectExtensions node

FYI, to edit a project file first right click and unload the project. Then right click again and edit project file. The removed attributes shouldn't affect the running of the WCF service

source

Community
  • 1
  • 1
Ben Anderson
  • 7,003
  • 4
  • 40
  • 40
2

We were able to solve this problem by turning off IntelliTrace. Tools->Options->IntelliTrace, uncheck "Enable IntelliTrace".

Richard Guion
  • 427
  • 5
  • 14
  • Instead of copy pasting the answer from another question. It's better to point the OP to that question instead. – Johan Sep 20 '11 at 22:07