如何在Visual Studio中动态重新加载文件? [英] How to dynamically reload file in Visual Studio ?
本文介绍了如何在Visual Studio中动态重新加载文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我在Visual Studio的解决方案中包含一个xml文件.我在运行时在文件中添加新节点.但是,当我一直收到此消息时,文件已从源代码编辑器中被修改.您要重新加载文件吗?有什么解决方案可以动态重载代码而不显示此消息吗?
Hi, I have include an xml file included in my solution in visual studio. I am adding new nodes in my file at runtime. But when i am recieving this message all the time The file has been modified out the source editor. Do you want to reload the file? Is there any solution that I can dynamically reload file in my code instead of showing this message ?
推荐答案
http://startbigthinksmall.wordpress.com/2009/03/16/visual-studio-tipp-auto-refresh-file -changes/ [ ^ ]
这篇关于如何在Visual Studio中动态重新加载文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文