如何将参考文件添加到Windows安装程序 [英] How to add a reference file to Windows setup

查看:64
本文介绍了如何将参考文件添加到Windows安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在Windows应用程序代码中的某个位置(例如c:\ rama \ myxml.xml)引用了XML文件,当我调试解决方案时,它可以正常工作.
但是,当我创建一个设置项目并在其他计算机上安装该应用程序时,不会复制此XML文件.
安装应用程序后,如何将XML与设置文件一起发送,我的代码引用了XML.
非常感谢您的及时帮助.

问候,
Ramakrishna.

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.

推荐答案

您必须将XML文件保存在

路径:
{Application Name} \ bin \ Debug \ {File.xml}


如有任何疑问,请告诉我.

请提供"投票":thumbsup:如果有帮助,请提供"接受答案",如果这是正确的答案.:rose:

谢谢,
Imdadhusen
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


这篇关于如何将参考文件添加到Windows安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆