views:

870

answers:

4

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.

MSBuild does not support vdproj directly and require you to run Visual Studio from the command line to build the setup project. See here

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.

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.

A: 

I think msbuild is available with .NET Framework, which is free. I'm not sure if setup projects require VS though.

Mehrdad Afshari
Ben needs to run VS to compile a vdproj setup project, msbuild doesn't do it.
MrTelly
A: 

msbuild.exe comes with .NET SDK, but just with the Framework. You can grab the 2.0 SDK here for free, but it's a big honking download. 3.5 is available as well, but it's even huger.

swilliams
+5  A: 

Here is the agreement (PDF link!). (There are different ones for different versions of VS). So it depends on how you read ...

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. :)

JP Alioto
I tend to agree but it is suitably vague
benPearce
A: 

If you install visual studio, a separate license is required. But you don't have to install visual studio. You can use MSBuild, which is available for free as part of the SDK.

Joel Coehoorn
As per the link in my question, msbuild does not build vdproj
benPearce