解决"验证():元素“XXXX”不支持"在Visual Studio 2005/2008警告 [英] Resolving "Validation (): Element ‘xxxx’ is not supported" warning in Visual Studio 2005/2008
问题描述
在在Visual Studio 2008中ASP.NET WebForms的项目在过去几天,我开始得到以下验证警告(绿色波浪线在设计时):
Over the last couple of days I started getting the following validation warning (green squiggly line at design time) in a Visual Studio 2008 ASP.NET WebForms project:
验证():元素XXXX不支持
Validation (): Element ‘xxxx’ is not supported.
其中xxxx是一个标准的ASP.NET服务器控件(ASP:面板,ASP:集装箱,ASP:文本框)
Where 'xxxx' was a standard ASP.NET server controls (asp:panel, asp:container, asp:textbox)
该应用程序将仍然编译和运行,但是警告很讨厌。
The application would still compile and run but the warnings were an annoyance.
请参阅我的答案我找到了解决方案。
See my answer for the resolution I found.
推荐答案
删除文件C:\\ Documents和设置[用户名] \\应用数据\\微软\\ VisualStudio的\\ 9.0 \\ ReflectedSchemas文件夹(或... \\ VisualStudio的\\ 8.0 \\ ...如果在Windows XP上运行的Visual Studio 2005)。在Windows 7是在C:\\用户{用户配置文件} \\应用程序数据\\漫游\\微软...等等。也请记住路径的VisualStudio的部分将取决于安装的版本是不同的。
Delete the files from "C:\Documents and Settings[Username]\Application Data\Microsoft\VisualStudio\9.0\ReflectedSchemas" folder (or "…\VisualStudio\8.0\…" if running Visual Studio 2005) in Windows XP. In Windows 7 it is under "C:\Users{User Profile}\AppData\Roaming\Microsoft...etc". Remember also the "VisualStudio" part of the path will be different depending on the version installed.
我关闭的Visual Studio(总是一个好的想法会影响IDE的变化),删除的文件,然后重新打开该项目。这些警告都不见了。
I closed Visual Studio (always a good ideas for changes that will affect the IDE), deleted the files then re-opened the project. The warnings were gone.
我发现这个溶液在出处:
http://forums.asp.net/t/1205528.aspx
<一href=\"http://blogs.msdn.com/mikhailarkhipov/archive/2005/04/21/410557.aspx\">http://blogs.msdn.com/mikhailarkhipov/archive/2005/04/21/410557.aspx
I found references to this solution at: http://forums.asp.net/t/1205528.aspx http://blogs.msdn.com/mikhailarkhipov/archive/2005/04/21/410557.aspx
一个快速谷歌搜索找到了解决办法。
仅供参考,我在谷歌使用的搜索词是元素是不支持。
A quick Google search found the solution. FYI, the search term I used in Google was "element is not supported".
我不知道为什么会这样,但我知道有一些古怪域配置文件的东西在网络environmnet发生。
I don't know why this happens but I do know there are some flakey domain profile things happening in the network environmnet.
这篇关于解决&QUOT;验证():元素“XXXX”不支持&QUOT;在Visual Studio 2005/2008警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!