部署C#Windows Form应用程序 [英] Deploying C# Windows Form Application

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

问题描述


我想创建我创建的应用程序的安装文件.我知道我应该单击添加",新建项目",安装和部署"以及安装向导".完成向导后,我可以在计算机上安装该应用程序,但不会创建桌面快捷方式.我已经弄清楚了如何添加桌面快捷方式,但是当我双击它打开我的应用程序时,该应用程序没有打开,而是显示了我的桌面上所有图标的列表.我已经用谷歌搜索了解决方案,但是找到的所有解决方案都不是很清楚.我知道我做错了事,但是任何帮助都会不胜感激.

感谢

Hi
I want to create the installation file of my application that I have created. I know that I should click on Add, New Project, Setup and Deployment, and Setup Wizard. As I finish the wizard, I am able to install the application on my computer, but it does not create a desktop shortcut. I have figured out how to add a desktop shortcut, but when I double click on it to open my application, the application does not open and instead, a list of all the icons on my desktop appear. I have googled the solution, but all the solutions found are not very clear. I know I am doing something wrong, but any help would really be appreciated.

Thanks

推荐答案

检查安装项目中的快捷方式目标位置.我的直觉是,您已经创建了指向除项目输出"或可执行文件之外的其他内容的快捷方式.
Check the shortcut target location in your setup project. My hunch is that you have created a shortcut to something other than the "Project Output" or executable that was intended.


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

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