I got the following error while trying to add service reference to a ASP.NET MVC 5 web application in Visual Studio 2012. I already have a reference to Microsoft.Owin.Security version 3.0.0.0 in my project. Should I also add for the 2.0.1.0 version?
Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter
Error: Could not load file or assembly 'Microsoft.Owin.Security, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='IMyService']
This guy here had a similar issue but no one answered..