Page 3 of 3

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

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

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

PostPosted: July 4th, 2018, 10:59 am
by BladeMF
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
---------------------------

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

PostPosted: July 10th, 2018, 9:15 am
by maros.beno
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.

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

PostPosted: July 10th, 2018, 10:08 am
by urosg
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.

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

PostPosted: July 11th, 2018, 10:47 am
by craig.richards
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.

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

PostPosted: July 11th, 2018, 2:03 pm
by maros.beno
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?

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

PostPosted: July 12th, 2018, 12:52 am
by urosg
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.

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

PostPosted: July 12th, 2018, 12:05 pm
by urosg
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.

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

PostPosted: August 12th, 2018, 1:34 pm
by AndyM84
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.