How to turn visual studio files into actual app that can be sent/ downloaded and run by another user?

huangapple go评论61阅读模式
英文:

How to turn visual studio files into actual app that can be sent/ downloaded and run by another user?

问题

我有一个已完成的项目,其中包含许多不同的WinForm文件。它们通过一个菜单文件相互链接。我应该如何将这个项目从Visual Studio应用程序文件转换为一个真正的应用程序,具有自定义图标,并可以由另一台计算机上的用户打开(该计算机上没有Visual Studio)。我不想只是将它们压缩成ZIP文件。

我没有尝试过任何方法,这可能是一个新手问题,但我期望的基本上是有一个真正的应用程序,而不是一堆文件。

英文:

I have a finished project with a bunch of different winform files. They are linked between eachother through a menu file. How do I go from having this project as a visual studio application file to an actual application, with customized icon and that can be opened by a user from another PC (which doesn't have Visual studio). I don't want to just zip them.

I didn't try anything and this might be a newbie question but what I expect is basically to have an actual app instead of a bunch of files.

答案1

得分: 0

当编译WinForms项目时,你会得到一个bin文件夹,里面包含了Debug和Release文件夹。
交付应用程序的简单方法只是复制具有.exe和dll文件的Debug文件夹到目标计算机。
最佳方法是按照这个指南进行操作:
https://learn.microsoft.com/en-us/visualstudio/deployment/quickstart-deploy-using-clickonce-folder?view=vs-2022
或者创建一个自动安装程序。

英文:

When you compile the winforms project you get a bin folder and a Debug/Release folders inside.
A simple way to deliver the app is just copy the Debug folder that have the .exe and dll files to the dest PC.
The best way is to follow this guide:
https://learn.microsoft.com/en-us/visualstudio/deployment/quickstart-deploy-using-clickonce-folder?view=vs-2022
Or make an autoinstaller

huangapple
  • 本文由 发表于 2023年2月18日 02:14:11
  • 转载请务必保留本文链接:https://go.coder-hub.com/75487914.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定