gpt4 book ai didi

c# - csc.exe 已停止工作导致 '/' 应用程序中的服务器错误

转载 作者:可可西里 更新时间:2023-11-01 08:33:10 24 4
gpt4 key购买 nike

当我在 VS2015 上运行我的应用程序时,我看到一个窗口显示 csc.exe 已停止工作,如下所示:
enter image description here

单击关闭程序后,浏览器中出现另一个错误:

Server Error in '/' Application.

enter image description here

详细的编译器输出如下所示:

C:\Program Files (x86)\IIS Express>D:_myURL\bin\roslyn\csc.exe/t:library /utf8output /nostdlib+/R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll"/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.dll"

可能是什么问题?

最佳答案

我遇到了同样的问题,我建议按照描述的步骤进行操作 here :

  • 关闭 Visual Studio 2015 的所有实例,如果它们不这样做,它会自动消失,结束所有 VBCSCompiler 进程的任务。
  • 在 Bin 文件夹下的 Visual Studio 项目中,您将看到一个 roslyn 文件夹(VS 2015 的新文件夹)
  • 删除 roslyn 文件夹和其中的所有内容。
  • 重新启动 Visual Studio 2015
  • 重新构建您的项目,一切都会恢复正常。

关于c# - csc.exe 已停止工作导致 '/' 应用程序中的服务器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38715346/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com