如何在 VS 安装和部署项目中创建名称设置为 [ProductNAME] 的快捷方式?
在我的 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否考虑过使用一些硬编码名称并使用构建事件在安装时重命名快捷方式?
Have you considered using some hard coded name and use build events to rename the shortcut upon installation?