By chance, are you running NAnt with the
WebUI solution open in VS.NET? The reason I ask is that VS.NET tends to lock
interop libraries. I have had problems trying to clean my projects because of
similar UnauthorizedAccessExceptions but never trying to build the solutions…
Anyways, it’s worth checking… --Edwin From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Hi, I need help on building a VS.NET project with COM interop.
Try to searh on google and mail archive but no luck. Anyone knows what is the best & simple way to build
VSNET project that has interop Thanks in advance I got the following errors: ---------------------------------------------------------------------------- [solution] Building 'WebUI' [Debug]...
[copy] Copying 2 files to
'D:\websource\Solution\build\Solution-0.0.1-Debug\bin'.
[copy] Copying 1 file to
'D:\websource\Solution\build\Solution-0.0.1-Debug\bin'. [solution] Building 'DataAccess' [Debug]... TlbImp error: System.UnauthorizedAccessException - Access to
the path "Interop.VPDal5.dll" is denied. [solution] Building 'Business' [Debug]... TlbImp error: System.UnauthorizedAccessException - Access to
the path "Interop.VPDal5.dll" is denied. [solution] Building 'web' [Debug]...
[copy] Copying 2 files to
'D:\websource\Solution\build\Solution-0.0.1-Debug\bin'. TlbImp error: System.UnauthorizedAccessException - Access to
the path "Interop.VPDal5.dll" is denied.
[copy] Copying 2 files to
'D:\websource\Solution\build\Solution-0.0.1-Debug\bin'.
[copy] Copying 2 files to 'D:\websource\Solution\build\Solution-0.0.1-Debug\bin'. TlbImp error: System.UnauthorizedAccessException - Access to
the path "Interop.VpBusLayer5.dll" is denied.
[copy] Copying 2 files to
'D:\websource\Solution\build\Solution-0.0.1-Debug\bin'. BUILD FAILED Unexpected error while compiling project 'web' Exception has been thrown by the target
of an invocation. The type
initializer for "NAnt.Core.Task" threw an exception.
File or assembly name log4net, or one of its dependencies, was not found. --- |
RE: [Nant-users] Nant & COM interop
Castro, Edwin Gabriel (Firing Systems Engr.) Thu, 02 Dec 2004 10:01:06 -0800
- RE: [Nant-users] Nant & C... Castro, Edwin Gabriel (Firing Systems Engr.)
- RE: [Nant-users] Nant &a... nospam
- Re: [Nant-users] Nant &a... Gert Driesen
- RE: [Nant-users] Nan... nospam
- FW: [Nant-users] Nant &a... Hadzramin AR
- FW: [Nant-users] Nant &a... Hadzramin AR