I am in the process of moving all of my development onto a different PC. I have installed Visual Studio 2010, and copied my projects to the new PC. When I open one of the solutions--it's a large solution with several projects, including a website--I get the following error when I build:
Reference.svcmap: Failed to generate code for the service reference 'WindfallGlobalServices'. Cannot import wsdl:portType Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter Error: Type 'DevExpress.XtraPivotGrid.Customization.PivotCustomizationTreeNodeBase' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'DevExpress.XtraPivotGrid.Customization.PivotCustomizationTreeNodeBase' to remove references to itself. XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='IServices'] Cannot import wsdl:binding Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on. XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='IServices'] XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='BasicHttpBinding_IServices'] Cannot import wsdl:port Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on. XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='BasicHttpBinding_IServices'] XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:service[@name='Services']/wsdl:port[@name='BasicHttpBinding_IServices']
I only get this on the new PC…not the old one. I've tried looking for an answer via Google and the support tickets here, but have not found a solution. Would you have any idea what might be causing this? I can send you the project, but it would be about 46MB (with the App_Themes directory included). I have tried removing all of the service references (4 of them) and re-adding them. I've tried turning off the "Reuse types in referenced assemblies". Nothing, so far, has worked. I understand that this most likely is no related to your product, but I need to start somewhere.
This is rather crucial to getting my work done, so I have marked this ticket as urgent. I can't fully switch to the new PC until I get this resolved. I have moved PCs before, but I have never run into this issue before. Plus, I have not had WCF service references before.
Thanks,
Kevin