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

Reply via email to