Matt Brailsford
Matt Brailsford

Reputation: 2237

How to integrate NAnt with Visual Studio?

I'm just trying to get into NAnt for my build processes, and successfully have a script that sets up a build dir, and compiles a sln file into it. My question now is, on a day to day basis how would you execute the NAnt script from Visual Studio. I'm used to just hitting Ctrl + Shift + B and then just refreshing my browser (I have a local site setup pointing to the project folder), but whats the best way to intergrate the NAnt script with VS?

Many thanks

Matt

Upvotes: 6

Views: 5879

Answers (1)

Noon Silk
Noon Silk

Reputation: 55172

Depends what you want to do with it.

You can add it as a post/pre build event, if that's your thing (I do that for some things), but mostly I use NAnt to build on the buildserver, so it doesn't serve much purpose on the local machine.

Upvotes: 3

Related Questions