Recently creating a TFS 2008 build for VS.Net 2005 projects, I kept receiving the following:
I discovered the v8.0 hive didn't even exist on the file system. At first, I thought I was missing something like the .Net 2.0 SDK. Unfortunately, installing that didn't add the files to v8.0. Eventually, I simply copied the v8.0 hive off a VS.Net 2005 developer machine and onto the build server. Maybe not the prettiest but it solved my build problem.
...error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in thedeclaration is correct, and that the file exists on disk.
I discovered the v8.0 hive didn't even exist on the file system. At first, I thought I was missing something like the .Net 2.0 SDK. Unfortunately, installing that didn't add the files to v8.0. Eventually, I simply copied the v8.0 hive off a VS.Net 2005 developer machine and onto the build server. Maybe not the prettiest but it solved my build problem.
Comments