Does anybody have any experience doing this?  I searched the archive and found 
that NAnt doesn't scan the GAC if it doesn't find references.  So I added 
AssemblyReferences to the dll's directly.  Well, that doesn't seem to work 
because they don't get thrown into the csc.exe call.  Here's what I tried 
adding:

  <property name ="crystalDlls" value="C:\Program Files\Business 
Objects\Common\3.5\managed" />
 
      <assemblyfolders>
         <include 
name="${crystalDlls}\dotnet2\CrystalDecisions.Windows.Forms.dll" />
         <include name="${crystalDlls}\dotnet2\CrystalDecisions.Shared.dll" />
         <include 
name="${crystalDlls}\dotnet2\CrystalDecisions.CrystalReports.Engine.dll" />
         <include 
name="${crystalDlls}\CrystalDecisions.Enterprise.InfoStore.dll" />
         <include 
name="${crystalDlls}\CrystalDecisions.Enterprise.Framework.dll" />
         <include name="${crystalDlls}\CrystalDecisions.Enterprise.dll" />
      </assemblyfolders>

I'm still getting:  Error CS0246: The type or namespace name 'CrystalDecisions' 
could not be found (are you missing a using directive or an assembly reference?)

Any help?

Thanks,
Eric

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to