I need to build SSIS projects (.dtproj) on our build server. They aren't supported by msbuild so I need to use Visual Studio to do it. The wisdom of Stack Overflow indicates I do not need a new license of VS to do this (Is a separate Visual Studio license required for a build machine?). I have logged onto the build server as myself, and registered Visual Studio. But I don't know how to tell the build agents to use my license for Visual Studio. Using TFS2015, vNext build agents (not XAML).
I am calling
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com blah.sln /build Release
from the TFS build.
2017-05-02T21:56:08.6745925Z Microsoft Visual Studio 2015 Version 14.0.25420.1.
2017-05-02T21:56:08.6745925Z Copyright (C) Microsoft Corp. All rights reserved.
2017-05-02T21:56:08.6745925Z The license for Visual Studio has expired.
2017-05-02T21:56:09.2986224Z The evaluation period for this product has ended.
Figured it out. If I register Visual Studio as me, then I can build. If I go to the MSDN site and get a product key (https://msdn.microsoft.com/en-us/subscriptions/keys/) and then in Visual Studio go to "Unlock with Product Key" and enter that key, now anyone (include the TFS Build Agent) can build.
Update
New url for Key: https://my.visualstudio.com/ProductKeys