I am working on asp.net 3.5 project on remote machine. I am accessing it using remote desktop. When I build the project, I get error:
Error 62 Unable to copy file "obj\Debug\myprojname.pdb" to "bin\myprojname.pdb". Access to the path 'bin\myprojname.pdb' is denied.
Project is under SVN. I deleted the obj\Debug\myprojname.pdb and tried to run again but getting same error. I am trying to remove thereadonly from the folder but after clicking ok, It becomes readonly again ( i guess because of SVN).
Right-click Visual Studio <VersionNumber>, select Change, and then select Repair to initiate the repair process.
I solved this problem by deleting the contentious files from bin folder and rebuilding the project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With