azure-devopsvisual-studio-sdkresharper-sdk

Team Froundation Service fails to build VSPackage (VsSDK not found)


I'm trying to use the MS Team Foundation Service to build our VisualStudio Extensions. Unfortunately, the build server fails to build my solution, issuing the error message

<my-project>.csproj: The imported project "$(MSBuildExtensionPath)\Microsoft\VisualStudio\v10.0\VSSDK\Microsoft.VsSDK.targets" was not found.

I take from Question 1 and Question 2 that this means the SDK extension is not installed on the machine running our build. I am aware that I can probably include the whole SDK in my solution and set the import paths accordingly, but that does not seem a proper solution to me... especially, because the same problem arises with the ReSharper SDK and potentially others in the future.

Hence, the question is: Is it possible to build projects relying on the VsSDK (or other build extensions) through the Team Foundation Service?

Thanks in advance!


Solution

  • Here is an always up-to-date list of what's installed on the hosted build servers for Team Foundation Service: http://listofsoftwareontfshostedbuildserver.azurewebsites.net/. The Visual Studio SDK doesn't appear to be installed after quickly skimming the list.

    Another option for you is to setup your own build server(s), either on-premises or in Windows Azure and connect it to Team Foundation Service. You can then install whatever you need on your custom build servers.