StrataFrame Forum

Deployment of Localization Files

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

By Tim Dol - 10/19/2006

I have finished my First StrataFrame project and now I am ready to deploy my application and have an issue with the message and localization files and I'm not sure how to handle this situation.  (I am not using the DDT for deployment yet)

My output path for the generated XML message files on my development machine is C:\temp. In my AppMain I have set my MessageXmlPath = C:\temp, which is fine for development, but not for deployment.

What's the best way to handle this situation?

By Trent L. Taylor - 10/19/2006

Distribute the XML files as part of your installation.  Set the XML path dynamically like this:

.MessageXMLPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location)

By Tim Dol - 10/20/2006

Perfect...  You're the best!
By Trent L. Taylor - 10/20/2006

Glad to help Wink