locked
Error occur when i'm trying to compile blank split app (error MSB4014)

    General discussion

  • When i'm compile a blank split app , I'm getting an odd error. 

    1>------ Build started: Project: abc, Configuration: Debug Any CPU ------
    1>c:\users\omar\documents\visual studio 2012\Projects\abc\abc\abc.jsproj : error MSB4014: The build stopped unexpectedly because of an internal failure.
    1>c:\users\omar\documents\visual studio 2012\Projects\abc\abc\abc.jsproj : error MSB4014: Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Failed to successfully launch or connect to a child MSBuild.exe process. Verify that the MSBuild.exe "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" launches successfully, and that it is loading the same microsoft.build.dll that the launching process loaded. If the location seems incorrect, try specifying the correct location in the BuildParameters object, or with the MSBUILD_EXE_PATH environment variable.
    1>c:\users\omar\documents\visual studio 2012\Projects\abc\abc\abc.jsproj : error MSB4014:    at Microsoft.Build.BackEnd.NodeProviderOutOfProc.CreateNode(Int32 nodeId, INodePacketFactory factory, NodeConfiguration configuration)
    1>c:\users\omar\documents\visual studio 2012\Projects\abc\abc\abc.jsproj : error MSB4014:    at Microsoft.Build.BackEnd.NodeManager.AttemptCreateNode(INodeProvider nodeProvider, NodeConfiguration nodeConfiguration)
    1>c:\users\omar\documents\visual studio 2012\Projects\abc\abc\abc.jsproj : error MSB4014:    at Microsoft.Build.BackEnd.NodeManager.CreateNode(NodeConfiguration configuration, NodeAffinity nodeAffinity)
    1>c:\users\omar\documents\visual studio 2012\Projects\abc\abc\abc.jsproj : error MSB4014:    at Microsoft.Build.Execution.BuildManager.PerformSchedulingActions(IEnumerable`1 responses)
    1>c:\users\omar\documents\visual studio 2012\Projects\abc\abc\abc.jsproj : error MSB4014:    at Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32 node, BuildRequestBlocker blocker)
    1>c:\users\omar\documents\visual studio 2012\Projects\abc\abc\abc.jsproj : error MSB4014:    at Microsoft.Build.Execution.BuildManager.IssueRequestToScheduler(BuildSubmission submission, Boolean allowMainThreadBuild, BuildRequestBlocker blocker)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    ========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
     

    How can I fix this ?

     


    Sunday, August 19, 2012 4:44 PM

All replies

  • There error is pretty explicit on what to look for. What are the versions of microsoft.build.dll in msbuild.exe and devenv.exe? SysInternals Process Explorer can be used to find this among other tools.

    Are you running RTM bits on BOTH VS2012 and Windows 8 (or RC and RP)?

    Thursday, August 23, 2012 5:40 PM
    Moderator
  • I have the same issue, Windows 8 RTM, VS20102 RTM.   Clean install of Win8, install VS2012.   I then create a new blank ASP.NET Web Application.  I then try to build the solution where I receive the same error (see below for my exact exception call stack).  Need I say that all this should work out of the box?

    Error 1 The build stopped unexpectedly because of an internal failure.
    Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Failed to successfully launch or connect to a child MSBuild.exe process. Verify that the MSBuild.exe "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" launches successfully, and that it is loading the same microsoft.build.dll that the launching process loaded. If the location seems incorrect, try specifying the correct location in the BuildParameters object, or with the MSBUILD_EXE_PATH environment variable.
       at Microsoft.Build.BackEnd.NodeProviderOutOfProc.CreateNode(Int32 nodeId, INodePacketFactory factory, NodeConfiguration configuration)
       at Microsoft.Build.BackEnd.NodeManager.AttemptCreateNode(INodeProvider nodeProvider, NodeConfiguration nodeConfiguration)
       at Microsoft.Build.BackEnd.NodeManager.CreateNode(NodeConfiguration configuration, NodeAffinity nodeAffinity)
       at Microsoft.Build.Execution.BuildManager.PerformSchedulingActions(IEnumerable`1 responses)
       at Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32 node, BuildRequestBlocker blocker)
       at Microsoft.Build.Execution.BuildManager.IssueRequestToScheduler(BuildSubmission submission, Boolean allowMainThreadBuild, BuildRequestBlocker blocker) c:\users\pwidner\documents\visual studio 2012\Projects\WebApplicationTest1\WebApplicationTest1\WebApplicationTest1.csproj WebApplicationTest1


    Paul Widner Solution Architect enChoice®

    Wednesday, September 12, 2012 7:01 PM
  • Please note that I have resolve this issue by running Visual Studio 2012 as an administrator.   Is this a known requirement?

    Paul Widner Solution Architect enChoice®

    Wednesday, September 12, 2012 7:05 PM