I am using Visual Studio 2005. After taking code from version control first, the c#.net application runs correctly. But, after doing some modifications, when I build I am
Old post, but this zombie is hitting VS 2017 (I haven't dug into why it's just "some" projects). In this case, it's not user permissions, rather IIS Express process is still using the files.
You'll see the icon in your task tray
rebuild without this annoying "permission denied" message.This is also why "restarting Visual Studio" will "fix" the issue. Doing so, stops IIS Express.
Hth...