AngieM
AngieM

Reputation: 745

TFS 2013 Build force MSBuild to use Visual Studio 2015

I'm having a TFS 2013 build error with the new VS 2015 string interpolation syntax (Unexpected character '$'). I have modified the "Run MSBuild for Project" task of the build process template like so, but it's still not helping.

In the build definition, I also specified the "MSBuild Arguments" = /p:VisualStudioVersion=14.0.

Run MSBuild task properties

Build Definition

Upvotes: 5

Views: 945

Answers (1)

AngieM
AngieM

Reputation: 745

For what it's worth, I gave up trying to figure this out and changed the build process template to TfvcTemplate.12.xaml and add this as the MSBuild arguments: /tv:14.0 /p:VisualStudioVersion=14.0 (in the build definition).

I know this won't help if someone can't upgrade to TfvcTemplate.12.xaml though.

Upvotes: 2

Related Questions