download handle (http://www.sysinternals.com/ntw2k/freeware/handle.shtml) and run it to see if any application has a handle to your dll.
Ian Sergey Shafran wrote:
Hi,
I am trying to unregister and delete a VB 6 dll as a part of my clean target:
<target name="clean" description="unregister and deletes a DLL"> <comregister unregister="true" file="test.dll"/> <delete file="test.dll"/> </target>
and getting the following error message:
C:\Programs\nant\Testing.build(5,6): Cannot delete file 'C:\Programs\nant\test.dll'. Access to the path "C:\Programs\nant\test.dll" is denied.
The file test.dll is writable. Does anyone have a clue why this is happening?
Thanks
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer