Build server Errors
-
Good Day All i am using TFS 2010 and i have a configured a build server with the default Settings and set my drop folder and in the "Process" "Items to build?" (Project to build) i browsed to the solution File of the my test project that execute without errors. (Configuration to Build)- Changed it to release and left other parts to remain the way they are . I have set a time for the build to run and it came back with an Error IN THE LOG FILE Build started 2011/10/27 09:55:44 AM. Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.sln" on node 1 (default targets). ValidateSolutionConfiguration: Building solution configuration "Debug|Any CPU". Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.sln" (1) is building "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement\SessionManagement.csproj.metaproj" (2) on node 1 (default targets). Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement\SessionManagement.csproj.metaproj" (2) is building "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.Web\SessionManagement.Web.csproj" (3) on node 1 (default targets). C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.Web\SessionManagement.Web.csproj(75,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. Done Building Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.Web\SessionManagement.Web.csproj" (default targets) -- FAILED. Done Building Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement\SessionManagement.csproj.metaproj" (default targets) -- FAILED. Done Building Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.sln" (default targets) -- FAILED. Build FAILED. "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.sln" (default target) (1) -> "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement\SessionManagement.csproj.metaproj" (default target) (2) -> "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionMa
-
Good Day All i am using TFS 2010 and i have a configured a build server with the default Settings and set my drop folder and in the "Process" "Items to build?" (Project to build) i browsed to the solution File of the my test project that execute without errors. (Configuration to Build)- Changed it to release and left other parts to remain the way they are . I have set a time for the build to run and it came back with an Error IN THE LOG FILE Build started 2011/10/27 09:55:44 AM. Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.sln" on node 1 (default targets). ValidateSolutionConfiguration: Building solution configuration "Debug|Any CPU". Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.sln" (1) is building "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement\SessionManagement.csproj.metaproj" (2) on node 1 (default targets). Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement\SessionManagement.csproj.metaproj" (2) is building "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.Web\SessionManagement.Web.csproj" (3) on node 1 (default targets). C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.Web\SessionManagement.Web.csproj(75,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. Done Building Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.Web\SessionManagement.Web.csproj" (default targets) -- FAILED. Done Building Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement\SessionManagement.csproj.metaproj" (default targets) -- FAILED. Done Building Project "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.sln" (default targets) -- FAILED. Build FAILED. "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement.sln" (default target) (1) -> "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionManagement\SessionManagement\SessionManagement.csproj.metaproj" (default target) (2) -> "C:\Builds\1\MYCODE\TestBuild\Sources\TestProject\SessionMa
While I'm by no means a TFS expert, Reading the error message sounds pretty clear. Actually there are 3 posibilities: 0) Some messed up long path truncations ex: documents~1 or something like that. 1) The path is actually incorrect or 2) The user under witch you ran/started the solution, doesn't have access to that folder.
All the best, Dan
-
While I'm by no means a TFS expert, Reading the error message sounds pretty clear. Actually there are 3 posibilities: 0) Some messed up long path truncations ex: documents~1 or something like that. 1) The path is actually incorrect or 2) The user under witch you ran/started the solution, doesn't have access to that folder.
All the best, Dan
Thanks i found the problem. The Problem is that MSBuild needs to build the project and to build the project it needs the SDK and that is normally installed when Visual Studio is installed.there are ways to install this SDK but you have to do some tweaking to make it work. so the simple solution for this is to install visual studio 2010. Thanks
Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa[at]dotnetfunda.com http://www.Dotnetfunda.com
-
Thanks i found the problem. The Problem is that MSBuild needs to build the project and to build the project it needs the SDK and that is normally installed when Visual Studio is installed.there are ways to install this SDK but you have to do some tweaking to make it work. so the simple solution for this is to install visual studio 2010. Thanks
Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa[at]dotnetfunda.com http://www.Dotnetfunda.com
Missing SDK's will do that to you... :)