Gert,

Thanks a lot, that solve my problem, but now I'm having another.
It said:
[vbc]
C:\BuildOutput\Nexus.HA.Website\src\Nexus.Core.Corda\ctlEGGaugeCordaImage.vb
(118) : error BC30652: Reference required to assembly 'System.Drawing'
containing the type 'System.Drawing.Color'. Add one to your project.

But I already add that into my reference:
      <imports>
        <import namespace="Microsoft.VisualBasic" />
        <import namespace="System" />
        <import namespace="System.Collections" />
        <import namespace="System.Data" />
        <import namespace="System.Diagnostics" />
        ...
      </imports>
      <references>
        <include name="System.dll" />
        <include name="System.Data.dll" />
        <include name="System.Xml.dll" />
        <include name="CordaNetEmbedder.dll" />
        <include
name="..\..\..\..\..\..\..\WINNT\Microsoft.NET\Framework\v1.0.3705\System.Dr
awing.dll" />
        ...
        <include
name="..\..\..\..\..\..\..\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Wi
ndows.Forms.dll" />
        ...
        <include
name="..\..\..\..\..\..\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Web.d
ll" />
      </references>
I also tried to import System.Drawing, but it still gives me the same error
message. Any clue?

Thanks,
Lee

-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 1:46 PM
To: 'Lee Chu'; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] vbc : error BC30464


Lee,

I'm pretty sure System.Data.dll (or any other assembly) will be in the PATH.

Removing the "frompath" attribute should fix your problem.

Gert

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nant-users-
> [EMAIL PROTECTED] On Behalf Of Lee Chu
> Sent: dinsdag 19 september 2006 18:49
> To: nant-users@lists.sourceforge.net
> Subject: [NAnt-users] vbc : error BC30464
>
> Hi,
>
> I have a build file for a project, but when I tried to run the file, I
> got the following error message: [vbc] vbc : error BC30464: Namespace
> or type 'Data' in the project-level Imports 'System.Data' cannot be
> found.
>
> These are what I have in my build file:
>       <imports>
>         <import namespace="System" />
>         <import namespace="System.Collections" />
>         <import namespace="System.Data" />
>         <import namespace="System.Diagnostics" />
>       </imports>
>       ....
>       <references>
>         <include frompath="true" name="System.dll" />
>         <include frompath="true" name="System.Data.dll" />
>         <include frompath="true" name="System.Xml.dll" />
>       ...
>       </references>
>
> Am I missing anything?
>
> Thanks,
> Lee
>
>
>
> -----------------------------------------------------------------------
> --
> 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=DEVD
> EV
> _______________________________________________
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users





-------------------------------------------------------------------------
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