We recently upgraded our TFS server from 2010 to 2012.
Since the upgrade, one of my existing build is now throwing "Win32Exception: The system cannot find the file specified"
<MSBuild.ExtensionPack.VisualStudio.TfsSource TaskAction="Checkout" ItemPath="$(BuildPasFile)" Version="2012" WorkingDirectory="$(ViewRoot)\Delphi\Source\acom"/>
The only change that I had to do as part of TFS upgrade is to change the Version from "2010" to "2012".
The exact command that gets fired is
tf.exe checkout "C:\Builds\Sources\Build..\Delphi\Source\acom\build.pas" /noprompt /recursive
I read the discussion on the following link:
http://msbuildextensionpack.codeplex.com/discussions/74209
As required, Environment variable for VS2012 is set to
VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
I have verified that I am able to open / access the file using
Notepad.exe "C:\Builds\Sources\Build..\Delphi\Source\acom\build.pas"
I have also executed the TF.exe full command on the build server locally. It shows that tis Build.pas is open for edit.
$/Babylon Service Packs/Ananke/Delphi/Source/acom/build.pas:
opened for edit in 11_11_bal170099;builder
opened for edit in 11_12_P6PROFBLDAGENT1;builder
opened for edit in 11_2_p6profbldagent2;builder
opened for edit in 11_1_P6PROFBLDAGENT1;builder
opened for edit in 11_4_p6profbldagent3;builder
I am not sure, if the problem is due to multiple edits on the same file.
I am unable to resolve this Win32Exception.
Please let me know, if there is anything missing! What else do I need to check?
Please suggest!
Thanks,
Jatin N. Bhoir