Thank you all for your pointer!
  It's working now..
   
  Thanks!
  Rajiv Kr. Srivastava
  

Tony McCreath <[EMAIL PROTECTED]> wrote:
  I eventually got it working.

First make sure you define your xmlns in the project element...



Then you can tell studio where the schema file is by adding a catalog xml 
file (any name) into studios schema folder...

C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas

for example call the file nant.xml and its content would be...


targetNamespace="http://nant.sf.net/release/0.85-rc4/nant.xsd"/>

Files/NAnt/schema/nant.xsd" extension="build" />


Paths may vary. This associates the xmlns and the build extension to the 
schema file.

I also noticed that studio provides a schemas property for xml files which 
you can select schemas files from the registered schemas or ones within the 
solution. I couldn't get this to work properly without manually specifying 
the xmlns attribute though!

Tony



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


                                
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to