VS 2008 C# WinForm Deployment question

  • Thread starter Thread starter Jason Huang
  • Start date Start date
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
 
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.
 
Back
Top