visual-studio 构建机器是否需要单独的 Visual Studio 许可证?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/779604/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is a separate Visual Studio license required for a build machine?
提问by benPearce
I know that some companies allow you to install their products on build machines as required without requiring a separate license (DevExpress is one that comes to mind). However I was wondering if Microsoft had the same allowances on licenses.
我知道有些公司允许您根据需要在构建机器上安装他们的产品,而无需单独的许可证(DevExpress 就是一个想到的许可证)。但是我想知道微软是否对许可证有相同的限制。
MSBuild does not support vdproj directly and require you to run Visual Studio from the command line to build the setup project. See here
MSBuild 不直接支持 vdproj,需要从命令行运行 Visual Studio 来构建安装项目。看这里
I need to produce a setup file via an automated build; do I need to purchase an additional license for the build machine?
我需要通过自动构建生成安装文件;我需要为构建机器购买额外的许可证吗?
Edit: I have spoken to our admin in charge of licensing and he was happy for me to install VS2008 on the build machine without purchasing an additional license, believing that a license should not be required. If I here more official information I will update again.
编辑:我已经和我们负责许可的管理员谈过,他很高兴我在构建机器上安装 VS2008 而无需购买额外的许可证,认为不需要许可证。如果我在这里有更多官方信息,我会再次更新。
Edit 2: I have heard that Microsoft will allow VS2008 to be installed on a build machine as long as the instance is not being used by a developer for active development.
编辑 2:我听说 Microsoft 将允许在构建机器上安装 VS2008,只要该实例未被开发人员用于积极开发。
采纳答案by JP Alioto
Here is the agreement (PDF link!). (There are different ones for different versions of VS). So it depends on how you read ...
这是协议(PDF 链接!)。(不同版本的VS有不同的)。所以这取决于你如何阅读......
General. One user may install and use copies of the software to design, develop, test and demonstrate your programs. Testing does not include staging on a server in a production environment, such as loading content prior to production use.
一般的。一名用户可以安装和使用该软件的副本来设计、开发、测试和演示您的程序。测试不包括在生产环境中的服务器上暂存,例如在生产使用之前加载内容。
To me that says you don't need an additional license because one user can install and use copies. But, I am not a lawyer. :)
对我来说,您不需要额外的许可证,因为一个用户可以安装和使用副本。但是,我不是律师。:)
回答by deadlydog
According to the VS 2015 Licensing White Paper, you do not need a separate VS license for your build server:
根据VS 2015 许可白皮书,您的构建服务器不需要单独的 VS 许可证:
Using Visual Studio on the Build Server: If you have one or more licensed users of Visual Studio Enterprise with MSDN, Visual Studio Professional with MSDN, or any Visual Studio cloud subscription then you may also install the Visual Studio software as part of Team Foundation Server 2017 Build Services. This way, you do not need to purchase a Visual Studio license to cover the running of Visual Studio on the build server for each person whose actions initiate a build.
在构建服务器上使用 Visual Studio:如果您有一个或多个 Visual Studio Enterprise with MSDN、Visual Studio Professional with MSDN 或任何 Visual Studio 云订阅的许可用户,那么您也可以将 Visual Studio 软件安装为 Team Foundation Server 的一部分2017 构建服务。这样,您无需购买 Visual Studio 许可证来涵盖在生成服务器上运行 Visual Studio 的每个人的操作启动生成。
Update (May 26, 2017)
更新(2017 年 5 月 26 日)
Microsoft has also now published the Visual Studio 2017 Licensing Whitepaperas well, which has the exact same requirements as noted above.
Microsoft 现在还发布了Visual Studio 2017 许可白皮书,其要求与上述完全相同。
回答by swilliams
msbuild.execomes with .NET SDK, but just with the Framework. You can grab the 2.0 SDK herefor free, but it's a big honking download. 3.5 is availableas well, but it's even huger.
msbuild.exe随 .NET SDK 一起提供,但仅随框架一起提供。您可以在此处免费获取2.0 SDK,但下载量很大。3.5 也可用,但它更大。

