Sometimes VS runs an old assembly.
Root Cause
Shadow copied DLLs remain locked.
Fix
-
Stop debugging
-
Delete
bin/andobj/ -
Restart Visual Studio
Daily micro-tips for C#, SQL, performance, and scalable backend engineering.
Sometimes VS runs an old assembly.
Shadow copied DLLs remain locked.
Stop debugging
Delete bin/ and obj/
Restart Visual Studio