6 Mar 2013 ... I got this error and found that it was because my test files were readonly. Changed this and I can now use fileinfo to delete them no ...
File.Delete Access to the path is denied - Stack Overflow
This summary was compiled by our editorial team from publicly available information for quick reading. For full details, refer to original reporting where available.