Reputation: 3331
I have TFS 2013 Update 3 installed and Visual Studio 2015. I want to write code with C#6, but it won't build in TFS server because it still uses VS2013 builder. So I installed VS 2015 on my TFS server (build controller is also installed on that machine). Still no luck. I was googling around how to fix it, but solutions I found online doesn't seem to work.
I tried editing the MS Build Arguments to /tv:14.0 /p:GenerateBuildInfoConfigFile=false /p:VisualStudioVersion=14.0
and that didn't fix it either.
One place says if I have DefaultTemplate.11.1.xaml
then it won't work. It says I need to have TfvcTemplate.12.xaml
. [source]
So, my problem is I can't find the TfvcTemplate.12.xaml
. Does anybody has any idea where can I find that file or how to configure the TFS 2013 to build using msbuild 14.0?
Upvotes: 3
Views: 1951
Reputation: 3175
The TfvsTemplate.12.xaml build template can be found on the build definition. Go to Process tab then select TfvsTemplate.12.xaml in the Build process template section. Then you click on Download link and you can customize it.
Upvotes: 1