Wednesday, 18 November 2009

DotNet io.directory.delete fails with permissions error

Interesting one today - dotnet io.directory.delete failed with a permissions error. It turns out that the folder you're deleting and the files contained within must NOT be read-only.

Fixed by iterating through all the folders/files and setting permissions to normal.

No comments:

Post a Comment