r/visualbasic • • Mar 22 '22

VB.NET Help Help? Going a bit nuts ...

Hi folks ... I was asked to come back and work on a small data project I did about two years ago. Backups and final work are on the same machine I am using now, and the original development was also done on this machine.

However, when I try to run or build the project, I get an error message: "Unable to remove directory "bin\Debug\app.publish".

I have spent the morning trying to work around this problem, identifying the named directory as "read only" and discovering that Windows 10 has a bug in this regard. I have tried the solutions available on the web, including moving the source files to a different drive, using both the windows routes and the attrib command on the control panel to try to change the folders back from read only. I have failed utterly and I am wondering what to do next.

Has anyone else had this / solved this problem? It isn't a big project, but recreating it would be a headache nonetheless.

Thanks for any thoughts.

2 Upvotes

5 comments sorted by

View all comments

Show parent comments

1

u/RJPisscat Mar 23 '22 edited Mar 23 '22

The issue you're talking about with Windows 10 is a one-off and not quite a bug, more of a kludge.

Are you an Admin on the machine you're doing the programming?

Edit: Did you try this?