Tech Off Thread

2 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

MSBUILD 3.5 Failing on Build Server

Back to Forum: Tech Off
  • 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?

  • User profile image

    Just a thought... make sure you're using the msbuild.exe from the 3.5 framework instead of the one from 2.0


Conversation locked

This conversation has been locked by the site admins. No new comments can be made.