मैं दृश्य स्टूडियो 2012 में कार्यक्रम प्रबंधक कंसोल से EntityFramework के नवीनतम संस्करण को स्थापित करने के लिए चल रहा है स्थापित पैकेज आदेश निम्न त्रुटि पैदावार का प्रयास कर रहा हूँ:EntityFramework 5 स्थापित वी.एस. में विफल रहता है 2012
PM> install-package EntityFramework
You are downloading EntityFramework from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkId=253898&clcid=0x409. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'EntityFramework 5.0.0'.
Successfully uninstalled 'EntityFramework 5.0.0'.
Install failed. Rolling back...
install-package : Failed to add reference to 'System.Data.Entity'. Please make sure that it is in the Global Assembly Cache.
At line:1 char:1
+ install-package EntityFramework
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
इसलिए मैंने Google पर कुछ पोकिंग किया और वेब में प्रवेश करने के लिए निम्न के साथ आया। कॉनफिग फ़ाइल।
<section name="entityFramework" type="EntityFramework.dll, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
कौन सा एक ही गलती के परिणामस्वरूप: मैं निम्नलिखित प्रविष्टि के साथ EntityFramwork स्थापित करने में एक दूसरे प्रयास किया। मेरे प्रश्न ये हैं:
मैं इस पैकेज को कैसे स्थापित कर सकता हूं? बॉक्स में से यह काम करना चाहिए और अन्य पैकेजों के साथ करता है यह मूर्खतापूर्ण लगता है कि यह पैकेज जल्दी और आसानी से स्थापित नहीं किया जा सकता है।
इस पैकेज के लिए प्रलेखन के कुछ प्रकार के साथ प्रलेखन कहां मौजूद है? यह भी मूर्खतापूर्ण लगता है कि स्थापना के मुद्दों के लिए प्रलेखन मौजूद नहीं है।
अग्रिम धन्यवाद!
:: संपादित ::
मैं जोड़ने के लिए मैं भी web.config फ़ाइल में निम्न प्रविष्टि की कोशिश की भूल:
<assemblies>
<add assembly="System.Data.Entity, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</assemblies>
... जो एक ही त्रुटि सामने आए।
क्षमा करें, यह काम नहीं कर रहा है। मुझे समान त्रुटि मिली। –
@TechieJoe यदि यह उत्तर आपकी समस्या का समाधान नहीं करता है, तो मेरा सुझाव है कि आप "स्वीकृत उत्तर" –