NAnt Addin for Visual Studio (VS) 2008

image I've finally committed and upgraded VS 2008.  Fortunately, everything has gone pretty smooth.  Third party tooling support for VS 2008 is now reasonable, ReSharper, Code Rush, all now are supporting 2008.  But one of my favorite helper tools is NAntAddin developed by Netlogics Software.  It's quick and easy to execute specific NAnt tasks in the window.  Unfortunately, it doesn't support 2008 out of the box.

However, after playing around with the AddIn file, I was able to get NAntAddin working with VS 2008.

Here's how to do it:

  1. Download the latest version.
  2. Unzip and copy the addin files and folder to:

    On Vista:
    \Users\%UserName%\Visual Studio 2008\Addins

    On XP:
    \My Documents\Visual Studio 2008\Addins

    Note: If you don't see an "Addins" folder in, then create one under "Visual Studio 2008".
  3. Next, open the NAntAddin.Addin file with your favorite text editor, and edit the <version> value to 9.0 as shown below:

    image 

Now start Visual Studio 2008, and you should have NAntAddin up and running!

Your final directory structure should look like the following:

image

 

Happy coding!

Brian Chavez

10 Comments Filed Under [ Tips & Tricks ]

Comments

# NAnt Addin for Visual Studio 2008
Gravatar You've been kicked (a good thing) - Trackback from DotNetKicks.com
Left by DotNetKicks.com on 9/14/2008 2:17 AM
# re: NAnt Addin for Visual Studio (VS) 2008
Gravatar My version of VS 2008 does not contain an Addins folder. Is this to be expected or is it assumed that I should be creating this folder?

Also, there is no "Users" folder in Windows XP. Is this file path only for Vista? If yes, then what is the path for XP?
Left by Dylan Milks on 10/23/2008 2:25 PM
# re: NAnt Addin for Visual Studio (VS) 2008
Gravatar Hi Dylan,

Yes, the path is for Vista.

On XP, you should see in your:

My Documents\Visual Studio 2008\Addins

If you don't see the Addins folder, then create one. The final path for the Nant addin should look like:


NAntAddin plug file:
My Documents\Visual Studio 2008\NAntAddin.AddIn

My Documents\Visual Studio 2008\NAntAddin\[dlls in here]
Left by Brian Chavez on 10/23/2008 2:35 PM
# re: NAnt Addin for Visual Studio (VS) 2008
Gravatar Very nice, thanks!
Left by MVC Toilet Seat on 3/10/2009 3:32 AM
# re: NAnt Addin for Visual Studio (VS) 2008
Gravatar Thanks for solution !

I've got small issue with plug-in, it doesn't remember it's position in visual studio (ex: to be docable in right pane).

Does anyone has solution for that ?
Left by Tomasz Modelski on 4/6/2009 5:34 AM
# # re: NAnt Addin for Visual Studio (VS) 2008
Gravatar @Tomasz

Same here, the NAnt Add-In doesn't remember the position on mine either.
Left by Brian Chavez on 4/6/2009 11:56 AM
# re: NAnt Addin for Visual Studio (VS) 2008
Gravatar None of the links to NetLogics (netlogics.cz) work and their site has no mention of this tool at all anymore. Any idea where to find this, or another, NAnt integration plugin?
Left by Abel Braaksma on 2/2/2010 3:49 AM
# re: NAnt Addin for Visual Studio (VS) 2008
Gravatar While you haven't shown my previous comment, here's a new try, this time with the updated URL. Use it to change your to point to the correct location: http://www.netlogics.ch/devcenter/addins.nant.html
Left by Abel Braaksma on 2/2/2010 6:49 AM
# re: NAnt Addin for Visual Studio (VS) 2008
Gravatar great article, this link led me to their nunit addin http://www.netlogics.ch/devcenter/addins.nunit.html. i've been looking for an addin like this for awhile.
Left by rvw on 2/2/2010 1:18 PM
# re: NAnt Addin for Visual Studio (VS) 2008
Gravatar Thank you! Very useful post!
Left by Andrey on 4/25/2013 12:00 PM

Leave Your Comment

Title*
Name*
Email (never displayed)
 (will show your gravatar)
Url
Comment*

Please add 2 and 3 and type the answer here:

Preview Your Comment.