需要帮助找到wpf项目的路径 [英] need help in find the path of the wpf project

查看:110
本文介绍了需要帮助找到wpf项目的路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我安装我的设置时,项目的路径是更改。如何防止或如何知道项目路径。我想要项目名称的路径。我不想要调试路径

when i install my setup the path of the project is change .how to prevent that or how to know the project path .i want the path upto the project name.i dont want the debug path

推荐答案

请参阅我对该问题的评论。最有可能的是,您只需要在运行时找到应用程序所在目录的位置。我在过去的答案中以全面的方式解释了它:

如何找到我的程序目录 [ ^ ]。



-SA
Please see my comment to the question. Most likely, you just need to find out where the directory where your application is located during run time. I explained it in a comprehensive way in my past answer:
How to find my programs directory[^].

—SA


这篇关于需要帮助找到wpf项目的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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