Error:

Could not write lines to file FileListAbsolute.txt. Access to the path is denied.

Possible Cause:

Have you checked in the “obj” and “bin” folders?

To resolve this issue:

  1. Delete the “obj” and “bin” folder in source control.
    (usually those are not checked in)
  2. Delete the “obj” and “bin” folders on your hard disk.
    (they will be re-created during build)

Note: Before deleting the “bin” folder, make sure you have not directly pointed reference files in the “bin” folder. Move the reference file to the “packages” folder instead and repoint the reference.

Sources:

https://blogs.msmvps.com/vstsblog/2011/03/16/could-not-write-lines-to-file-filelistabsolute-txt-access-to-the-path-is-denied/
Last modified: October 28, 2020

Author

Comments

Write a Reply or Comment