This project is read-only.

Support for VS2012?

Apr 16, 2013 at 11:20 AM

I'm trying to figure out if MSBuild.ExtensionPack.VisualStudio.TfsSource can work against a TFS2012 server.

Now after upgrade I get a error message when doing:
< ...TfsSource TaskAction="Get" ItemPath="$(SolutionRoot)\AFilePath\DummyFile.txt" Version="2010" />

Exit Code 100. Nothing Succeeded: Unable to determine the workspace. You may be able to correct this by running 'tf workspaces /collection:TeamProjectCollectionUrl'.

When checking the workspaces on the machine where the script is running as part of the build, using a VS2010 Command prompt, I see the agent workspaces, so it seems that tf.exe of this version works with the TFS2012 server.

Changing the version to 'Version=2012' does not seem to be supported anyway. I get a "Unable to resolve TF.exe path" message.

BR Ulf
Apr 16, 2013 at 11:30 AM
Sorry for asking. I found the problem as soon as I pressed the button ;-)

I had to upgrade the ToolsVersion from 3.5 to 4.0 in the file that executes the these statements, then it worked.

Apr 16, 2013 at 1:11 PM
Thanks for the update.

A fix to resolve 2012 went in on Saturday ( and will ship in the new release in a few days.

Marked as answer by mikeFourie on 10/9/2013 at 3:17 PM