在模式更改之后,Visual Studio XML编辑器不会重新验证

[英]Visual Studio XML Editor doesn't re-validate after schema changes


I'm trying to fix my schema file so it matches the output document... the document will auto-validate once, but VS is caching the schema, so when I update the schema, VS won't go look at it again. I have to close down Visual Studio and re-start it, then it will validate the document (one time, grrr) against the new schema file. How can I force it to go get the schema file again after I upload it to the web server???

我正在修改我的模式文件,以便它与输出文档相匹配。文档将自动验证一次,但是VS正在缓存模式,所以当我更新模式时,VS将不再查看它。我必须关闭Visual Studio并重新启动它,然后它将针对新的模式文件验证文档(一次,grrr)。在我将模式文件上载到web服务器后,如何强制它再次获取模式文件?

I have to use Visual Studio 2005 (or 2008). I know there's better XML editors out there.

我必须使用Visual Studio 2005(或2008)。我知道有更好的XML编辑器。

1 个解决方案

#1


0  

The auto-completion file often gives me trouble in Visual Studios especially in large projects. I find if you delete the auto-complete cache it will re-validate without having the need to shut-down. In C++ the file is *.ncb. If you look for the cache in the solution folder and delete it, it should re-validate without the need to restart.

自动完成文件在Visual studio中经常给我带来麻烦,尤其是在大型项目中。我发现如果您删除了自动完成缓存,它将重新验证,而不需要关闭。在c++中,文件是*.ncb。如果您在解决方案文件夹中查找并删除缓存,那么它应该重新验证,而不需要重新启动。

智能推荐

注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:http://www.silva-art.net/blog/2010/02/12/d34e6e1ed38a00eb14acae247991318b.html



 
© 2014-2019 ITdaan.com 粤ICP备14056181号  

赞助商广告