本地开发者发布 [英] Local developer publishing

查看:113
本文介绍了本地开发者发布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们是一个中小型开发团队,并不准备利用VSTS在线自动执行构建/发布。


目前(我知道这是不好的做法)我们的开发人员(我们使用Github)确保他们在任何分支上都有最新的相关提交,然后右键单击"发布"。在Visual Studio中,发布到本地文件系统。


然后,开发人员将发布文件夹的内容复制到一个众所周知的位置,为最终测试,QA等做准备。


如果我们可以让.pubxml不是特定于用户的(即将它放在源代码管理中),这将是一个很好的帮助,如果我们可以编辑.pubxml并添加一些选项来强制清理它也会很棒在发布之前,确保
解决方案中的每个程序集都是新创建的并且修改了当前日期时间。


任何人都可以建议如何执行此操作?或者,任何人都可以建议我们采取一些步骤来改进我们如何做到这一点,而不必转向全自动发布/部署过程?


我想做后者但现在我们是如此有限的时间,这样的步骤超出了我们的资源,需要我们与其他部门联络,并建立新的工作方式等等,所以这是我们希望逐步努力,而不是一些巨大的飞跃。



非常感谢,





解决方案

Hi Korporal Kernel,


>>>  如果我们可以编辑.pubxml并添加一些选项以在发布前强行清理,
确保解决方案中的每个程序集都是新创建的,并且修改了当前日期时间。


您是说要在发布前清理发布文件夹吗?如果是,您可以使用干净的任务在构建后清除项目文件中的该文件夹。如果我误解了你,你能不能用一个实例描述你想要的b $ b想要什么?你为什么要这样做。




We are a small/mid sized development team and are not ready to leverage VSTS online to automatically perform builds/publish.

Currently (I know this is poor practice) our developers (we use Github) ensure they have the latest relevant commits on whatever branch and then right-click "publish" in Visual Studio, publishing to the local file system.

The developer then copies the publish folder's contents to some well known location in preparation for eventual testing, QA etc.

It would be a great help if we could have the .pubxml NOT be user specific (i.e. place that in source control) and it would be great too if we could edit the .pubxml and add some option to force clean before publishing, ensuring that every assembly in a solution is freshly created and has a current date-time modified.

Can anyone suggest how to do this? Or can anyone suggest some steps we can take to improve how we do this without having to move to a fully automatic publish/deploy process?

I want to do the latter but right now we are so limited in time that such a step is beyond our resources and requires we liaise with other departments and establish new ways of working and so on, so this is something we want to work towards gradually rather than in some huge leap.

Many thanks,

解决方案

Hi Korporal Kernel,

>>> if we could edit the .pubxml and add some option to force clean before publishing, ensuring that every assembly in a solution is freshly created and has a current date-time modified.

Do you mean you want to clean the publish folder before publishing? If yes, you can use a clean task to clean that folder in the project file after build. If I misunderstand you, could you please use a instance to describe what you want? And why you want to do this.


这篇关于本地开发者发布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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