ModelExtensions.GetDeclaredSymbol locks files

Topics: APIs, General
Jul 4, 2014 at 6:21 PM
Edited Jul 4, 2014 at 6:24 PM
After I load a solution through MSBuildWorkspace, calling GetDeclaredSymbol on certain nodes locks the dlls in the output directory (making me unable to emit the code), and disposing the workspace, calling "CloseSolution" or "ClearSolutionData" does not unlock the files. Only terminating the entire application does it.

I am currently unable to step into the Roslyn source (https://roslyn.codeplex.com/discussions/547872, https://roslyn.codeplex.com/discussions/550625).

Is there something else I should dispose/close? I'm unable to find anything disposable.