How to integrate NAnt with Visual Studio?

I am just trying to connect to NAnt for my build processes and successfully have a script that sets the build directory and compiles the sln file into it. My question now, on a day to day basis, is how you can execute an NAnt script from Visual Studio. I'm used to just pressing Ctrl + Shift + B and then just updating my browser (I have a local site setting pointing to the project folder), but what is the best way to link the NAnt script to VS?

Many thanks

Matt

+6
visual-studio nant
source share
1 answer

Depends on what you want to do with it.

You can add it as a post / pre build event if this is your thing (I do this for some things), but I mainly use NAnt to build the buildserver on the server, so it is not very useful for the local machine.

+3
source share

All Articles