Visual Studio部署项目-创建已部署可执行文件的快捷方式 [英] Visual Studio Deployment Project - Create shortcut to deployed executable

查看:123
本文介绍了Visual Studio部署项目-创建已部署可执行文件的快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我意识到可能有一种简单的方法可以执行此操作,但是如何为使用Visual Studio部署项目构建的MSI创建的可执行文件创建桌面快捷方式?

I realize there is likely a simple method to do this but how does one create a desktop shortcut to the executable deployed by an MSI built using a Visual Studio Deployment project?

我想我需要使用文件系统编辑器,但是当我在用户桌面上创建快捷方式时,我无法将可执行文件作为目标.我只能将目标指定为应用程序文件夹,而不是特定的可执行文件.

I imagine I need to use the Filesystem editor but when I create shortcut on the user's desktop I can't target the executable. I can only specify the target as the application folder not the specific executable.

推荐答案

浪费了一个小时,我完成了- VS 2010 ... VS 2017 (

After wasting an hour, I got it done - VS 2010 ... VS 2017 (this article helped):

  1. 在您的部署项目中,转到文件系统编辑器
  2. 单击应用程序文件夹"(假设您的项目中有主输出")
  3. 右键单击要使用快捷方式定位的项目的主要输出"-选择为主要输出创建快捷方式..."
  4. 重命名快捷方式
  5. 将快捷方式拖到桌面/程序菜单"文件夹

就是这样!

这篇关于Visual Studio部署项目-创建已部署可执行文件的快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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