Menu

#64 Emonic should support msbuild/xbuild as a build mechanism

0.4
open
None
5
2007-10-23
2007-10-17
No

Microsoft has msbuild shipped with .NET 2.0 and Mono has been shipping xbuild for some time now (since at least 1.1.16). Visual Studio itself has been using MSBuild as the underlying backend for building its projects since Visual Studio 2005.

It would be great if Emonic had support for this build mechanism also. I have started this work locally on my computer and will commit it once 0.3 has been released if no one has any objections. I haven't actually modified the user interface to support it as a build mechanism but have merely added an implementation of the IBuildfileManipulator interface so it should not cause any problems until the UI has been updated.

Discussion

  • Bernhard Brem

    Bernhard Brem - 2007-10-17

    Logged In: YES
    user_id=1245734
    Originator: NO

    Great! I also thought that we need this about one week before when I downloaded a open-source-VSProject and tried to build it :-)

    But one warning: xbuild seems to be not at the top of the time and does at least not understand .csproj-files :-( Might be there is prj2make the better choice.....

     
  • Remy Chi Jian Suen

    Logged In: YES
    user_id=1299552
    Originator: YES

    Yes, xbuild appears to be quite lacking at the moment. I am unable to even get it to build a single application with the Csc task. I will try it on Linux later.

    Did you mean that we should add prj2make support to Emonic?

     
  • Bernhard Brem

    Bernhard Brem - 2007-10-18
    • milestone: --> 769782
     
  • Bernhard Brem

    Bernhard Brem - 2007-10-19

    Logged In: YES
    user_id=1245734
    Originator: NO

    Kind of: Since it was - at least for me - not possible to work with xbuild, we could:

    - Add support for (cs)proj-files
    - Program the emonic builder to compile it with msproj if the build target is ms
    - Program the emonic builder to convert the (cs)prj-file to a (temporary) makefile via a prj2make-command and run make to build a target for the mono-platform.....

     
  • Bernhard Brem

    Bernhard Brem - 2007-10-23
    • milestone: 769782 --> 0.4
     
  • Remy Chi Jian Suen

    Logged In: YES
    user_id=1299552
    Originator: YES

    I just committed an MSBuild IBuildfileManipulator implementation and an associated JUnit test to HEAD. I don't know whether I will be able to complete it all for 0.4 but I figured I should at least add the code to CVS for the sake of safety (well, we have a repository, might as well use it). The .NET Project wizard does not even list MSBuild as a valid builder at the moment so this commit should not affect the user in any way.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.