Reputation: 1
I'm getting following error when building my VS2008 Solution with TFS2010.
error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\AssemblyInfoTask\Microsoft.VersionNumber.Targets" was not found.
Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Can someone help me with that?
Thanks.
Upvotes: 0
Views: 712
Reputation: 3596
Looks like MSBuild could not find AssemblyInfoTask\Microsoft.VersionNumber.Targets, one possible problem is that the build service does not do a recursive search for the custom tasks to download them. See if your problem is similar to this one:
http://social.msdn.microsoft.com/forums/en-US/tfsbuild/thread/dfefb86a-a969-4545-9f0d-7e764fd49861
Aaron Hallberg describes how to configure the build service to search for the custom tasks recursively here:
Good luck!
Upvotes: 1