Another approach is to create a normal c# project but set it to not build ( use the configuration manager under Build to do this ). Use your button to build using nant and then for debugging:
set the debug mode to program rather than project
set the start application to the nant built exe
set command line args as appropriate.


now debugging from visual studio will work as expected. You'll need to ensure that you've built everything yourself but thats not too much hassle.
The makefile solution outlined below is maybe a slightly cleaner solution.


Ian

Clayton Harbour wrote:

Hi,

This might be what you are looking for:
        
http://nant.sourceforge.net/wiki/index.php/VSNETIntegrationViaMakefile



Clayton

-----Original Message-----
From: Marion Nalepa [mailto:[EMAIL PROTECTED] Sent: October 22, 2003 6:51 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] projects and debugging


When developing a project with nant (a C# project, in this case). What
do
people do for solution and project files so that you can run with the
debugger
and use the IDE. I can setup a button to run Nant just fine, but that
still doesn't
give me a context for debugging.

When I used makefiles, there was a makefile project that worked, I'm looking for something equivalent for a Nant build project.


-- Marion Nalepa --

"There are 10 different kinds of people in this world -- those who understand binary and those who don't."



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users







------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to