Install failure updating VS2017 Community

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

Install failure updating VS2017 Community

Postby Mwechter » July 21st, 2017, 4:54 pm

I have been using Tools for 10 months successfully with VS2015/VS2017. Recently, I started getting an (not located) error from the (Laravel) ClassLoader.includeFile when debugging any modified php source.
I updated my VS2017 and went to update PHPTools which failed to install. I have attached the VSISInstaller log.

Maybe the issues are related ? I would appreciated any insight to either issue:

ClassLoader.includeFile
Install error for PHPTools
You do not have the required permissions to view the files attached to this post.
Mwechter
 
Posts: 2
Joined: October 21st, 2016, 12:07 am

Re: Install failure updating VS2017 Community

Postby Miloslav Beno » July 24th, 2017, 9:36 am

Hello!

Thank you for the email!

We are aware of this installation issue, unfortunatelly this is caused by Microsoft VSIX installer which we can't fix, we can only wait for Microsoft to fix it.

Fortunatelly there is a simple workaround, just delete this folder and try it again C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\DEVSENSE

Please let me know if that helped!

Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Workaround works!

Postby uwe » July 24th, 2017, 11:17 am

I had the same error.

Your workaround (deleting the folder) helped me.
uwe
 
Posts: 21
Joined: October 10th, 2016, 8:39 am

.

Postby uwe » July 24th, 2017, 11:20 am

Too early:

When loading my project, VS2017 Community failed to load my project and the output window shows:

C:\my\project\my.phpproj : error : Expected 1 export(s) with contract name "Devsense.VisualStudio.Shell.ITelemetryTrackerProvider" but found 2 after applying applicable constraints.


Update:

Solved it by uninstalling the previous DevSense version (Tools → Extensions and Updates).
uwe
 
Posts: 21
Joined: October 10th, 2016, 8:39 am

Re: Install failure updating VS2017 Community

Postby Miloslav Beno » July 25th, 2017, 8:23 am

Hi!

VSIX installer should not allow to install two instances of an extension to one VS, but obviously it did in your case. I'm glad you've solved this one.

Thanks for letting us know!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Install failure updating VS2017 Community

Postby Mwechter » July 26th, 2017, 2:40 pm

Thank you... deleting the Devsense folder allowed the installation to succeed
Mwechter
 
Posts: 2
Joined: October 21st, 2016, 12:07 am

Re: Install failure updating VS2017 Community

Postby Miloslav Beno » August 10th, 2017, 8:50 am

Glad it helped. VSIX Installer should delete the folder, but it does not - it's a bug, hopefully MS will fix it soon.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 21 guests

cron

User Control Panel

Login

Who is online

In total there are 21 users online :: 0 registered, 0 hidden and 21 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 21 guests