कल से विजुअल स्टूडियो 2012 आरसी का उपयोग शुरू किया, हमारे पास एक डब्ल्यूसीएफ समाधान है। जब भी मैं किसी अन्य समाधान में "जोड़ें/निकालें संदर्भ" संवाद का उपयोग करने का प्रयास करता हूं, तो सेवा जोड़ने के बाद मुझे त्रुटि नीचे मिलती है।विजुअल स्टूडियो 2012 त्रुटि संदर्भ.svcmap फेंकने त्रुटि
Error 1 Reference.svcmap: Failed to generate code for the service reference 'DPService'. Cannot import wsdl:portType Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter Error: Type 'WebSupergoo.ABCpdf8.Objects.Bookmark' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'WebSupergoo.ABCpdf8.Objects.Bookmark' to remove references to itself. XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='IGQDynamicPackaging'] 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='IGQDynamicPackaging'] XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='WSHttpContextBinding_IGQDynamicPackaging'] 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='WSHttpContextBinding_IGQDynamicPackaging'] XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:service[@name='GQService']/wsdl:port[@name='WSHttpContextBinding_IGQDynamicPackaging'] App_WebReferences/DPService/
कृपया ध्यान दें कि: कहा सेवा ठीक से काम कर रहा था जब मैं वी.एस. 2010 का इस्तेमाल किया आपके संदर्भ के लिए, हम "पुन: उपयोग प्रकार संदर्भित विधानसभाओं में" का उपयोग कर रहे चालू है और "सभी संदर्भित विधानसभाओं में पुन: उपयोग के प्रकार" विकल्प चेक किया ।
वही सेटिंग्स वीएस 2010 के साथ ठीक काम कर रही थीं और हम संदर्भ जोड़ सकते हैं। लेकिन अब, वीएस 2012 आरसी स्थापित करने के बाद, मैं वीएस 2010 और वीएस2012 दोनों के लिए संदर्भ जोड़ने में सक्षम नहीं हूं। इसके लिए किसी भी soluton या काम करते हैं।
मैं सिर्फ रोलबैक करना चाहता हूं और वीएस -2010 का उपयोग करना चाहता हूं, "सेवा जोड़ें" अब वीएस 2010 में एक ही संदर्भ त्रुटि देता है।
मुझे एक ही समस्या है, कोई अपडेट? –
मैं 2012 बनाम अनइंस्टॉल कर रहा हूं और .NET 4.5 को अनइंस्टॉल कर दूंगा, क्या आपने ऐसा करने का प्रयास किया था? क्या यह उपयोगी था? –
हाय एमएसएस, हमने अभी तक इसे अनइंस्टॉल करने का प्रयास नहीं किया है। अनइंस्टॉल करने के बाद क्या आपको कोई सफलता मिलती है? इस पर अपना इनपुट सराहना करें। – amaz