Click here to Skip to main content
12,302,514 members (65,307 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET
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 26-Nov-12 8:17am
Comments
ryanb31 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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160530.1 | Last Updated 26 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100