By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,960 Members | 2,241 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,960 IT Pros & Developers. It's quick & easy.

NAnt delete task fails on network share

P: n/a
I have an NAnt script that gets launched by CruiseControl whenever
someone checks a file from the project into our CVS repository.

The first step after the checkout is to clean the project's bin
directory and delete the compiled DLLs. However when the delete task is
run I get this error..

clean:
[delete] Deleting 45 files.
BUILD FAILED
F:\XXXX\X.build(105,4):
Cannot delete file 'F:\XXX\XXX.dll'.
Invalid File or Directory attributes value.

Has anyone seen this error before?

The user has full rights to the directory it is trying to delete from
and can delete the file from Windows Explorer.

Sep 21 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.