反正是为了避免在VS中重新加载xml文件的ask消息 [英] Is there anyway to avoid the ask message to reload an xml file in VS

查看:106
本文介绍了反正是为了避免在VS中重新加载xml文件的ask消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我正在插入数据并将其保存到xml文件中,当我从浏览器切换到visual studio后插入后,visual studio会发送一个消息框,上面写着此文件已被修改在源代码编辑器之外你想要重新加载吗?

有没有办法自动重新加载xml文件,而不问这个问题?

Hi!
I am Inserting data and save it to an xml file and after inserting when I switch from the browser to visual studio, visual studio send a messagebox which saying "This file has been modified outside the source editor Do you want to relaod it?"
Is there any way to reload the xml file automaticaly,whithout asking that question?

推荐答案

您使用的是哪个版本的Visual Studio?使用VS2012,您可以通过菜单TOOLS->选项进入选项对话框。然后,在对话框中,导航到环境 - >文档,并清除复选框检测文件在环境外更改时或勾选前一个和自动加载更改,如果已保存 。



希望有所帮助。
What version of Visual Studio are you using? With VS2012, you can go to the "Options" dialog through the menu TOOLS->Options. Then, in the dialog, navigate to "Environment->Documents" and either clear the check box "Detect when file is changed outside the environment" or tick both the previous one and the one that says "Auto-load changes, if saved".

Hope it helps.


这篇关于反正是为了避免在VS中重新加载xml文件的ask消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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