VS 2008 C# WinForm Deployment question

J

Jason Huang

Hi,

In my VS 2008 C# WinForm application, we have an XML file which will be used
everytime a user log on to the application.
However, when we deploy that application, that XML was not in the folder
where the .exe exists.
How do we fix this problem?
Thanks for help.


Jason
 
A

Alberto Poblacion

Jason Huang said:
In my VS 2008 C# WinForm application, we have an XML file which will be
used everytime a user log on to the application.
However, when we deploy that application, that XML was not in the folder
where the .exe exists.
How do we fix this problem?

That depends on how you are doing the deployment. If you are creating an
installation program by means of Visual Studio, open the File System Editor
in your installation project and add the xml file to the application folder.
This will cause the file to be copied to that folder when you run Setup.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top