Need help with error MSB3202

I'm a noob to TC and this is my first attempt in setting TC with VS 2008 & TFS.  After fixing multiple errors on my build, I'm unable to resolve this one.  Need guidance to resolve issue...thx.



[15:57:42]:
Checking for changes

[15:57:44]: Clearing temporary directory: C:\Program Files\TeamCity\BuildAgent\temp\buildTmp
[15:57:44]: Checkout directory: C:\Program Files\TeamCity\BuildAgent\work\c4317891634f37ee
[15:57:44]: Updating sources: server side checkout... (2s)
[15:57:44]: [Updating sources: server side checkout...] Building incremental patch for VCS root: My TFS
[15:57:46]: [Updating sources: server side checkout...] Building incremental patch for VCS root: Shared Libraries
[15:57:47]: [Updating sources: server side checkout...] Repository sources transferred
[15:57:48]: Project "Apollo.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):
[15:57:48]: [Project "Apollo.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):] ..\..\..\Shared  Libraries\Local.Data\v2\Local.Data.csproj warning MSB4122: Scanning  project dependencies for project "..\..\..\Shared  Libraries\Local.Data\v2\Local.Data.csproj" failed. The project file  "C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\..\..\..\Shared  Libraries\Local.Data\v2\Local.Data.csproj" was not found.
[15:57:48]: [Project "Apollo.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):] ..\..\..\Shared  Libraries\Local.Web\v2\Local.Web.csproj warning MSB4122: Scanning  project dependencies for project "..\..\..\Shared  Libraries\Local.Web\v2\Local.Web.csproj" failed. The project file  "C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\..\..\..\Shared  Libraries\Local.Web\v2\Local.Web.csproj" was not found.
[15:57:48]: [Project "Apollo.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):] ..\..\..\Shared  Libraries\Twitterizer\root\Twitterizer.OAuth\Twitterizer.OAuth.csproj  warning MSB4122: Scanning project dependencies for project  "..\..\..\Shared  Libraries\Twitterizer\root\Twitterizer.OAuth\Twitterizer.OAuth.csproj"  failed. The project file "C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\..\..\..\Shared  Libraries\Twitterizer\root\Twitterizer.OAuth\Twitterizer.OAuth.csproj"  was not found.
[15:57:48]: [Project "Apollo.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):] ..\..\..\Shared  Libraries\log4net\root\log4net.csproj warning MSB4122: Scanning project  dependencies for project "..\..\..\Shared  Libraries\log4net\root\log4net.csproj" failed. The project file  "C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\..\..\..\Shared  Libraries\log4net\root\log4net.csproj" was not found.
[15:57:48]: [Project "Apollo.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):] Project "Apollo.sln" (Rebuild target(s)):
[15:57:48]: [Project "Apollo.sln" (Rebuild target(s)):] Building solution configuration "Deployment|Any CPU".
[15:57:48]: [Project "Apollo.sln" (Rebuild target(s)):] C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln error  MSB3202: The project file "..\..\..\Shared  Libraries\Local.Data\v2\Local.Data.csproj" was not found.
[15:57:48]: [Project "Apollo.sln" (Rebuild target(s)):] C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln error  MSB3202: The project file "..\..\..\Shared  Libraries\Local.Web\v2\Local.Web.csproj" was not found.
[15:57:48]: [Project "Apollo.sln" (Rebuild target(s)):] C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln error  MSB3202: The project file "..\..\..\Shared  Libraries\log4net\root\log4net.csproj" was not found.
[15:57:48]: [Project "Apollo.sln" (Rebuild target(s)):] C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln error  MSB3202: The project file "..\..\..\Shared  Libraries\Twitterizer\root\Twitterizer.OAuth\Twitterizer.OAuth.csproj"  was not found.
[15:57:48]: MSBuild output:
[15:57:48]: C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln : error  MSB3202: The project file "..\..\..\Shared  Libraries\Local.Web\v2\Local.Web.csproj" was not found.
[15:57:48]: C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln : error  MSB3202: The project file "..\..\..\Shared  Libraries\log4net\root\log4net.csproj" was not found.
[15:57:48]: C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln : error  MSB3202: The project file "..\..\..\Shared  Libraries\Twitterizer\root\Twitterizer.OAuth\Twitterizer.OAuth.csproj"  was not found.
[15:57:48]: Done Building Project "C:\Program Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln" (Rebuild target(s)) -- FAILED.
[15:57:48]: Done  Building Project "C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln.teamcity.patch.tcprojx"  (TeamCity_Generated_Build target(s)) -- FAILED.
[15:57:48]: Build FAILED.
[15:57:48]: "C:\Program   Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln.teamcity.patch.tcprojx"  (TeamCity_Generated_Build target) (1) ->
[15:57:48]: (TeamCity_Generated_Build target) ->
[15:57:48]: ..\..\..\Shared Libraries\Local.Data\v2\Local.Data.csproj : Solution  file warning MSB4122: Scanning project dependencies for project  "..\..\..\Shared Libraries\Local.Data\v2\Local.Data.csproj" failed. The  project file "C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\..\..\..\Shared  Libraries\Local.Data\v2\Local.Data.csproj" was not found.
[15:57:48]: ..\..\..\Shared Libraries\Local.Web\v2\Local.Web.csproj : Solution file  warning MSB4122: Scanning project dependencies for project  "..\..\..\Shared Libraries\Local.Web\v2\Local.Web.csproj" failed. The  project file "C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\..\..\..\Shared  Libraries\Local.Web\v2\Local.Web.csproj" was not found.
[15:57:48]: ..\..\..\Shared  Libraries\Twitterizer\root\Twitterizer.OAuth\Twitterizer.OAuth.csproj :  Solution file warning MSB4122: Scanning project dependencies for project  "..\..\..\Shared  Libraries\Twitterizer\root\Twitterizer.OAuth\Twitterizer.OAuth.csproj"  failed. The project file "C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\..\..\..\Shared  Libraries\Twitterizer\root\Twitterizer.OAuth\Twitterizer.OAuth.csproj"  was not found.
[15:57:48]: ..\..\..\Shared Libraries\log4net\root\log4net.csproj : Solution file  warning MSB4122: Scanning project dependencies for project  "..\..\..\Shared Libraries\log4net\root\log4net.csproj" failed. The  project file "C:\Program  Files\TeamCity\BuildAgent\work\c4317891634f37ee\..\..\..\Shared  Libraries\log4net\root\log4net.csproj" was not found.
[15:57:48]: "C:\Program   Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln.teamcity.patch.tcprojx"  (TeamCity_Generated_Build target) (1) ->
[15:57:48]: "C:\Program Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln" (Rebuild target) (2) ->
[15:57:48]: (Rebuild target) ->
[15:57:48]: C:\Program Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln :  error MSB3202: The project file "..\..\..\Shared  Libraries\Local.Data\v2\Local.Data.csproj" was not found.
[15:57:48]: C:\Program Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln :  error MSB3202: The project file "..\..\..\Shared  Libraries\Local.Web\v2\Local.Web.csproj" was not found.
[15:57:48]: C:\Program Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln :  error MSB3202: The project file "..\..\..\Shared  Libraries\log4net\root\log4net.csproj" was not found.
[15:57:48]: C:\Program Files\TeamCity\BuildAgent\work\c4317891634f37ee\Apollo.sln :  error MSB3202: The project file "..\..\..\Shared  Libraries\Twitterizer\root\Twitterizer.OAuth\Twitterizer.OAuth.csproj"  was not found.
[15:57:48]: 4 Warning(s)
[15:57:48]: 4 Error(s)
[15:57:48]: Time Elapsed 00:00:00.53
[15:57:48]: Publishing artifacts
[15:57:48]: [Publishing artifacts] Paths to publish: [teamcity-info.xml]
[15:57:48]: [Publishing artifacts] Publishing files
[15:57:48]: Build finished
2 comments

Hello,

I see that you start a build for a .sln file right from 'Checkout Directory' (aka <agent>/work/<some hex>),
The build filed with error trying to access a file '..\..\..\Shared  Libraries\Twitterizer\root\Twitterizer.OAuth\Twitterizer.OAuth.csproj'. This means it tries to find some file that is OUTSIDE of checkout directory. Please check you checkout rules/vcs root settings.

You may have a look to related documentation:
http://confluence.jetbrains.net/display/TCD6/Configuring+VCS+Settings
http://confluence.jetbrains.net/display/TCD6/Build+Checkout+Directory

0

Thanks Eugene!  I'll check out my VCS settings again and see if that fixes the issue.

0

Please sign in to leave a comment.