" CSC.EXE"退出,代码为-2146232797 [英] "csc.exe" exited with code -2146232797

查看:1087
本文介绍了" CSC.EXE"退出,代码为-2146232797的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法在VS 2017上构建解决方案。

Not able to build the solution on VS 2017.

突然得到这个"csc.exe"退出时使用代码-2146232797 

All of a sudden getting this "csc.exe" exited with code -2146232797 

建议解决方案以解决此问题或只是帮助我推理。 

Suggest the solution to fix this issue or simply help me with reasoning. 

推荐答案

您是从命令行还是Visual Studio执行此操作?如果从命令行发布,则发布编译器的版本信息。还要确认您是从VS命令shell而不仅仅是DOS窗口运行命令。

Are you doing this from the command line or Visual Studio? If from the command line then post the version information for the compiler. Also confirm you're running the command from the VS command shell and not just a DOS window.

如果您从Visual Studio获取此命令,则创建一个新的控制台项目并尝试编译它。如果它有效,则问题在于您的解决方案。更多信息将非常有用。

If you're getting this from Visual Studio then create a new console project and try compiling it. If it works then the issue is with your solution. More information would be useful.


这篇关于" CSC.EXE"退出,代码为-2146232797的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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