VS2008 resolving unable to copy file access to the path is denied.

Source: Internet
Author: User
The following issues were encountered when rebuilding the solution in VS2008 + WINDOWS 7 Environment
Unable to delete file "F:\XX.exe". Access to the path "F:\XX.exe" is denied.
Unable to copy the file "Obj\release\xx.exe" to "Bin\release\xx.exe". The file "Bin\release\xx.exe" is being used by another process, so the process cannot access the file

An issue that could not be deleted when the directory was deleted when the directory was shared, forced to be successfully regenerated, and then regenerated again
The test found that all the files in the Obj\release directory were deleted when I cleaned the solution, But also retained the XX.exe file and then in the directory to delete the file after you can rebuild the solution, there is no change to find a good solution can only be removed by deleting the release directory or Xx.exe file and then rebuild
PS: Make sure that the XX.exe file is not opened or is performing a reference: Unable to copy file to bin access to the path is denied


From for notes (Wiz)

VS2008 resolving unable to copy file access to the path is denied.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.