Asp.net运行时错误:无法加载文件或程序集'microsoft.codedom.providers.dotnetcompilerplatform [英] Asp.net runtime error: could not load file or assembly 'microsoft.codedom.providers.dotnetcompilerplatform

查看:648
本文介绍了Asp.net运行时错误:无法加载文件或程序集'microsoft.codedom.providers.dotnetcompilerplatform的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个ASPX HTML C#网站与另一个人合作。

他在这个项目上取得了很大进展,当我在我的PC上运行它(Visual Studio 2017专业版)时,它给了它以下错误:



ASP.NET运行时错误:无法加载文件或程序集'Microsoft.CodeDom.Providers.DotNetCompilerPlatform,Version = 1.0.8.0,Culture = neutral ,PublicKeyToken = 31bf3856ad364e35'或其依赖项之一。找到的程序集的清单定义与程序集的引用不匹配



有人可以帮助我吗?



< b>我尝试了什么:



我试过谷歌搜索,因为我完全不知道为什么会发生这种情况,没有几个答案我找到了。

I'm making a ASPX HTML C# Website togheter with another person.
He made a lot of progress on the project and when I ran it on my PC (Visual Studio 2017 professional) it gave the following error :

ASP.NET runtime error: Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform,Version=1.0.8.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly's reference

Could someone please help me?

What I have tried:

I have tried googling as I have absolutely no idea why this is happening to me, no of the few answers i found worked.

推荐答案

检查一下: c# - 无法找到CodeDom提供程序类型Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider - 堆栈溢出 [ ^ ]

Annou结束DotNetCompilerPlatform 1.0.2发布| .NET Web开发和工具博客 [ ^ ]

无法在Web服务器上运行ASP.net页面 [ ^ ]



这可能有助于解决您的问题。
Check this: c# - The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider" could not be located - Stack Overflow[^]
Announcing the DotNetCompilerPlatform 1.0.2 release | .NET Web Development and Tools Blog[^]
Unable to run ASP.net pages on web server[^]

This may help to solve your issue.


这篇关于Asp.net运行时错误:无法加载文件或程序集'microsoft.codedom.providers.dotnetcompilerplatform的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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