I've been using so far this part of code to get my solution variable (using Rosyln)
var workspace=MSBuildWorkspace.Create(); var solution = workspace.OpenSolutionAsync(solutionPath).Result; ...
Is there a way for me to get this/current solution without giving its path? For example:
var solution = this.GetCurrentSolution(); //Ofcourse this exact code doesn't work, since this doesn't exist.
2.1m questions
2.1m answers
60 comments
57.0k users