PHP Tools (supposedly) hangs on "Preparing solution"

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

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

Postby Miloslav Beno » June 13th, 2018, 1:09 pm

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,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1198
Joined: January 7th, 2012, 8:36 pm

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

Postby Miloslav Beno » June 13th, 2018, 1:20 pm

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!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1198
Joined: January 7th, 2012, 8:36 pm

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

Postby BladeMF » June 13th, 2018, 2:25 pm

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?
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 330
Joined: October 10th, 2012, 7:14 am

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

Postby BladeMF » June 13th, 2018, 3:00 pm

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?
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 330
Joined: October 10th, 2012, 7:14 am

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

Postby BladeMF » June 13th, 2018, 3:03 pm

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 :)
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 330
Joined: October 10th, 2012, 7:14 am

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

Postby BladeMF » June 14th, 2018, 9:28 am

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.
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 330
Joined: October 10th, 2012, 7:14 am

Previous

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 1 guest

cron

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 1 guest
Phalanger