Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Build server Errors

Build server Errors

Scheduled Pinned Locked Moved Visual Studio
visual-studiosysadmindebugginghelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vimalsoft Pty Ltd
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • V Vimalsoft Pty Ltd

      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

      D Offline
      D Offline
      Dan Mos
      wrote on last edited by
      #2

      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

      V 1 Reply Last reply
      0
      • D Dan Mos

        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

        V Offline
        V Offline
        Vimalsoft Pty Ltd
        wrote on last edited by
        #3

        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

        A 1 Reply Last reply
        0
        • V Vimalsoft Pty Ltd

          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

          A Offline
          A Offline
          Albert Holguin
          wrote on last edited by
          #4

          Missing SDK's will do that to you... :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups