Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

Intellisense: XML files which are not *.xml

I'm building some nant build scripts. They use XML, and I'd like to use Intellisense. (Some day a tool like nantpad would be nice, but it's not there yet.)

Does anyone know how to make this work in Visual Studio.NET? Here's what I have so far:

Add the nant schema to Common7\Packages\schemas\xml.

Hack every instance where there appeared to be an 'xml extension' to include a 'build' extension in the HKLM\sw\ms\VisualStudio\7.1 section of the registry. Once I added the Languages\File Extensions key (last one in the list), I now get syntax coloring. But still no intellisense. (BTW, VSTweak can do this for you.)

If I rename the file from to foo.xml, I get intellisense, but not if it's What's missing?

Monday, September 8, 2003

*  Recent Topics

*  Fog Creek Home