If you are on the latest nightly build I would call that a bug (if you are using an older version then there was a bug like that was fixed a while ago; post .84)... Whose bug, I'm not quite sure...

Probably mine, err ... I mean, NAnt...
:)

----- Original Message ----- From: "Castro, Edwin Gabriel (Firing Systems Engr.)" <[EMAIL PROTECTED]>
When I create a task schema using <nantschema/> and use the schema
within Visual Studio for IntelliSense I see a few attributes/elements
that are not recognized by Visual Studio (I get the little red squiggly
underneath the text). Here are some examples:

 * 'if' and 'unless' attributes for <target/>
 * <parameter/> elements in <parameters/> element in <style/>

Here is an example:

<?xml version="1.0" encoding="utf-8" ?>
<project name="example"
xmlns="http://nant.sf.net/schemas/nant-0.85.win32.net-1.0.xsd";>
 <target name="xslt" if="${true}">
   <style style="transform.xslt" in="in.xml" out="out.html">
     <parameters>
       <parameter name="name" value="value" />
     </parameters>
   </style>
 </target>
</project>

In the example above the 'if' attribute and the <parameter/> would have
the red squiggly. Visual Studio also doesn't let me choose either one
when IntelliSense would normally let me choose other attributes or
elements.

Anybody know why these valid attributes and elements do not make it into
the schema?

(Oh, those are only two examples... I think the <option/> element in
<environment/> element in <exec/> is another example.)



------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to