live-share icon indicating copy to clipboard operation
live-share copied to clipboard

cant connect to live share with c++

Open tamliad123456 opened this issue 4 years ago • 61 comments

Describe what happened: when I try to connect to live share error pops up:

C++ language service is operating with reduced functionality due to a missing dependency service: Microsoft.VisualStudio.VC.ManagedPackageService.

What was your system configuration? visual studio 2019 windows 10 19042 Live Share Extension Version: 1.0.2876.1 and also 1.0.3121.0 Target Platform or Language [e.g. Node.js]: c++

Steps to Reproduce / Scenario: enter a live share link and open with visual studio 2019 you will connect but cant access any file and get the error.

image

tamliad123456 avatar Nov 28 '20 11:11 tamliad123456

@IlyaBiryukov Any thoughts here? I'm not familiar with the Connected Environment selection in the Output window.

lostintangent avatar Dec 22 '20 07:12 lostintangent

I think "C++ language service is operating with reduced functionality" comes from CMakeCommandsClient.cs, and it's a red herring. Most likely some C++ service tried to get a proxy and could not because it's not a codespace. Luca may know more about this.

IlyaBiryukov avatar Dec 22 '20 18:12 IlyaBiryukov

I would really like to know how to resolve this. This is keeping me from developing with a friend of mine.

jonathanduncan avatar Jan 28 '21 20:01 jonathanduncan

I have the same problem but with C#

rikardmansson avatar Mar 10 '21 13:03 rikardmansson

Same here with C# as well.

GreatBarrier86 avatar Mar 11 '21 16:03 GreatBarrier86

Same hear with C#

LiverLord123 avatar Mar 20 '21 16:03 LiverLord123

Same problem

tgtjam avatar Mar 24 '21 01:03 tgtjam

not resolved?

T1Kingu avatar May 16 '21 03:05 T1Kingu

Same problem too with C#

Pro845627 avatar May 29 '21 12:05 Pro845627

same problem with c#

efinder2 avatar May 31 '21 18:05 efinder2

+1 Same for me with c#

dJeePe avatar Jun 02 '21 16:06 dJeePe

@dJeePe Thank you for your feedback. Are you hitting this with the latest version of Visual Studio?

Davsterl avatar Jun 02 '21 16:06 Davsterl

@dJeePe Thank you for your feedback. Are you hitting this with the latest version of Visual Studio?

Yes, I'm running the following

Microsoft Visual Studio Professional 2019 Version 16.9.5 VisualStudio.16.Release/16.9.5+31229.75 Microsoft .NET Framework Version 4.8.04084 Installed Version: Professional

Live share version 1.0.4278.0

jamesatgreymetis avatar Jun 03 '21 08:06 jamesatgreymetis

Yes, VS Community 2019 Version 16.9.5 and Live Share version 1.0.4278.0

dJeePe avatar Jun 03 '21 14:06 dJeePe

i've just update VS to version 16.10 .. but still the message : Visual studio is operating with reduced functionality due to one or more missing dependency services Output Channel Consumer is operating with reduced functionality due to a missing dependency service: Microsoft.VisualStudio.Shell.OutputChannelStore (0.1).

==> No intelliSense, no autocompletion, no intelliCode, no codeLens, no folding ... When i launch a build : no error in list even if the build failed 2021-03_182909

Thank you

dJeePe avatar Jun 03 '21 16:06 dJeePe

Trying to reproduce this on VS 2019 16.10 with Live Share 1.0.4278: repro

It looks like everything is working except the red squiggles for the errors are showing up in the wrong place, and the entries in the error list are duplicated. Is that what you all or seeing? Or something else?

daytonellwanger avatar Jun 03 '21 17:06 daytonellwanger

As you can see on my screen below, there is no popup (neither for the autocompletion, nor for the display on MouseOver )

2021-06-04_002802

dJeePe avatar Jun 03 '21 22:06 dJeePe

Thanks for that! I'm not sure what's different between our setups. Could you file an issue via Help -> Send feedback -> Report a problem in Visual Studio? That will attach all sorts of useful information that can help us debug.

daytonellwanger avatar Jun 03 '21 22:06 daytonellwanger

Are the other folks on the thread experiencing the same problem as @dJeePe , or something else?

daytonellwanger avatar Jun 03 '21 22:06 daytonellwanger

I just opened it: https://developercommunity.visualstudio.com/t/In-liveShare-I-have-no-intelliSense-no/1441486

Thank you for your time.

dJeePe avatar Jun 04 '21 07:06 dJeePe

Thanks very much for that! I think I see what's going on. Working on a fix now. Hopefully have it out in the next week or so.

daytonellwanger avatar Jun 07 '21 21:06 daytonellwanger

It looks like we forgot to bundle one of our dependencies with the extension. The dependency is included with some workloads (e.g. C++), which is maybe why we hadn't noticed until now.

We'll have this fixed in the next release. If you want to unblock yourself before then, you can manually add the dependencies. Unzip the following file and add the two dlls to C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\Microsoft\LiveShare:

dependencies.zip

daytonellwanger avatar Jun 07 '21 22:06 daytonellwanger

I tried to put the DLLs in the directory (I couldn't wait for the next release, I was too excited) and it works like on your demo. (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDEExtensions\Microsoft\LiveShare for me because I use the community version)

thank you Dayton for your time !

dJeePe avatar Jun 08 '21 00:06 dJeePe

Awesome! Thanks for verifying that. I'll close this issue once we ship the fix. Do let us know if you encounter any other problems. Thank you so much for helping us get to the bottom of this.

daytonellwanger avatar Jun 08 '21 00:06 daytonellwanger

Thank you @dJeePe ! We really appreciate both the feedback and the help getting to the bottom of it!

Davsterl avatar Jun 08 '21 15:06 Davsterl

experiencing

exactly the same!

DavidLazarescu avatar Jun 28 '21 17:06 DavidLazarescu

It looks like we forgot to bundle one of our dependencies with the extension. The dependency is included with some workloads (e.g. C++), which is maybe why we hadn't noticed until now.

We'll have this fixed in the next release. If you want to unblock yourself before then, you can manually add the dependencies. Unzip the following file and add the two dlls to C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\Microsoft\LiveShare:

dependencies.zip

For me this doesnt work, me and my friend, we both added it to the dictionary but its not working. Its the same problem as before

DavidLazarescu avatar Jun 28 '21 18:06 DavidLazarescu

@Creapermann what exactly is broken for you? Which language features in which language?

daytonellwanger avatar Jun 28 '21 18:06 daytonellwanger

@Creapermann what exactly is broken for you? Which language features in which language?

Thanks for your fast reply! My problem is that the ppl I live share with don't get errors marked, the ones who connect get this error:

Output Channel Consumer is operating with reduced functionality due to a missing dependency service: Microsoft.VisualStudio.Shell.OutputChannelStore (0.1).

The problem is exactly the same which was discussed in the comments above

We are using C++, I went through the solution I found here, added the .dll files but nothing changed. My friend and I are trying for 2 days already, we tried changing the Live Share settings and stuff like this as well.

What exact info do you need but the language?

DavidLazarescu avatar Jun 28 '21 18:06 DavidLazarescu

@Creapermann what exactly is broken for you? Which language features in which language?

Thanks for your fast reply! My problem is that the ppl I live share with don't get errors marked, the ones who connect get this error:

Output Channel Consumer is operating with reduced functionality due to a missing dependency service: Microsoft.VisualStudio.Shell.OutputChannelStore (0.1).

The problem is exactly the same which was discussed in the comments above

We are using C++, I went through the solution I found here, added the .dll files but nothing changed. My friend and I are trying for 2 days already, we tried changing the Live Share settings and stuff like this as well.

What exact info do you need but the language?

This happens to me too, @daytonellwanger

AhmedMostafa16 avatar Jun 28 '21 18:06 AhmedMostafa16