VS2008 SP1中的Web.config / App.config文件没有Intellisense [英] No Intellisense for Web.config/App.config files in VS2008 SP1

查看:112
本文介绍了VS2008 SP1中的Web.config / App.config文件没有Intellisense的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的WIndows Server 2008 64位PC上安装了VS2008 SP1。当我编辑app.config / web.config文件时,我没有智能感知。

I've installed VS2008 SP1 on my WIndows Server 2008 64 bit PC.  When I edit app.config/web.config files I get no intellisense.

当我查看Schemas对话框时,它显示正在使用的DotNetConfig.xsd(绿色复选标记),所有其他模式设置为自动(列中没有图像)。

When I view the Schemas dialog, it shows DotNetConfig.xsd being used (green check mark), all other schemas are set to automatic (no image in the column).

我尝试过创建控制台和Web应用程序,但似乎都没有加载intellisense。 intellisense适用于我的代码文件/文本编辑器,但不适用于XML编辑器。

I've tried creating both console and web applications but neither one seems to load the intellisense.  The intellisense is working for my code files/text editor, but not in the XML editor.

下面是一个示例App.Config。当我的光标位于由X字符标识的位置时,我试图调用intellisense(Ctrl + Space)。

Below is a sample App.Config.  I've tried to invoke intellisense (Ctrl+Space) when my cursor is at the position identified by the X character.

<?xml version =" 1.0"编码= QUOT; UTF-8英寸?>
< configuration>
< X
< / configuration>

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <X
</configuration>

任何这个想法?如果给出指令,我很乐意发送VS生成的任何日志文件。

Any thoughts on this?  I'd be happy to send any log files produced by VS if given instructions.

推荐答案

< p align = left>

你好,

您找到了解决方案吗?安装SQL SERVER 2008后,我遇到了同样的问题。

Have you found a solution. I got the same problem after i installed SQL SERVER 2008.

它在Windows Server 2008之前运行正常Visual Studio 2008 SP1。

it was working fine before on Windows  Server 2008 and Visual Studio 2008 SP1.


这篇关于VS2008 SP1中的Web.config / App.config文件没有Intellisense的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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