打开 .sql 文件时 Visual Studio 2010 挂起 [英] Visual Studio 2010 hangs up when opening a .sql file

查看:32
本文介绍了打开 .sql 文件时 Visual Studio 2010 挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我启动 VS 2010,只需打开任何普通(或空白).sql 文件,它就会显示在 IDE 中绘制不正确.它绘制文档选项卡,但仅此而已.如果我在键盘上打字,VS 会锁定.这似乎只是扩展名为.sql"的文件的问题,与实际内容无关.我还注意到,在解决方案资源管理器中,那些 .sql 文件显示的图标与 .js 文件关联的图标相同.

I launch VS 2010, and simply open any ordinary (or blank) .sql file and it shows up incorrectly drawn inside the IDE. It draws the document tab, but nothing else. If I type on the keyboard, VS locks up. This only appears to be a problem with files that have the extension ".sql" and has no bearing on the actual content. I also noticed that in the Solution Explorer, those .sql files show the icon that is the same one associated with .js files.

推荐答案

问题已解决.通过运行 DACProjectSystemSetup_enu.msi 安装程序,我能够解决该问题">VS2010-SP1 ISO 根目录下.您可能还需要重新安装DACFramework_enu.msiTSqlLanguageService_enu.msi.

Problem solved. I was able to resolve the problem by running the DACProjectSystemSetup_enu.msi installer found on the VS2010-SP1 ISO under the root directory. You might also need to re-install DACFramework_enu.msi and TSqlLanguageService_enu.msi.

我认为问题是在安装 VS2010 后安装 SQL Server 2008 R2 造成的.

I believe the problem was created as a result of installing SQL Server 2008 R2 after installing VS2010.

这篇关于打开 .sql 文件时 Visual Studio 2010 挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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