C#设置和部署应用程序 [英] C# Setup and Deployment Application

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

问题描述

大家好,



希望有些人可以解释一下。我有一个使用默认位置[ProgramFilesFolder] \ [ProductName]的安装项目。 Visual Studio 2010 C#



当我在安装过程中将安装路径从Programfiles(X86)更改为Programfiles时,应用程序仍会安装到''Programfiles(X86)''目录?



有什么我需要改变的吗?在我看来,它忽略了我在安装过程中选择的路径。



任何帮助都会受到影响。



提前致谢

R

Hi Guys,

Hope some can shed some light. I have a Setup Project that uses the default location [ProgramFilesFolder]\[ProductName]. Visual Studio 2010 C#

When I change my install path during installation from ''Programfiles (X86)'' to ''Programfiles'', the application still installs to the ''Programfiles (X86)'' Directory?

Is there something that I need to change? It seems to me that it Ignores the path I select during the installation.

Any help wil be appriciated.

Thanks in advance
R

推荐答案

假设你知道程序文件和程序文件(x86)之间的区别,

将设置的属性TargetPlatform更改为x64

这应该有效。
assuming that you know the difference between Program Files and Program Files(x86),
change the property TargetPlatform of the setup to x64
this should work.


这篇关于C#设置和部署应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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