Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant connect to live share with c++ #3989

Open
tamliad123456 opened this issue Nov 28, 2020 · 60 comments
Open

cant connect to live share with c++ #3989

tamliad123456 opened this issue Nov 28, 2020 · 60 comments

Comments

@tamliad123456
Copy link

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

@lostintangent
Copy link
Member

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

@IlyaBiryukov
Copy link
Collaborator

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.

@jonathanduncan
Copy link

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

@rikardmansson
Copy link

I have the same problem but with C#

@GreatBarrier86
Copy link

Same here with C# as well.

@LiverLord123
Copy link

Same hear with C#

@tgtjam
Copy link

tgtjam commented Mar 24, 2021

Same problem

@T1Kingu
Copy link

T1Kingu commented May 16, 2021

not resolved?

@Pro845627
Copy link

Same problem too with C#

@efinder2
Copy link

same problem with c#

@dJeePe
Copy link

dJeePe commented Jun 2, 2021

+1
Same for me with c#

@Davsterl
Copy link
Member

Davsterl commented Jun 2, 2021

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

@jamesatgreymetis
Copy link

@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

@dJeePe
Copy link

dJeePe commented Jun 3, 2021

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

@dJeePe
Copy link

dJeePe commented Jun 3, 2021

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

@daytonellwanger
Copy link
Collaborator

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?

@dJeePe
Copy link

dJeePe commented Jun 3, 2021

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

@daytonellwanger
Copy link
Collaborator

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
Copy link
Collaborator

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

@dJeePe
Copy link

dJeePe commented Jun 4, 2021

@daytonellwanger
Copy link
Collaborator

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
Copy link
Collaborator

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

@DavidLazarescu
Copy link

DavidLazarescu commented Jun 28, 2021

Correct. Is the only issue that it's annoying? Or is there some other problem it's causing?

This is the only issue it's causing, or at least from what i saw til now.

Do you know if there is any way of working together on the same project live? Me and my friend would really like to use it or at least something similar

@AhmedMostafa16
Copy link

@AhmedMostafa16 what do you mean the Insiders version of Live Share? I wasn't aware that we had one 😁.

In Visual Studio's Settings of LiveShare, there is an option called "Features". We can change it from Stable to Insiders.

@daytonellwanger
Copy link
Collaborator

@Creapermann , can't you use Live Share after dismissing the error?

@AhmedMostafa16 , ahhh I see. Unfortunately changing that setting won't fix this issue - it's not actually a Live Share issue, so we'll have to wait for the appropriate VS component to fix it.

@DavidLazarescu
Copy link

@Creapermann , can't you use Live Share after dismissing the error?

@AhmedMostafa16 , ahhh I see. Unfortunately changing that setting won't fix this issue - it's not actually a Live Share issue, so we'll have to wait for the appropriate VS component to fix it.

Wym with after dismissing the error?

@daytonellwanger
Copy link
Collaborator

If I'm understanding correctly, Live Share is working fine for you, you're just receiving an error notification on the guest. Can't you just close the error notification?

@DavidLazarescu
Copy link

If I'm understanding correctly, Live Share is working fine for you, you're just receiving an error notification on the guest. Can't you just close the error notification?

Its not just the error i get, the error detection is also not working

@AhmedMostafa16
Copy link

If I'm understanding correctly, Live Share is working fine for you, you're just receiving an error notification on the guest. Can't you just close the error notification?

plus we can't use any feature like debugging, IntelliSense, etc.

@DavidLazarescu
Copy link

If I'm understanding correctly, Live Share is working fine for you, you're just receiving an error notification on the guest. Can't you just close the error notification?

plus we can't use any feature like debugging, IntelliSense, etc.

intellisense is working fine for me

@daytonellwanger
Copy link
Collaborator

@Creapermann ah, I see. Let's track that issue over at #4339.

@AhmedMostafa16 it sounds like you're encountering a separate issue. Did you go through the steps above of downloading the missing dependencies and manually placing them alongside Live Share?

@AhmedMostafa16
Copy link

@Creapermann ah, I see. Let's track that issue over at #4339.

@AhmedMostafa16 it sounds like you're encountering a separate issue. Did you go through the steps above of downloading the missing dependencies and manually placing them alongside Live Share?

As you mentioned previously, this is not a problem in LiveShare. I have tried the steps above of downloading the missing dependencies and manually placing them but in vain. I will just wait.
Thank you for your time, @daytonellwanger

@Baccanno
Copy link

Hey there, still the same here. Any update ?
image
VS 2019 16.11.15
image

@daytonellwanger
Copy link
Collaborator

Hey @Baccanno , there are a few different issues mentioned in this thread. What specifically are you bumping into? It may also help to open a separate issue to make things easier to follow.

@Baccanno
Copy link

Baccanno commented Nov 6, 2021

Hey @Baccanno , there are a few different issues mentioned in this thread. What specifically are you bumping into? It may also help to open a separate issue to make things easier to follow.

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

And I can't use any of VS functionality, only the text editing works. (No autocompletion/intellisense, no fix suggestions, unable to search files or follow to implementation, etc ...). It's very very blocking, I have 3 remote collaborators and it takes me forever to guide them. I remember it was working some month ago and I don't know what happened since then. We all are fully updated in VS and Live Share plugin (This is what I was showing in the previous issue).

@beckerrobin
Copy link

beckerrobin commented Dec 16, 2021

This did not solve anything for VS 2022 Version 17.0.3.

@arsium
Copy link

arsium commented Mar 19, 2022

Got same on Visual Studio 2022 17.1.1

@cheesi
Copy link

cheesi commented Apr 4, 2022

We tried out Liveshare today (C#) and all three of us got the same error message:
Output Channel Consumer is operating with reduced functionality due to a missing dependency service: Microsoft.VisualStudio.Shell.OutputChannelStore (0.1)

Visual Studio 2022: 17.1.3
Live Share 2022 (extension):1.0.5273.0

@Davsterl
Copy link
Member

Davsterl commented Apr 5, 2022

Hello,
The reduced functionality error message is a bit benign, but should be fixed in an upcoming version of VS.

@Halal-Dev
Copy link

bruh

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically in 2 days.

@github-actions github-actions bot added the Stale label Aug 15, 2022
@Pantigoso
Copy link

Still happening for myself and @pmomtoyam
C++ language service is operating with reduced functionality due to a missing dependency service: Microsoft.VisualStudio.VC.ManagedPackageService.
We're both on:
Visual Studio Community 2022 v17.3.1
Live Share 2022 v1.0.5680.0
Project Type: WPF App (.NET Framework 4.8)

@derekbekoe derekbekoe added this to the Oct-Dec 2022 milestone Nov 2, 2022
@derekbekoe derekbekoe removed the Stale label Nov 2, 2022
@derekbekoe derekbekoe modified the milestones: Oct-Dec 2022, Jan-Mar 2023 (uncommitted) Dec 13, 2022
@derekbekoe derekbekoe removed this from the Jan-Mar 2023 (uncommitted) milestone Mar 29, 2023
@Flow86
Copy link

Flow86 commented Mar 5, 2025

same here on Visual Studio 2022 Version 17.13.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests