Tech Off Post

Single Post Permalink

View Thread: MSBUILD 3.5 Failing on Build Server
  • User profile image

    We have a small silverlight 1.1 app we are trying to publish internally to demonstrate what we hope to incorporate into our internal tools after the 2.0 "go live" release.

    The code builds fine on my desktop ("works on my machine!") using VS2008 Professional or command line msbuild and I can use VS to publish to the webserver over a network path fine as well.

    The issue is msbuild keeps failing on the build server and I can't for the life of me figure how to fix this. CruiseControl checks out the code from source control fine but fails on the MSBUILD task. When I try and use the command line to build the solution after I RD into that box I get this error for all 4 projects in the solution:

    error MSB4057: The target "Build" does not exist in the project.
    If I remove or hard code the DefaultTargets attribute in the project tag of any project file it still fails.

    This is a server 2003 box with frameworks 2.0.50727, 3.0, and 3.5 all installed. Obviously I could install visual studio and this would go away, but I don't want to do that.

    Anybody else run into this problem and have a solution?