如何在 VS 安装和部署项目中创建名称设置为 [ProductNAME] 的快捷方式?

发布于 2024-09-28 23:04:28 字数 116 浏览 9 评论 0原文

在我的 VS 设置中部署项目,我想创建一个桌面快捷方式,其名称设置为 [ProductName] 属性。安装程序只是将 [ProductName] 视为字符串文字,而不是使用该属性。我怎样才能让它按照我想要的方式运行?

In my VS Setup & Deployment project, I want to create a desktop shortcut whose name is set to the [ProductName] property. Instead of using the property, the setup program simply treats [ProductName] as a string literal. How can I get it to behave the way I want?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浮光之海 2024-10-05 23:04:28

您是否考虑过使用一些硬编码名称并使用构建事件在安装时重命名快捷方式?

Have you considered using some hard coded name and use build events to rename the shortcut upon installation?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文