I have also been trying to figure this out, but to no avail. If I don't find
a VS.Net solution soon, I will hack nant locally to recognize .xml files as
.build files.

On a VS.Net related note, is anyone writing any useful macros for editing
.build files?

Nick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Lowery
Sent: Thursday, September 18, 2003 15:09
To: [EMAIL PROTECTED]
Subject: [Nant-users] Getting vs.net 2003 to recognize .build files


Hi there,

I decided to try and hook up .build files today in vs.net 2003 and I've 
gotten part of the way there, but I could use a hand with the last step. 
  So far, I've built the schema, put it in the right place, and used the 
VSTweak program to try and get .build files to be recognized and treated 
as .xml files.  Right now, .build files are colorized in vs.net just 
fine, but I can't get the validation or intellisense to work.  If I 
change the extension of a build file to .xml, everything works just like 
it should.

I've seen mention in a couple blogs of people getting vs.net to properly 
handle .build files.  Could anyone fill in the magic steps in this 
little process?

1. Make build file using <nantschema>
2. Put build file in proper place
3. Make .build files be treated like .xml files using VSTweak
** A miracle occurs **
5. Enjoy editing .build files in vs.net 2003 with syntax highlighting & 
intellisense.

Thanks for any assistance!

--b

p.s. if anyone has successfully converted the nant schema to RelaxNG 
compact notation for use with the new nxml mode for emacs, i would love 
to hear about that as well.  i've got in part of the way there, but it 
too is being a pain.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to