I have upgraded a WCF Service to .NET Framework 4.5. After doing so I noticed a blue squiggly line around the IMetaDataExchange
in the host config file.
Could it be that you lost your references when you upgraded the project? I noticed this error when my project containing my client had no reference to my project with my service.
I added System.ServiceModel to the references for the project and it went away
I've solved the problem. If you ever change your C# class in Service1.cs and IService1.cs. Also update the name attribute in the service element "<namespace>.<classname>" and contract attribute in the endpoind element "<namespace>.<classname>" in your App.config.
BTW. sorry for the bad english :)
IF you running Intellisense on the warning. It will bring up a list for you to choose from you can Explicitly call that member.
If deleting the .SUO file doesn't work, check your references to ensure that you have the System.ServiceModel reference. That ended up being the issue that brought me here.