Build Solution in IDE and Msbuild

Hi,

Is building a solution using command line msbuild call different from building a solution within VS2005 IDE. If yes, is there any references/tutorials with respect to that.

Our solution compiles successfully within the IDE but fails when I call

msbuild Project.sln

Our solution contains C# projects with web applications and website (website contains one web application as virtual).

Thanks

MRI




Answer this question

Build Solution in IDE and Msbuild

  • jbranton

    ASP.NET websites are built using a different technology than MSBuild. I'll forward your message to the ASP.NET folks, but you should also try posting your message to the forums at http://forums.asp.net/.

    Neil



  • wxDiilbert

    Hi!

    Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/welcome.aspx tabindex=1&tabid=39

    The short answer is that you can use the ASPNET_COMPILER to compile the bits, and it takes several options taht allow you to specify file paths outside the standard root.

    HTH,

    PEte



  • PrasNuts

    hi,

    i am doing build process using cruise control with msbuild.iam getting the error which is mentioned below, pls tell me how to clear this error

    ASPNETCOMPILER (,): error 1003: The directory 'D:\SWCode\CodeFromIndia\VirtualPathProvider\VirtualPathProvider\' doesn't exist.
    ASPNETCOMPILER (,): error 1003: The directory 'D:\netEditor\netEditoFromTFS\SampleProjects\BasePage\' doesn't exist.


  • y0ngb00n

    What is the failure you're seeing

    Neil



  • David Friesen, B.Eng

    When trying to build from command line it gives "path not found error". The structure is as follows:

    "store" is a website which has a virtual "ui" below it as defined in IIS. On file system store and ui folders are on same level. ASPX Files in store folder uses controls specifed in ui folder as below:

    <%@ Register TagPrefix="comm" TagName="Country" Src="../ui/CountrySelect.ascx" %>

    Within IDE it can identify the website-virtual relationship and hence can find the relative src path while validating the website.

    While on command line it fails to find this website-virtual relationship and hence it gives the path not found error.

    Thanks

    MRI



  • Build Solution in IDE and Msbuild