Click here to Skip to main content
15,881,701 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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 ?
Posted
Comments
ZurdoDev 26-Nov-12 15:07pm    
This is just a message in Visual Studio. You can ignore it, it has nothing to do with your actual app that the user will see. Just close the xml file in Visual Studio.
Sergey Alexandrovich Kryukov 26-Nov-12 16:37pm    
In principle, you are right, but such thing is the indication that OP uses wrong software development cycle. For a comprehensive advice, knowing of the goal of having this file is required -- please see my other comment below.
--SA
Sergey Alexandrovich Kryukov 26-Nov-12 16:36pm    
You need to explain what do you want to achieve. This message simply means that Visual Studio detects that the file is modified outside Studio. I can be done by your program. You might not need to have this file in the project, or work with copy of this file, or avoid modifying it...
--SA

1 solution

 
Share this answer
 
Comments
touseef4pk 27-Nov-12 4:02am    
Thanks a lot Krunal. The answer was so simple.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900