For anyone interested, I have an alpha-quality Nant Addin that we use to
easily build from within VS.NET.  The Add-in creates a "Build With Nant"
menu item on the project context menu in the Solution Explorer with sub
menus for each build file you have in the folder tree for your solution.  It
then adds sub menus to those that enumerate the build targets from the build
file.  Click on it and it will run Nant and output results to the output
window in VS.NET.  Make sure you have the path to nant.exe somewhere in your
PATH environment variable.

Download at:  http://www.dotnetosphere.com - both source and a binary setup
are available.

Mike 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Donal McCarthy
Sent: Wednesday, February 02, 2005 7:41 AM
To: Bill Arnette
Cc: Arnette, Bill; nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] is there an add-in to run nant from within vs.net?

Bill,
The reason NAnt would not be running is that you need to tell the AddIn
where the NAnt executable is.  You should be able to do this with the tools
-> options -> nantrunner settings.  For some people, this options panel
doesn't work correctly due in large part to the way a shim component is used
to host the .Net based NAntRunner in VS.Net.

This shim component was given away by Microsoft as an unsupported piece of
code for hosting .net components in COM based applications.  This component
can sometimes seem to cause conflicts with other addins in VS.Net  There is
a new model in Whidbey which means this unreliable component is no longer
required.  Until then, you can set any options in the registry directly.
Look through the soure on sourceforge to find the registry key for setting
up the link to NAnt.

I'm looking for anyone who would like to maintain and enhance this tool
going forward.  Any takers?

Regards,
Donal

<quote who="Bill Arnette">
> Also, after enabling the Nant Runner Add-in in Add-in manager, the 
> project options dialog is hosed for everything.  If I right click an 
> item in the solution explorer and select Properties and then select 
> anything in the left tree, the dialog for those options is not shown 
> in the right side of the options dialog.
>
> This is a bummer.  I'd really like to get this working.
>
>
>
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Bill 
>> Arnette
>> Sent: Tuesday, February 01, 2005 3:32 PM
>> To: nant-users@lists.sourceforge.net
>> Subject: RE: [Nant-users] is there an add-in to run nant from within 
>> vs.net?
>>
>>
>>
>> > -----Original Message-----
>> > From: [EMAIL PROTECTED]
>> > [mailto:[EMAIL PROTECTED] On Behalf Of Josh 
>> > Larson
>> > Sent: Tuesday, February 01, 2005 2:55 PM
>> > To: nant-users@lists.sourceforge.net
>> > Subject: Re: [Nant-users] is there an add-in to run nant from 
>> > within vs.net?
>> >
>> >
>> > To get the tab to display I had to:
>> >
>> > install nantrunner
>> > start VS.NET 2003
>> > remove the .build file from a project remove nantrunner from the 
>> > active addins list add nantrunner to the active addins list add the 
>> > previously removed build file
>>
>> Ok.  I did like above and now have a Nant Runner window.  But when I 
>> click a target, the Output window switches to build but there is no 
>> output and according to Process Explorer [1] NAnt is not invoked.
>>
>>
>> [1] www.sysinternals.com
>>
>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive 
>> Reporting Tool for open source databases. Create drag-&-drop reports. 
>> Save time by over 75%! Publish reports on the web. Export to DOC, 
>> XLS, RTF, etc.
>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>> _______________________________________________
>> Nant-users mailing list
>> Nant-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nant-users
>>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive 
> Reporting Tool for open source databases. Create drag-&-drop reports. 
> Save time by over 75%! Publish reports on the web. Export to DOC, XLS,
RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Nant-users mailing list
> Nant-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
>



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool
for open source databases. Create drag-&-drop reports. Save time by over
75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to