내가 설치 패키지 명령은 다음과 같은 오류 산출 실행 비주얼 스튜디오 2012 년 프로그램 관리자 콘솔에서 EntityFramework의 최신 버전을 설치하려고 해요 :EntityFramework 5 설치는 VS 실패 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
을 그래서 나는 구글에서 파고 들었고 다음과 같은 내용으로 Web.Config 파일에 입력했다. 다음 항목으로 EntityFramwork를 설치하려고 시도했습니다.
<section name="entityFramework" type="EntityFramework.dll, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
동일한 오류가 발생했습니다. 내 질문은 다음과 같습니다.
어떻게이 패키지를 설치할 수 있습니까? 상자 밖에서 이것이 작동하고 다른 패키지와 함께하면이 패키지가 쉽고 빠르게 설치할 수 없다는 사실이 어리석은 것처럼 보입니다.
FAQ 양식과 함께이 패키지의 설명서는 어디에 있습니까? 이것 역시 설치 문제에 대한 문서가 존재하지 않는 것처럼 보이지 않습니다.
미리 감사드립니다.
:: 편집 :
내가 나뿐만 아니라 web.config 파일에 다음 항목을 시도 추가하는 것을 잊었다 : 같은 오류가 굴복
<assemblies>
<add assembly="System.Data.Entity, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</assemblies>
....
죄송합니다. 작동하지 않습니다. 같은 오류가 발생합니다. –
@TechieJoe이 답변으로 문제가 해결되지 않으면 "수락 된 답변"을 변경 하시길 바랍니다 –