Payton,

This is not possible right now :(

We'll be addressing this after the 0.85 release.

Gert
----- Original Message ----- 
From: "Byrd, Payton" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED] Sourceforge. Net'"
<nant-users@lists.sourceforge.net>
Sent: Tuesday, January 25, 2005 5:38 PM
Subject: [Nant-users] Potential problem with VBC Task


> I am trying to use the VBC task in a template, but the <imports> task is
> proving problematic.  The documentation says that this is of type
> NamespaceImport, but when I try to create a named instance I get an error:
>
> <namespaceimport id="VBImports">
> <import name = "Microsoft.VisualBasic" />
> <import name = "Microsoft.VisualBasic.Compatibility" />
> <import name = "System" />
> <import name = "System.Collections" />
> <import name = "System.Data" />
> <import name = "System.Drawing" />
> <import name = "System.Diagnostics" />
> <import name = "System.Windows.Forms" />
> </namespaceimport>
>
>
> I get the following error (I get the same error if I name the task
> NamespaceImport):
>
> Invalid element <namespaceimport>. Unknown task or datatype.
>
> Is there another name I should be using to create a named set for this
> collection?  If this is the designed functionality then how am I supposed
to
> templatize the VBC task since I cannot possibly expect every VB.Net
project
> to have the same set of imports?
>
> Payton Byrd
> Trane eBusiness
> QED Team
> Phone: 931-905-5386
> Fax: 931-648-5901
>
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to