Here is my code that used to work:
MSBuildWorkspace msBuild = MSBuildWorkspace.Create();
Solution sln = await msBuild.OpenSolutionAsync(solutionPath);
but now I get:
int pr = sln.Projects.Count();//is 1 instead of 2.
and:
int docs = sln.Projects.First().Documents.Count();//is 0
Have they changed it again?
(If it matters, I need the Solution in order to iterate over fields etc. and use Renamer.RenameSymbolAsync .)