When using the ServiceModel assembly while trying to fake a SOAP service I get the error below that prompts me to load the Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.pdb. Error copied to the clipboard is as follows:System.InvalidProgramException occurred HResult=-2146233030 Message=Common Language Runtime detected an invalid program. Source=System.ServiceModel StackTrace: at System.ServiceModel.ServiceHost..ctor(Object singletonInstance, Uri[] baseAddresses) at Microsoft.VisualStudio.TestPlatform.TestExecutor.TestExecutorMain.Run(String[] args) InnerException: After it goes into this failure state, I have to then remove my reference to the ServiceModel assembly from the project and its corresponding fake just to get any of my other non-fake tests to run. This failure completely corrupts the test project until the reference is deleted and recompliled.
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...