Page 1 of 1

Stuck on solution close

PostPosted: January 12th, 2018, 7:53 am
by CFI
Hi,

since some time I have a problem with my Visual Studio and I now tracked it down to PHP Tools in combination with ReSharper. Wenn both of these are active and I close a solution it is stuck at "Closing project x / x" and sometimes shows a "VS is busy" notification. I then need to kill VS via Task manager. If I disable ReSharper OR PHP Tools everything seems to work fine.
I already contacted the ReSharper guys (as this was the first one I found out solves it by disabling) and sent them a trace of my VS and they told me it is some PHP Tools stuff which is stuck (even if I open a C# only solution).
Is there anything I can do to fix that?

regards
Christoph

Re: Stuck on solution close

PostPosted: January 24th, 2018, 3:43 pm
by maros.beno
Hi,
I have tried ReSharper with latest PHP Tools and it seems to be working fine. I was not able to reproduce your problem. Is there any particular project where this happens or any particular operations you do before this happens? Could you provide us with this trace as well?

Re: Stuck on solution close

PostPosted: January 30th, 2018, 4:18 pm
by AndreySimukov
Hi Maroš,

My name is Andrey, I'm a support engineer with JetBrains. I get the VS hang with both ReSharper and PHP Tools installed. It happens for VS 15.5.5, PHP Tools 1.25.10474 and ReSharper 2017.3.2 EAP (https://www.jetbrains.com/resharper/eap/). I used the VS template solution: File | New Project | Visual C# | Web | ASP.NET Core Web Application.

Please let me know if you need any log files or dumps.


--
Andrey Simukov
Support Engineer
JetBrains
http://www.jetbrains.com
The Drive To Develop

Re: Stuck on solution close

PostPosted: January 31st, 2018, 12:34 pm
by CFI
Hi,

you can download the dump from the following link:
https://www.jottacloud.com/p/chrfin/3ef ... c45719d542

regards
Christoph

Re: Stuck on solution close

PostPosted: January 31st, 2018, 2:53 pm
by maros.beno
Hi,
we have identified potential deadlock issue that might happen in VS with multiple extensions while closing solution. It should be hopefully fixed in this new preview http://pub.devsense.com/phptools/PHP.VS ... .2017.vsix Please let us know if it works. Thanks for reporting this!

Re: Stuck on solution close

PostPosted: February 1st, 2018, 10:25 am
by CFI
Looking good - no more hangs with that version... 8-)