문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top