Just another WordPress.com site
Severity Code Description Project File Line Suppression State Error Cannot open ” The requested operation cannot be performed on a file with a user-mapped section open.
Sometimes visual studio throw this error because it cannot open dll file to write. I fixed this issue by deleting the dll file in the debug folder. You might not be able to delete the file by going to the debug folder there it has to be deleted from Command Prompt forcefully.
- Open Command Prompt in Admin mode
- Navigate to debug folder like cd ‘c:\my source code\project\bin\debug\’
- then del /f fillname