0

I am trying to debug a nunit unit test using Resharper in Visual Studio 2013.

I can run the test successfully although when I attempt to debug the test inside VS using Resharper I get the below warning msg.

"Microsoft WCF Service Host"

"The target assembly contains no service types. You may need to adjust the Code Access Security policy of this assembly."

The test does not fail and Visual Studio said it is "Running" although no break points are hit (in the test) nor does it throw any kind of exception or error.

Has anyone encounter this and know what a solution is?

Error: The target assembly contains no service types.  You may need to adjust the Code Access Security policy of this assembly.

ojhawkins
  • 3,200
  • 15
  • 50
  • 67

1 Answers1

0

Found the answer for anyone else interested.

How can I get rid of the "The target assembly contains no service types" error message in VS2008?

I had 1 project in a solution of around 90 which had the WCF Option enabled.

Community
  • 1
  • 1
ojhawkins
  • 3,200
  • 15
  • 50
  • 67