어셈블리에서 VS 2012 명령 프롬프트가 포함 된 제 3 자 DLL을 포함하여 강력한 키 이름을 지정한 후에 어셈블리 로딩 오류가 발생합니다.파일 또는 어셈블리 'Version = 3.0.1.0, PublicKeyToken = null 또는 해당 종속성 중 하나를로드 할 수 없습니다. 강력한 이름의 어셈블리가 필요합니다.
Could not load file or assembly ', Version=3.0.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
FileLoadException: Could not load file or assembly 'ClubStarterKit.Core, Version=3.0.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)]
System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) +0 `System.Reflection.RuntimeMethodInfo.get_ReturnType() +42 `System.Web.HttpApplicationFactory.ReflectOnMethodInfoIfItLooksLikeEventHandler(MethodInfo m) +19`
System.Web.HttpApplicationFactory.ReflectOnApplicationType() +374
System.Web.HttpApplicationFactory.CompileApplication() +143` System.Web.HttpApplicationFactory.EnsureInited() +80
System.Web.HttpApplicationFactory.SetupFileChangeNotifications() +67
System.Web.Compilation.BuildManager.CompileGlobalAsax() +57
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +269`
[HttpException (0x80004005): Could not load file or assembly 'ClubStarterKit.Core, Version=3.0.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +62
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +427
System.Web.Compilation.BuildManager.CallAppInitializeMethod() +31
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +530
[HttpException (0x80004005): Could not load file or assembly 'ClubStarterKit.Core, Version=3.0.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9873912
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +456
나는 모든 솔루션에서 모든 빈과 OBJ 폴더를 제거하고 다시 작성 및 배치 빌드 솔루션도 여전히 정확한 오류를 찾을 수 없습니다 어셈블리 버전을 변경하고 청소를 포함했다.
> [어셈블리를로드 할 수 없습니다] 어셈블리를 강력한 키 이름을주고 나서 : 모든 어셈블리가 어디에 서명 조립 있습니까 의존 (3D 파티 어셈블리 포함)도 서명 되었습니까? – k3b
ilasm의 제 3 자 어셈블리를 제외하고 VS 2012에서 다른 어셈블리에 서명하고이를 솔루션에 내 보냈습니다. –