We run a stand alone application (developed in MFC Visual Studio 2013 Professional Edition) in debugger and load a dll using the function "LoadLibrary". The loaded dll is then released using "FreeLibrary". Now without terminating the debugger if we compile the dll project (in vc++) in a different instance of Visual Studio then at the end of compilation it reports error MSB3073. We find the dll's pdb still remains locked by Visual Studio debugger and thus cannot be overwritten by the fresh compilation. Earlier in Visual Studio 2008 the same feature used to work correctly because the dll's pdb used to get released immediately after "FreeLibrary" was called.
We even tried installing Visual Studio 2013 Update 3 but the issue remains unsolved. Please help ASAP.