first of all, i have no clue about visual studio and deployment… mainly i just compile it, then copy paste it. and yeah, that is really a bad way to do that… so i tought, why not simple use my old beloved ant? ok i know maven is the thing now to use, but i just need simple scripts to copy/deploy stuff… so nant will do, or have to…
- download: http://nant.sourceforge.net/
- install: Installation Manual
this is it 🙂 ok currently its only usable as a command line, but its working 🙂 if i am able to write scripts is something completly different…
on the other hand visual studio should be able to execute these kind of scripts… ok finding a tool was hard, but there is one: NAntAddIn
installing it on a Visual Studio 2010 is not really trivial, but with link its easy…
- copy the addin to the user addin folder: \My Document\Visual Studio 2010\Addins
- important: set the Visual Studio version to 10.0 in the NAntAddin.AddIn file
- now it can be added in the Visual Studio AddIn manager
- configure it to the nant.exe and its runable
i had to restart the visual studio, because the NAntAddIn did not print stuff in the output window. worked afterwards
so NAnt is now up and running… we will see, how it can be used by my mighty hands… 😛