Play with NAntAddin.AddIn I found that I can fix it to install NAntAddin for Visual Studio 2008. And if you want, you can do it easily. Just open NAntAddin.AddIn in a text edtior, you will find this XML fragment:
<HostApplication>then just replace "8.0" by "9.0" and restart your Visual Stusio 2008, NAntAddin will start. (Of course, you need to configure NAntAddin in your Visual Stusio 2008 first via Tools|Options...|Environment|Add-in/Macro Security)
<Name>Microsoft Visual Studio</Name>
<Version>8.0</Version>
</HostApplication>
Another information relates with NAnt: If you want to get NAnt intellisense in Visual Studio, just copy nant.xsd from NAnt to [VS_HOME]\Xml\Schemas. VS_HOME is the path to Visual Studio folder, in case of Visual Studio 2008, it is "C:\Program Files\Microsoft Visual Studio 9.0" and add a custom namespace to your build file as below
<?xml version="1.0" encoding="utf-8" ?>
<project name="NAnt Build Sample"
default="debug"
xmlns="http://nant.sf.net/release/0.86-beta1/nant.xsd">
</project>
No comments:
Post a Comment