简体   繁体   English

Windows Forms桌面快捷方式

[英]Windows Forms Desktop Shortcut

I have created a CRM system in Visual Studio 2010 using c#.net, and it's got to the point where I need to start deploying it. 我已经使用c#.net在Visual Studio 2010中创建了一个CRM系统,现在到了开始部署它的地步。

When I publish, it creates an installer which just runs the program. 当我发布时,它会创建一个只运行程序的安装程序。

How can I get it to create a shortcut on the Desktop of the user installing it which will run my program? 我如何获得它以在安装它的用户的桌面上创建将运行我的程序的快捷方式?

I assume by "publish" you're using the publish options in the project properties. 我假设通过“发布”,您正在使用项目属性中的发布选项。 If this is the case, there is a checkbox in the Publish Options dialog under Manifests that creates a desktop shortcut. 在这种情况下,“清单”下的“发布选项”对话框中会有一个复选框,用于创建桌面快捷方式。

发布选项对话框

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM