Click here to Skip to main content
15,908,444 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI All,

I am refering a XML file in my windows application code at some location say c:\rama\myxml.xml, when i debug the solution, its working fine.
But when i create a set up project and install the application on some other machine, this XML file is not being copied.
how do i get this XML sent along with setup file and my code refers to the XML once the application is installed.
Any quick help is grealy appreacited.

Regards,
Ramakrishna.
Posted

1 solution

You have to save your XML file inside the

Path:
{Application Name}\bin\Debug\{File.xml}


Please do let me know, if you have any doubt.

Please provide "Vote":thumbsup: if this would be helpful, and make "Accept Answer" if this would be correct answer.:rose:

Thanks,
Imdadhusen
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900