Ebeid ElSayed
Ebeid ElSayed

Reputation: 1156

Microsoft.Build.Utilities.ToolLocationHelper error on TeamCity

Although my solution is building on my local machine, it throws this error on TeamCity when I use "Visual Studio (sln)" as the runner for the build step:

[Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))". Method 'Microsoft.Build.Utilities.ToolLocationHelper.GetPlatformSDKDisplayName' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(ab)).

Any idea what I'm missing on the TeamCity side ? Do I need to change MSBuild runner ?

Upvotes: 2

Views: 2246

Answers (1)

Matt
Matt

Reputation: 3704

I would suggest this is trying to find the path to the SDK from the Registry and it's unable to find it.

Try installing Visual Studio Community Edition on the build server and this should fix your issue

Visual Studio Community Edition Download Page

Visual Studio 2013 SDK

Upvotes: 1

Related Questions