Page 1 of 1

Install failure updating VS2017 Community

PostPosted: July 21st, 2017, 4:54 pm
by Mwechter
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

Re: Install failure updating VS2017 Community

PostPosted: July 24th, 2017, 9:36 am
by Miloslav Beno
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,

Workaround works!

PostPosted: July 24th, 2017, 11:17 am
by uwe
I had the same error.

Your workaround (deleting the folder) helped me.

.

PostPosted: July 24th, 2017, 11:20 am
by uwe
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).

Re: Install failure updating VS2017 Community

PostPosted: July 25th, 2017, 8:23 am
by Miloslav Beno
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!

Re: Install failure updating VS2017 Community

PostPosted: July 26th, 2017, 2:40 pm
by Mwechter
Thank you... deleting the Devsense folder allowed the installation to succeed

Re: Install failure updating VS2017 Community

PostPosted: August 10th, 2017, 8:50 am
by Miloslav Beno
Glad it helped. VSIX Installer should delete the folder, but it does not - it's a bug, hopefully MS will fix it soon.