Hi Martin, I don't think we need to make <solution> task compatibility a goal here. Creating a solution on the fly is not something we should support, as you need to make a bunch of assumptions anyway (dependencies, platform, ...).
We should start it off as a simple wrapper for MSBuild.exe. I think it should be closer to the <nant> task than the <solution> task. I think we should add support for : - properties (nested element with collection, similar to <nant> task) - target(s) (string attribute or nested element with collection of targets ?) - logger (string attribute, or nested element with class and assembly attribute, and parameters collection ?) - verbosity (enum attribute, do we let this coexist with our "verbose" attribute ?) Optional: -noconsolelogger (bool attribute) -consoleloggerparameters (nested element, containing collection of parameters) -noautoresponse (bool attribute) -validate (nested element, as it should have an on/off switch and a way to specify a schema file) Martin: don't mean to sound negative about the work you've done. Thanks for starting with this !! About namespace/packaging: would it be ok to add it to NAntContrib first, and move it to NAnt once it has stabilized ? This is our policy for all new tasks. Gert > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Martin Aliger > Sent: dinsdag 6 december 2005 21:15 > To: 'Ian MacLean'; 'Gert Driesen' > Cc: '! nant' > Subject: RE: [nant-dev] need VS 2005 solution task support > > Hello, > > here is first attempt to implement <msbuild> task for MSBuild > interation. To > be a little usable for us, NAnt users, I made it atleast > little compatible > with <solution> task. So its not a simple wrapper around > msbuild.exe. Mainly > it accept fileset of projects, which msbuild itself do not. > Property names > are compatible with solution task as well. > > I also implement function to distinguish between > vs2003/vs2005 projects, but > I'm not sure if it'd be useful. > > For now, I place it to NAnt.DotNet project. Maybe other > location is more > appropriate? > > No testcases yet, but they should be next step. Let me know, > if you like > this approach. More attibutes/element will be needed as well, > I think. Ideas > are welcomed :-) > > Almost forgot: > you need to add > <task name="msbuild"> > <attribute > name="exename">MSBuild</attribute> > </task> > to NAnt.exe.config under <framework name="net-2.0">. > > Regards, > Martin Aliger > > PS: I'll refactor to follow nant's conding standarts lately. Sorry for > inconvenience. This is just a preview... > > Note: MSBuild from net 2.0 Beta 2 will not compile solutions > from VS2005 > final. Took me hour to figure :) > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers