, 여기에 명령을 내가Nuget 비계 설치 실패
PM> install-package T4Scaffolding
PM> install-package MvcScaffolding
을 실행하고 T4Scaffolding를 설치하는 날이 오류를 제공합니다 있습니다 :
Import-Module : Could not load file or assembly 'file:///path/packages\T4Scaffolding.1.0.5\tools\T4Scaffolding.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
내가 다시 설치 사용하는 경우 설치하지만 난 비계 명령을 사용할 때 날이 오류를 제공
PM> Scaffolding Mailer.Razor UserMailer subs
,
The term 'Scaffolding' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:12 + Scaffolding <<<< Mailer.Razor UserMailer subs + CategoryInfo : ObjectNotFound: (Scaffolding:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
패키지를 제거하고 삭제하고 다시 설치했지만 운이 없었습니다. 두 패키지 모두에서 update 명령을 시도했지만 아무것도 표시하지 않았습니다. 내가 가져 오기 모듈 "하는 DLLPath"
을 실행하면
나는 같은 오류 메시지가 즉
설치, 변경 가능한 모든 아무것도를 다시 설치하지 제거 후 VS를 다시 시작했습니다.Could not load file or assembly 'file:///path/packages\T4Scaffolding.1.0.5\tools\T4Scaffolding.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
내가 잘못하고있는 것.
편집 : ".이 어셈블리가 현재로드 된 런타임보다 최신 런타임에 의해 건설되고 를로드 할 수없는"나는
PS C:\Windows\system32> import-module "path\T4Scaffolding.1.0.5\tools\T4Scaffolding.dll" Import-Module : Could not load file or assembly 'file:///path\T4Scaffolding.1.0.5\tools\T4Scaffolding.d ll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. At line:1 char:14 + import-module <<<< "path\T4Scaffolding.1.0.5\tools\T4Scaffolding.dll" + CategoryInfo : NotSpecified: (:) [Import-Module], BadImageFormatException + FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.PowerShell.Commands.ImportModuleCommand
그것은 오류를 제공 파워 쉘을 사용하는 시도 나는 여기서 실패의 시작점이라고 믿는다. 어떤 생각? 이것을 먼저 고치는 법.