C#解决方案使用已安装的应用程序 [英] C# solution use with installed application

查看:93
本文介绍了C#解决方案使用已安装的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我在Windows 7中安装了C#应用程序,我在C#2012中也有源代码,我想使用已安装的资源调试已安装的应用程序计算机中的项目应用程序,因为应用程序安装程序已经创建了一些xml和txt文件,这些文件在应用程序的使用过程中添加了一些值,因此我想在VS IDE中使用该文件并使用此文件值调试应用程序的源代码(以使用安装应用程序资源),怎么做?我将解决方案文件(源代码,res等)复制到已安装的应用程序文件夹中?或者它是自动使用文件?



谢谢你,对不起,长期的描述

Hello,
I have an installed C# application in windows 7, also I have the source code in C# 2012, I want to debug the project in the installed application computer using the resources of the installed application because the application installer have created some xml and txt files that during the usage of the application have added some values, so I want to use that files in VS IDE and debug the source code of the application with this files values (to use the installed application resources), how to do it? I shall copy the solution file (source code, res etc.) to the installed application folder? or it is using the files automaticly?

Thank you and sorry for the long description

推荐答案

你的问题需要更多细节。比如源代码在哪里,代码中引用的文件在哪里以及如何安装程序等等。



很可能是你的安装路径和你想去的地方你的源代码会有所不同。您的代码中引用的那些文件也是?如果是,那么您将在源代码中拥有这些文件的某些版本。



无论如何,从已安装的程序路径中取出这些新文件,并将它们放在相应文件夹结构的源代码文件夹中,然后从那里使用它。



希望这有帮助。
Your question needs more details. Such as where is the source, where are the files referred in the code and how, where is the program installed etc.

Most likely your installation path and where you would have your source code would be different. Also are those files referred in your code? If yes, then you would have some version of those files in your source itself.

Anyways, take those new files from the installed program path and place them inside the source code folder in the appropriate folder structure and use it from there.

Hope this helps.


这篇关于C#解决方案使用已安装的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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