IntelliSense and nant .build files in vs.net

xiaoxiao2021-03-06  43

Intellisense and NAnt .build files in VS.NET This has been blogged about before here and there, but I wanted to share it as I had to mess with it yesterday Getting Intellisquish to work with NAnt .build files in VS.NET.:

Copy this file: nant-current.xsd (101.06 kb) to 'c: / program files / microsoft Visual Studio .NET 2003 / Common7 / Packages / Schemas / XML' On Your System. In Your Nant Build File (I make my with The extension .build) include this xmlns attribute: WHEN you File | Open Your. Build File, Notice The Tiny Down Arrow on the open button. Click IT, Go To Open with ... in Open with, SELECT HTML / XML Editor. There You Go, Nant Build Files with IntelliSense. IF anyone know how to tell vs.net to always open .build files with the xml editor (WITHOUT MESSING UP ANY OTHER FILE TEPES) TELL ME, AND THEN WE CAN SKIP Steps 3 and 4. there is also some nice stuff on MSDN About Authoring Custom XML Schemas for Use in vs.net.

转载请注明原文地址:https://www.9cbs.com/read-52333.html

New Post(0)