简体   繁体   English

无法加载文件或程序集及其依赖项之一

[英]Could not load file or assembly and one of its dependencies

Could not load file or assembly 'interfaces, Version=1.0.5948.18141, Culture=neutral, PublicKeyToken=null' or one of its dependencies.无法加载文件或程序集“接口,版本=1.0.5948.18141,文化=中性,PublicKeyToken=null”或其依赖项之一。 The system cannot find the file specified.该系统找不到指定的文件。

I have no idea what is causing this or how I could debug it to find the cause.我不知道是什么导致了这种情况,也不知道如何调试它以找到原因。

  • Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +0 Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +0
  • Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) +34 Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) +34

Can't find any reference anywhere which goes against 1.2.0.0 in any of my projects.在我的任何项目中都找不到任何与 1.2.0.0 相悖的参考。

Any ideas how I should go about solving this?我应该如何解决这个问题的任何想法?

I would also appreciate tips on how to debug problems like this in general.我也很感激有关如何调试此类问题的提示。

Interfaces is part of the Umbraco.Cms.Core package.接口是 Umbraco.Cms.Core 包的一部分。 Looking at another example:再看另一个例子:

<Reference Include="interfaces, Version=1.0.5948.18141, Culture=neutral, processorArchitecture=MSIL">
  <HintPath>..\packages\UmbracoCms.Core.7.4.3\lib\interfaces.dll</HintPath>

Look in you UmbracoCms.Core.xxx\\lib\\ folder in your packages folder to see if it's there.查看您的包文件夹中的 UmbracoCms.Core.xxx\\lib\\ 文件夹,看看它是否在那里。 If not re-install/force get from Nuget and good luck!如果不重新安装/强制从 Nuget 获取并祝你好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载文件或程序集&#39;&#39;或其依赖项之一 - Could not load file or assembly '' or one of its dependencies 无法加载文件或程序集或其依赖项之一 - Could not load file or assembly or one of its dependencies 无法加载文件或程序集或其依赖项之一 - could not load file or assembly or one of its dependencies 无法加载文件或程序集或其依赖项之一 - Could not load file or assembly or one of its dependencies 无法加载文件或程序集“WebGrease”或其依赖项之一 - Could not load file or assembly 'WebGrease' or one of its dependencies 无法加载文件或程序集“ EfTidyNet”或其依赖项之一 - Could not load file or assembly 'EfTidyNet' or one of its dependencies 错误原因:无法加载文件或程序集”或其依赖项之一 - What cause to error: Could not load file or assembly '' or one of its dependencies 无法加载文件或程序集“ tesseract.dll”或其依赖项之一 - Could not load file or assembly 'tesseract.dll' or one of its dependencies 无法加载文件或程序集“ __App_Code”或其依赖项之一 - Could not load file or assembly '__App_Code' or one of its dependencies 无法加载文件或程序集或其依赖项之一,错误消息已更改 - Could not load file or assembly or one of its dependencies, error message changing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM