Visual Studio每晚使用不同的程序集构建

编程入门 行业动态 更新时间:2024-10-28 12:21:26
本文介绍了Visual Studio每晚使用不同的程序集构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嗨大家好, 这里是设置: 我们正在开发一个ERP软件并支持它的不同版本。 每个支持的版本都需要不同的引用。今天,我们有四个Visual Studio解决方案来支持四个版本的ERP软件。 是否有可能通过一个解决方案和旋转参考组件自动化构建过程?例如。每晚构建一次? 我认为NAnt或Jenkins可以这样做,但我找不到这个特定主题的有用答案。 谢谢! :)

Hi folks, here's the setting: We're developing an extension for an ERP software and supporting different versions of it. Each supported version needs different references. Today, we have four Visual Studio solutions to support four versions of the ERP software. Is there a possibility to automate the build process with one solution and rotating referenced assemblies? E.g. with a nightly build? I think NAnt or Jenkins could do so, but I couldn't find a helpful answer for this particular topic. Thanks! :)

推荐答案

在解决方案中创建四个项目,每个项目都具有适合目标程序集的特定设置。然后,当您开始构建解决方案时,它将构建所有项目。 Create four projects in the solution, each having the specific settings appropriate to the target assembly. Then when you start a build of the solution it will build all the projects.

更多推荐

Visual Studio每晚使用不同的程序集构建

本文发布于:2023-11-08 09:31:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1569008.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:程序   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!