Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

IVsSolutionLoadManagerSupport object in OnBeforeOpenSolution

$
0
0

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!


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>