In the next nightly build there will be a new target called "deploy-schema"
that will copy the schema file to the vs.net (7.0 and 7.1) schema
directories. That should help a little :)

 Please note that the targetNamespace is in the form of
"http://nant.sf.net/schemas/${project.name}-${project.version}.${nant.platfo
rm.name}.${nant.settings.currentframework}.xsd", which for me became
"http://nat.sf.net/schemas/nant-0.84.win32.net-1.0.xsd"; on the latest cvs
tree. The nightly build will replace the version with the date, I believe.
But the point is that there is no one namespace; it is always changing as
the source code is changing...

> > ----- Original Message ----- 
> > From: Blokhin, Oleg
> > To: White, Jeffrey ; [EMAIL PROTECTED]
> > Sent: Wednesday, December 03, 2003 4:41 PM
> > Subject: RE: [Nant-users] RE:Editing .build files w/syntax hilighting in
> > VS.NET
> >
> > Line 3 should say something like that:
> > http://nant.sf.net/schema/nant-20030903.xzd
> > Thanks,
> > Oleg
> >
> > From: White, Jeffrey [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, December 03, 2003 1:04 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: [Nant-users] RE:Editing .build files w/syntax hilighting in
> VS.NET
> >
> > I've read through the archives and followed previous advice regarding
how
> to
> > get .build files fully recognized by VS.NET with
Intellisense/validation.
> > I've configured it such that VS.NET recognizes .build files as XML, and
> the
> > opened files have syntax hilighting. However, I can't get
> > Intellisense/validation working.
> > Here's what I've done:
> > 1. I went to http://nant.sourceforge.net/schema/ and downloaded the
latest
> > schema (nant-20030903.xsd)
> > 2. I saved the nant-20030903.xsd file into my C:\Program Files\Microsoft
> > Visual Studio .NET 2003\Common7\Packages\schemas\xml folder
> > 3. I edited my <project> tag in my .build file to be: <project
> > name='ProjName' default='build' xmlns='http://nant.sf.net/schema/'>
> > Now when I restart VS.NET and open the .build file, I get an error(in
the
> > schema view, as opposed to the source view), stating: "The XML Designer
> > encountered the following error while reading this file: Document
Element
> > must be schema. Please return to source view and correct these errors."
> > I also tried using the <nantschema> tag like this:
> > <nantschema output="C:\Program Files\Microsoft Visual Studio .NET
> > 2003\Common7\Packages\schemas\xml\nant-current.xsd"
> > target-ns="http://nant.sourceforge.net/schema/"/>
> > I got the same error as above from the schema view.
> > Does anyone know what's going on? Thanks in advance!
> >
>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to