Page 2 of 2

Re: PHP Tools (supposedly) hangs on "Preparing solution"

PostPosted: June 13th, 2018, 1:09 pm
by Miloslav Beno
Hi Vladislav,

We've tried to open it in various ways and it didn't hang :-/ We've noticed in your callstack some other extensions doing some work, so we will try to install those. Maybe there is a correlation.

Thanks for patience and cooperation,

Re: PHP Tools (supposedly) hangs on "Preparing solution"

PostPosted: June 13th, 2018, 1:20 pm
by Miloslav Beno
Hi Vladislav,

Checking the extensions we've found this https://github.com/github/VisualStudio/issues/1662. That might be the cause.

Could you please try to disable it just to confirm it's caused by the extension?

Thank you!

Re: PHP Tools (supposedly) hangs on "Preparing solution"

PostPosted: June 13th, 2018, 2:25 pm
by BladeMF
Miloslav Beno wrote:Hi Vladislav,

Checking the extensions we've found this https://github.com/github/VisualStudio/issues/1662. That might be the cause.

Could you please try to disable it just to confirm it's caused by the extension?

Thank you!


Hi. I tried disabling it, but the problem still persists (and they did mark it fixed). Currently I cannot open the solution at all (tried from Team Explorer) and nothing has changed. I guess I was lucky yesterday... Tried disabling one more extension but no luck.

Have you tried loading the solution?

Re: PHP Tools (supposedly) hangs on "Preparing solution"

PostPosted: June 13th, 2018, 3:00 pm
by BladeMF
Miloslav Beno wrote:Hi Vladislav,

Checking the extensions we've found this https://github.com/github/VisualStudio/issues/1662. That might be the cause.

Could you please try to disable it just to confirm it's caused by the extension?

Thank you!


More info: The only way to load the solution reliably is to load ANOTHER solution first (preferably one that does not hang), then close it and then open the solution you want. It clearly interferes with the loading of a package. In the callstack there is:

Code: Select all
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.AsyncQueryService.AsyncServiceProvider.LoadServicePackage(System.Guid guidService, bool loadPackageSynchronously)


In the debugger, the guidService is {da92fbc9-6753-3e4d-afaf-579e0c54f3cc}, which is (I think) part of Developer Analytics Package (https://marketplace.visualstudio.com/it ... yticsTools). Disabling it seems to solve the problem, but this seems included in Visual Studio and I don't like disabling it.

Can you guys confirm and possibly see what is interfering with and talk to the guys in MS if it has something to do with your extension?

Re: PHP Tools (supposedly) hangs on "Preparing solution"

PostPosted: June 13th, 2018, 3:03 pm
by BladeMF
Miloslav Beno wrote:Hi Vladislav,

Checking the extensions we've found this https://github.com/github/VisualStudio/issues/1662. That might be the cause.

Could you please try to disable it just to confirm it's caused by the extension?

Thank you!


The following packages depend on this:

Developer Analytics tools
Universal Windows Platform tools for Cordova
Universal Windows Platform tools for Xamarin
Office/SharePoint development
Universal Windows Platform tools
Universal Windows Platform development

It does not seem like a good idea to disable it :)

Re: PHP Tools (supposedly) hangs on "Preparing solution"

PostPosted: June 14th, 2018, 9:28 am
by BladeMF
Some more info. We have some files in the solution that when excluded, the solution loads every other time. I tried moving all files to a Console App solution and it loads fine and clearly the language service loads as well. So it seems related with the PHP project system.