开发者

Question on deploying winform project

I want开发者_Python百科 to seperate one project from my main winform project, then "publish" it or something so that i will be able to click a button and the application will run, instead of running visual C# expresss and then run the project.

How do I achieve that?


It's not really clear what you mean, but just building your Windows Forms application will create a .exe file - you can copy that (along with any DLLs it requires) to another machine which has the appropriate .NET framework on, and then just double-click on the executable to launch it. (You can copy it to elsewhere on the same machine as well, of course.)

You certainly can create "setup" projects to bundle everything into an installer, but for simple needs copying a file would be fine. You don't need to launch it through Visual Studio.


When you compile your application as Windows app, it is executable out of VS environment. Just change the properites of the project.

And what do you mean click a button? From desktop, you need to double/single click the application from its directory to launch it.

Again qs is not clear.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜