为所有用户部署sln的最简单方法 [英] Simplest way to deploy sln for all user

查看:104
本文介绍了为所有用户部署sln的最简单方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



为所有用户部署一个最简单的方法是什么;

Win10,Winforms,VS2015,.Net4.51



谢谢

问候

妮可



我有什么试过:



ClickOnce-Installer;高级安装(大/胖)......

解决方案

为什么要部署解决方案文件?您的构建工件位于项目(或解决方案)中的发布文件夹下。您需要部署构建的可执行文件,这是您的用户感兴趣的内容.Sln文件只是在开发环境中管理解决方案和项目的一种方法。 发布选项允许您指定用户从服务器等查找更新的方式。您可以对其进行配置。

Quote:

为所有用户部署一个最简单的方法是什么;

Win10,Winforms,VS2015,.Net4.51

您的目标平台不同,难度很大,需要更长,更大的构建过程。 :-)



如果您的用户数量很多;数百或数千,然后您将需要使用一些其他方法,如DevOps配置系统自动发布新版本的应用程序。 Visual Studio Team Services对于小型团队来说已经足够了,您可以考虑使用它。我碰巧有2个视频教程,你可以观看,以了解这个过程,

了解构建Visual Studio Team Services中的后果 - YouTube [ ^ ]

从VSTS到Azure应用服务的持续部署 - YouTube [ ^ ]



有一个完整的服务教程, Visual Studio Team Services简介 - YouTube [ ^ ]



注意:如果你,如果我错过了你的观点,想要分发项目对于开发人员,VSTS也支持这一点,使用Visual Studio Team Services进行开发--YouTube [ ^ ]。


Hi,
What is the simplest way to deploy one for All User;
Win10, Winforms, VS2015, .Net4.51

Thanks
Regards
Nicole

What I have tried:

ClickOnce-Installer; Advanced-Install (to big/fat)......

解决方案

Why deploy the solution file? Your build artifacts are under publish folder in the project (or solution). You need to deploy the built executables, that is what your users are interested in. Sln file is just a way to manage your solution and projects in development environment. The "Publish" option lets you specify how your users will look for updates, from a server etc. You can configure that.

Quote:

What is the simplest way to deploy one for All User;
Win10, Winforms, VS2015, .Net4.51

Your targeted platforms are different, it will be difficult and would require a longer and larger build process. :-)

If your users are in a great number; hundreds or thousands, then you would require to use some other methodology, such as DevOps to configure the system to automatically publish the new versions of applications. Visual Studio Team Services is more than enough for small teams, you can consider using that. I happen to have 2 video tutorials that you can watch to understand the process,
Understanding Build Aftermath in Visual Studio Team Services - YouTube[^]
Continuous Deployment from VSTS to Azure App Service - YouTube[^]

There is a complete tutorial of the service too, Introduction to Visual Studio Team Services - YouTube[^]

Note: If you, in case I missed your point, want to distribute project to developers, then VSTS supports that too, Developing with Visual Studio Team Services - YouTube[^].


这篇关于为所有用户部署sln的最简单方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆