Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to make intellisense work with NANT Files in Visual Studio 2008?
    primarykey
    data
    text
    <p>I started with an Empty Project, and tried to get my build file setup with </p> <p>Here's what I have tried so far:</p> <ol> <li>Found out what version of NAnt I'm using by running NAnt with the <strong>-help</strong> option.</li> <li>In the following string replaced the version of NAnt I'm using in the following URL: <ul> <li><strong>http://nant.sourceforge.net/release/&lt;my NAnt version&gt;/nant.xsd</strong></li> <li>In this example, lets say it's <strong>0.90</strong>.</li> </ul></li> <li>Downloaded the file: from the above URL to <strong>%VS_HOME%\Common7\Packages\schemas\xml</strong> <ul> <li><strong>http://nant.sourceforge.net/release/0.90/nant.xsd</strong></li> </ul></li> <li>Opened my buildfile in VS (from instide my solution and project)</li> <li>From the menu clicked <strong>XML->Schemas...</strong> to add add the nant.xsd I downloaded earlier to the IDE.</li> <li>After adding the schema made sure that it had a green checkmark next to it in the <strong>Use</strong> column of the <strong>XML Schemas</strong> window.</li> <li>Added the following attribute in the &lt;project&gt; element of my build file: <ul> <li><strong>&lt;project ... xmlns="http://nant.sourceforge.net/release/0.90/nant.xsd" &gt;</strong> </li> </ul></li> <li>Clicked <strong>OK</strong> on <strong>XML Schemas</strong> window.</li> <li>Lastly, I reopened my buildfile with the <strong>open with...</strong> the <strong>XML Editor</strong>.</li> </ol> <p>After performing the above procedure in the <strong>Error List</strong> I get a list in the <strong>messages</strong> section but I don't get any intellisense suggestions when typing (other than the defaults for XML, like !--, ![CDATA[, and ?)</p> <p>Is there something else I need to change to make this work in VS2008? </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload