Visual Basic命令行编译器已停止工作 [英] Visual Basic Command Line Compiler has stopped working

查看:1894
本文介绍了Visual Basic命令行编译器已停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天,我可以使用Visual Studio 2010没有任何问题。但是,今天我打开电脑,并试图打开我的项目(Visual Basic.NET的Web应用程序)在VS2010再次,我有一个消息框,如下所示:

Yesterday, I could work with Visual Studio 2010 without any problem. However, today after I turned on the computer and tried to open my project (Web application with Visual Basic.NET) on VS2010 again, I got a message box showing as below:

后来,我发现在我尝试删除suo文件后,每当我打开时都会显示此消息框在Visual Studio中的一些文件,所以我试图运行应用程序。然后,我发现另一个消息框弹出如下:

Later, I found out after I tried deleting suo file that this message box will show up whenever I open some file in Visual Studio so I tried to run the application. Then, I found another message box popped up as below:

关闭讯息框后,我终于有了这个视窗。

And after I close the message box, I finally got this window

它说:
编译错误
编译器错误消息:编译器失败,错误代码为-1073741511。

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

我已经通过互联网搜索解决方案。我发现了一些可能解决方案,如扫描病毒,使用干净启动的方法。我也试过修复和卸载VS2010和.NET框架,但没有一个仍然工作。现在,我不知道我应该做什么让它再工作。

I have searched for the solution through the internet. I have found a few methods that might solve the solution such as scanning for virus, using clean boot. I have also tried repairing and uninstalling VS2010 and .NET framework but none still work. Right now, I have no idea what I should to do make it work again.

无论如何,我意识到有Windows自动更新,当我关闭电脑。

Anyway, I realized that there is Windows auto update when I turned off the computer. Not so sure if this related to the problem (I used Window 8.1).

推荐答案

格式化驱动器C重新安装一切后,我发现原因可能是Windows更新。我已经开始重新安装Windows 8,所有必要的程序(Visual Studio和SQL Management Studio除外)以及升级到Windows 8.1所需的所有窗口更新。

After formatting Drive C to reinstalling everything again, I found out that the reason might be Windows update. I have started from reinstalling Windows 8, all necessary programs (except Visual Studio and SQL Management Studio) and all window updates required for upgrading to Windows 8.1.

到Windows 8.1,我创建了系统还原点,并尝试安装VS2010和所有Windows更新。

When I successfully got to Windows 8.1, I created system restore point and try installing VS2010 and all windows update. The result had caused the same error I posted in this thread.

之后,我恢复到原来的状态并安装了VS2010。然后安装了一些windows更新。这次,我决定安装所有更新,除了在10/11/2015之后发布日期的更新。结果令人满意。我不会再遇到此错误。

After that, I restored back to original state and installed VS2010 first. Then installed some of windows updates. This time, I decided to install all updates except the ones that have publish date after 10/11/2015. The result is satisfied. I don't get this error again.

后来,Hans Passant帮我找到了这个问题的实际原因。请参阅以下链接:

Later, Hans Passant help me find the actual cause of this problem. Please see this link:

为什么我会收到__ CrtGetFileInformationByHandleEx的错误当我尝试编译

这篇关于Visual Basic命令行编译器已停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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