Hi,
I am trying to implement IVsSolutionLoadEvent::OnBeforeOpenSolution() to make sure that the projects are loaded synchronously whenever a solution is opened.
To achieve that I need to have a object of IVsSolutionLoadManagerSupport in the above method so that I can call the
SetProjectLoadPriority() method and set the project load property.
I thought it is a service and can be fetched from Package.GetGlobalService().
But when I tried the same, it returns null. Seems like is is not a service.
I know that I can get the IVsSolutionLoadManagerSupport object from OnBeforeOpenProject(),
but that is fired after IVsSolutionLoadEvent::OnBeforeOpenSolution() and hence of no use.
Is there any way I can get IVsSolutionLoadManagerSupport from any other API.
Please help!
↧
IVsSolutionLoadManagerSupport object in OnBeforeOpenSolution
↧