StrataFrame Forum

embedded messaging XML file, how to update it?

http://forum.strataframe.net/Topic21400.aspx

By Keith Chisarik - 1/5/2009

I generate my XML, include in project, embedd as resource and all is well, until I make a change that I cannot get my application to recognize, the file on disk is correct, the projects version is old, how do I update the messaging XML file with changes? I must be messing something.
By Edhy Rijo - 1/6/2009

Hi Keith,

If you are using a source control application, then you must check out the messaging files before you generate new ones.

In my case I have the messaging project file pointing to my project's folder where I want those files and never had a problem with the generation process as long as I have them checked out before.  I do a nightly backup and always check in all files before the backup to be on the safe side.

By Ivan George Borges - 1/6/2009

Hi Keith.

I usually generate the XML files into a commom folder in the network, and then I copy the files into my local project "Localization Messages", which will trigger the source control to ask me to check them out.

By Trent L. Taylor - 1/6/2009

Yeah, the response Ivan gave is generally what we do here as well.  Let me know any additional details if this doesn't help and we can go from there.
By Keith Chisarik - 1/6/2009

I got it. I was creating to the network and I forgot that the default VS behavior is to add a local copy to the project. The following link allowed me to add the network version of the XML file to the project, which is what I wanted, because I am lazy Smile

Thanks!

http://visualstudiohacks.com/tips/options/add-an-existing-file-to-a-project-without-copying-it/

By Trent L. Taylor - 1/7/2009

Cool Cool