智能感知在ASP.NET。皮肤文件4 [英] Intellisense in .skin files in ASP.NET 4

查看:212
本文介绍了智能感知在ASP.NET。皮肤文件4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有应用的智能感知的。皮肤文件在ASP.NET 4的好办法?像微软的Visual Studio工具的例子吗?我安装了一个智能感知架构。皮肤文件到我的Visual Studio 2008的很久以前的事,但它有一些缺陷,所以我不得不将其删除。在Visual Studio 2010中的任何​​改进?

Is there a good way to apply intellisense in .skin files in ASP.NET 4? like a microsoft visual studio tool for example? I installed an intellisense schema for .skin files to my visual studio 2008 long time ago but it had some bugs so i had to remove it. any improvements in visual studio 2010?

推荐答案

试试这个: 工具 - >选项 - >文本编辑器 - >文件扩展名。 现在输入的皮肤的在扩展文本框,并从DropDownList中选择的用户控件编辑器的。点击添加的。

Try this: Tools -> Options -> Text editor -> File extensions. Now type skin in the extension textbox and select User Control Editor from the dropdownlist. Click Add.

关闭并重新打开。皮肤文件和 - kablam! - 你现在有智能感知。请注意,它会抱怨。皮肤没有在web.config中定义自己的生成提供文件。不过聊胜于无,但。

Close and reopen your .skin files and - kablam! - you now have intellisense. Be aware that it's going to complain about .skin files not having their own build provider defined in the web.config. Still better than nothing, though.

这篇关于智能感知在ASP.NET。皮肤文件4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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