为什么移动项目后 VB.net 编译器会崩溃?
我正在将数据从旧笔记本电脑迁移到新笔记本电脑,包括 Visual Studio 2008 中的一些 vb.net 项目。但是当我尝试在新笔记本电脑上打开其中一些项目时,我很快会收到一个对话框,指出 vb 编译器已崩溃并询问我是否要关闭、调试或在线检查解决方案。 然后,令人沮丧的是,Visual Studio 关闭了。
在旧笔记本电脑上打开这些项目时不会崩溃,并且其他迁移的项目打开时也不会崩溃。 因此,项目的某些财产一定会因移动而受到损坏。
我进行了搜索并找到了具有类似问题的人的帖子,但没有答案。 为什么会发生这种情况?我该如何解决?
错误详细信息:
Problem signature:
Problem Event Name: APPCRASH
Application Name: devenv.exe
Application Version: 9.0.21022.8
Application Timestamp: 47317b3d
Fault Module Name: kernel32.dll
Fault Module Version: 6.0.6001.18215
Fault Module Timestamp: 4995344f
Exception Code: e06d7363
Exception Offset: 0002f328
OS Version: 6.0.6001.2.1.0.768.3
Locale ID: 4105
Additional information about the problem:
LCID: 1033
Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
旧笔记本电脑是 Windows XP,使用 Visual Studio Professional。 新笔记本电脑是Windows Vista并使用Visual Studio团队。 “迁移”是源文件的直接复制粘贴。
I'm migrating data from an old laptop to a new laptop, including some vb.net projects in visual studio 2008. But when I try to open some of them on the new laptop, I quickly get a dialog stating that the vb compiler has crashed and asking me if I want to close, debug, or check online for solutions. Visual studio then, frustratingly, closes.
The projects don't crash when opened on the old laptop, and other migrated projects open without crashing. So it must be some property of the projects that becomes corrupted by moving them.
I've done searches and found posts by people with similar-sounding problems, but no answers. Why is this happening, and how do I fix it?
Error Details:
Problem signature:
Problem Event Name: APPCRASH
Application Name: devenv.exe
Application Version: 9.0.21022.8
Application Timestamp: 47317b3d
Fault Module Name: kernel32.dll
Fault Module Version: 6.0.6001.18215
Fault Module Timestamp: 4995344f
Exception Code: e06d7363
Exception Offset: 0002f328
OS Version: 6.0.6001.2.1.0.768.3
Locale ID: 4105
Additional information about the problem:
LCID: 1033
Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
The old laptop is windows xp and uses visual studio professional. The new laptop is windows vista and uses visual studio team. The 'migration' was a straight copy paste of the source files.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
项目文件可能引用了不再存在的位置(即它位于旧笔记本电脑上,而不是新笔记本电脑上)。 例如,驱动器是否不同(D:一个驱动器,C:另一个驱动器)?
The project file may be referencing a location that no longer exists (i.e. it was on the old laptop and not on the new one). For example, are the drives different (D: on one and C: on the other)?
该项目崩溃是因为与以下代码片段等效的任何内容都会使 VS2008 崩溃,但不会使 VS2008 SP1 崩溃:
注意:
我终于可以把它归咎于编译器了。 不是我的错!
The project crashes because anything equivalent to the following snippet of code crashes VS2008, but not VS2008 SP1:
Notes:
I can finally blame it on the compiler. Not my fault!