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 maros.beno » July 4th, 2018, 10:26 am

Hi, could you please try whether it's still happening on latest preview https://www.devsense.com/download?downl ... 1&ver=2017 ?
Thanks, have a nice day!
Maroš Beňo
User avatar
maros.beno
 
Posts: 62
Joined: October 12th, 2016, 12:11 pm

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

Postby BladeMF » July 4th, 2018, 10:59 am

maros.beno wrote:Hi, could you please try whether it's still happening on latest preview https://www.devsense.com/download?downl ... 1&ver=2017 ?
Thanks, have a nice day!


Hi, currently I have 1.28.10855 and cannot install the preview - it says:

---------------------------
VSIX Installer
---------------------------
This extension is already installed to all applicable products.
---------------------------
OK
---------------------------
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

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

Postby maros.beno » July 10th, 2018, 9:15 am

Hi, I'm sorry. I send you the wrong link for latest stable version and not preview. https://devsense.blob.core.windows.net/ ... .2017.vsix this is latest preview, please try to install that. Thanks, have a nice day.
Maroš Beňo
User avatar
maros.beno
 
Posts: 62
Joined: October 12th, 2016, 12:11 pm

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

Postby urosg » July 10th, 2018, 10:08 am

I can confirm that this happens to me too.

If I open Visual Studio and load the project (in any way) the IDE gets stuck in "Preparing solution" I then opened another project (.NET) which loaded successfully and after that opened the PHP project which then loaded successfully.

Happened with latest stable and happens with preview.
urosg
 
Posts: 51
Joined: February 24th, 2016, 2:05 am

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

Postby craig.richards » July 11th, 2018, 10:47 am

I have been having this same issue for a long time now. Only way i could fix it was to delete .suo for the project before opening visual studio.
It looks like it happens if you leave files open before closing VS. Next time you opened that solution with PHP Tools, it stalls.
This happens on 2 different PCs with several different solutions.

I have just tested with the latest update to VS2017 along with the preview release of PHP Tools (1.28.10867) and it still seems to be broken.
Reproducing the issue is simply a case of:
* Open a PHP project
* Open a file within the project
* Close visual studio
* Launch visual studio from the solution file

Every project i have tried has the same issue.
craig.richards
 
Posts: 1
Joined: July 11th, 2018, 10:42 am

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

Postby maros.beno » July 11th, 2018, 2:03 pm

Hi, we are trying to reproduce the issue (like craig.richards says), but was never successful. Do you have any other extensions besides PHP Tools?
Maroš Beňo
User avatar
maros.beno
 
Posts: 62
Joined: October 12th, 2016, 12:11 pm

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

Postby urosg » July 12th, 2018, 12:52 am

I can confirm that the suggestion from craig.richards works, that is after deleting the .suo file the project loaded successfully but after leaving a file open, closing VS and reopening loading is stuck.
urosg
 
Posts: 51
Joined: February 24th, 2016, 2:05 am

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

Postby urosg » July 12th, 2018, 12:05 pm

I just did these steps:
uninstall PHP Tools
install older version 1.27.10732
tried opening project and everything went fine
upgraded to latest stable as offered by VS
retried opening project and now it seems to work.
urosg
 
Posts: 51
Joined: February 24th, 2016, 2:05 am

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

Postby AndyM84 » August 12th, 2018, 1:34 pm

Let me know if there's anything that can be done to help reproduce/debug this issue. Been happening to me on two of my machines, can confirm that removing the .suo file is a workaround. Happy to provide solution/files/extension-list if helpful.
User avatar
AndyM84
 
Posts: 69
Joined: August 6th, 2012, 3:24 pm
Location: Boston, MA, USA

Previous

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 6 guests

cron

User Control Panel

Login

Who is online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes)
Most users ever online was 151 on December 6th, 2020, 7:46 am

Users browsing this forum: No registered users and 6 guests