无法加载文件或程序集'或其依赖项之一。此程序集由比当前加载的运行时更新的运行时构建,无法加载 [英] Could not load file or assembly ' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded

查看:148
本文介绍了无法加载文件或程序集'或其依赖项之一。此程序集由比当前加载的运行时更新的运行时构建,无法加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在共享远程托管上托管了我的网站,但每当我尝试访问我的域名网址时,我都会收到以下错误。

无法加载文件或程序集或其中一个依赖项。这个程序集是由比当前加载的运行时更新的运行时构建的,无法加载。



我已经在asp.net mvc中开发了我的应用程序并托管在windows主机上。我已经尝试了很多东西,但却取得了成功。请帮助我

i have hosted my site on shared remote hosting but whenever i try to access my domain url i am getting the below error.
Could not load file or assembly or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

i have developed my application in asp.net mvc and hosted on windows hosting. i have tried a lot to sole this but invain. pls help me out

推荐答案

读取就像使用较新的.NET-Framework(例如4.5)构建应用程序而不是托管服务提供商支持。请咨询您的提供商,了解支持哪些.NET-Framework版本,并更改​​应用程序的平台-Target(也许您的提供商也能够升级.NET-Framework本身)
reads like you built your application using a newer .NET-Framework (e.g. 4.5) than your hosting provider supports. Check with your provider what .NET-Framework Versions are supported and change the platform-Target of your application (maybe your provider is also capable of upgrading the .NET-Framework itself)


这篇关于无法加载文件或程序集'或其依赖项之一。此程序集由比当前加载的运行时更新的运行时构建,无法加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆