I just realized something that might be a bug. The errors I'm receiving
after the TlbImp error are related to arrays in the COM interfaces not
being imported as System.Array. They are imported as the particular type
they're supposed to be. Unfortunately, Visual Studio imports them as
System.Array and my team has been using this for a while. I need to
mimic Visual Studio here and I thought that was the goal of <solution>.
If that is really bug I expect it would be fairly easy to fix by setting
/sysarray when calling TlbImp.

The other issue about the UnauthorizedAccessException still has me
stuck. Any help on that would be appreciated! Thanks again!

-- Edwin

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nant-users-
> [EMAIL PROTECTED] On Behalf Of Castro, Edwin Gabriel
(Firing
> Systems Engr.)
> Sent: Tuesday, November 02, 2004 12:04 PM
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] <solution> and COM references
> 
> I'm trying to build a solution with two C# projects. One is dependent
on
> the other. Both projects reference a COM library. The COM library is
the
> same in both cases. When I build the solution using <solution> the
first
> project appears to build correctly (no errors and the output appears
in
> the outputdir as expected) but the second one reports a TlbImp error
> followed by a number of errors I think occur only because TlbImp
failed.
> Of course, the solution compiles correctly in Visual Studio. Here is
the
> actual TlbImp error:
> 
> TlbImp error: System.UnauthorizedAccessException - Access to the path
> "Interop.PENLib.dll" is denied.
> 
> I have had similar setups to this in the past and everything compiled
> correctly. I only encountered the problem when I switched to NAnt 0.85
> (Build 0.85.1766.0; nightly; 11/1/2004).
> 
> Any ideas?
> 
> --Edwin
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to