Hi all,
In one of my nant builds, I need to use some functionality from the
ThoughtWorks.CruiseControl.Remote (it's a long story). So, include the
ThoughtWorks.CruiseControl.Remote.dll and then import the namespace
(please see the code snippet below). However, I'm getting the following
error and not sure why. Please help.
Compilation failed: c:\Documents and Settings\buildmgr\Local
Settings\Temp\9gqu_gx-.0.cs(20,7) : error CS0246: The type or namespace
name 'ThoughtWorks' could not be found (are you missing a using
directive or an assembly reference?)
<!-- Below is the code snipet from my nant build file. -->
<script language="C#">
<references>
<lib>
<include name="buildfiles/lib"/>
</lib>
<include name="System.Management.dll"/>
<include name="EncryptionProvider.dll"/>
<include name="ThoughtWorks.CruiseControl.Remote.dll"/>
</references>
<imports>
<import namespace="System.Management"/>
<import namespace="ThoughtWorks.CruiseControl.Service"/>
</imports>
<code><![CDATA[
................................... the rest of the code .....
..........................
]]>
</code>
Thanks,
Daniel
-------------------------------------------------------------------------------------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------
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