c# - 尝试在本地 iis 上运行 vs 2012 网站时出现编译器错误

标签 c# asp.net vb.net iis visual-studio-2012

当尝试在本地 iis 上运行 Visual Studio 2012 网站时,我在成功构建后在浏览器中收到以下信息。

Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: The compiler failed with error code -1073741511.

Show Detailed Compiler Output: c:\windows\system32\inetsrv>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe" /t:library /utf8output ...

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.81.0 1073741511

这可能是什么原因造成的?

最佳答案

我的问题的答案来自上面的两条评论。我使用 isos 修复了 VS2012 和更新 5 的安装。而且,dll 版本不正确。我想感谢 antlersoft 和 Paul Zahra。我该怎么做?

关于c# - 尝试在本地 iis 上运行 vs 2012 网站时出现编译器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33038337/

相关文章:

c# - 关于new { }的使用问题

asp.net - 如何计算 sqldatasource 获取的行数

c# - 将 float 和 double 值与 delta 进行比较?

c# - 在 C# 中将按钮添加到 TabControl 选项卡

c# - SQLCommand批量更新查询

c# - 垃圾收集器是否回收值类型内存

c# - Visual Studio 测试服务器上的 Server.TransferRequest

c# - 我可以在 SignalR Hub 中调试 OnConnected 方法吗?

mysql - Vb和MySQL连接和代码错误

c# - 在 SQL Server 或 C# 中创建一个 "dbf"文件