Skip to content

Unable to use Awesome-Copilot with Visual Studio #566

@gchapeaux

Description

@gchapeaux

I tried to use Awesome copilot with Github copilot on Visual Studio, but I couldn't manage to do so, even when trying to include manually in my project the prompts and agents I needed.

  • The "Visual Studio: Install" button opens Visual Studio, but nothing happens (either from this very github repo, or from Visual Studio documentation
  • I tried asking directly copilot "Help me add awesome-copilot to Visual Studio", and I end up with the following error :

[Conversations Error] Loading GitHub account information...
Logging to: C:\Users\gregoire.chapeaux_ap\AppData\Local\Temp\VSGitHubCopilotLogs\20260113_164510.937_VSGitHubCopilot.chat.log
[Conversations Information] Copilot chat version 17.14.1518-rc+f209c0741f.RR (17.14.1518.61961). VS: VisualStudio.17.Release/17.14.21+36717.8.-november.2025-. Session: ffe65c8f-ae9c-4719-96cc-9b5e2c10047a.
[Conversations Error] Loading GitHub account information...
[Conversations Information] Need to get an auth token.
[HttpClientFactoryProvider Information] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] [Conversations] Out-of-process service (PID: 17396) finished initializing.
[Conversations Information] installMcpServer command line option detected with value: {"name":"Awesome Copilot","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:latest"]}
[Conversations Information] [CopilotAgents] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Status Code: 200, Reason Phrase: OK
[Conversations Information] Response Content: HasToken: True, ChatEnabled: True, ExpiresAt: 1768324513, RefreshIn: 1500, SKU: copilot_for_business_seat_quota, CopilotExclusion: False, ChatQuota: '', CompletionsQuota: '', LimitedUserResetDate: '', CanSignupForLimited: ''
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] [CopilotCustomInstructionsProvider] Workspace path is null. Custom instructions will be loaded on the next query if exists.
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] [GetQuota] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] [CopilotClient] Copilot Internal User response: Conversations.Abstractions.Auth.CopilotUserData
[Conversations Information] [CopilotModels] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[CopilotClientManager Information] LSP: Activated (20782901)
[CopilotClientManager Information] LSP: Debug Server: http://localhost:8180
[CopilotClientManager Information] LSP: Process 22180
[CopilotClientManager Information] Initial auth status: OK
[CopilotClientManager Information] CopilotClientManager: model list fetched as of 2026-01-13 11:45:16.
[CopilotClientManager Information] statusNotification: Error: You are not signed into GitHub.
[CopilotSessionProvider Information] Begin sending message (ConversationId:9485da50-b5d0-4829-8a1f-93cb995465fd, CorrelationId:dd5f5f56-4c2d-4069-8295-f9d6ce55669d, MessageId: ee3df12e-3c5b-411c-bf5d-987c1c77fdf2)
[CopilotSessionProvider Information] Request content: "Help me add awesome-copilot to visual studio."
[Conversations Warning] [CopilotCustomInstructionsProvider] Workspace path is null or empty. Cannot load custom instructions files, No workspace is opened.
[Conversations Information] [CopilotCustomInstructionsProvider] Custom instructions loading state NotLoaded_NoWorkspace No workspace.
[Conversations Error] [Conversations] Unhandled exception in AskInConversationAsync: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'ServiceHub.Host.dotnet.HostServices+LazyServiceBroker'.
at Microsoft.Verify.NotDisposed(Boolean condition, Object disposedValue, String message)
at ServiceHub.Host.dotnet.HostServices.LazyServiceBroker.GetProxyAsync[T](ServiceRpcDescriptor serviceDescriptor, ServiceActivationOptions options, CancellationToken cancellationToken)
at Microsoft.ServiceHub.Framework.ServiceBrokerClient.<>c__DisplayClass21_01.<<GetProxyAsync>b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.VisualStudio.Threading.AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter1.GetResult()
at Microsoft.VisualStudio.Threading.AsyncLazy1.<>c__DisplayClass20_0.<<GetValueAsync>b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.ServiceHub.Framework.ServiceBrokerClient.GetProxyAsync[T](ServiceRpcDescriptor serviceRpcDescriptor, ServiceActivationOptions options, CancellationToken cancellationToken) at Conversations.Kernel.Context.ContextProviders.PromptifyContextAsync(CopilotRequest request, CopilotPromptOptions options, CancellationToken cancellation) at Conversations.Kernel.RequestBuilder.BaseRequestBuilder.AddContextAsync(Int32 contextBudget, CancellationToken cancellation) at Conversations.Kernel.RequestBuilder.Strategies.LegacyRequestBuilder.AddOptionalComponentsAsync(CancellationToken cancellation) at Conversations.Kernel.RequestBuilder.BaseRequestBuilder.BuildAsync(CancellationToken cancellation) at Conversations.Kernel.ChatRequest.CreateAsync(String systemPrompt, String responseInstructions, IntentExecutionContext context, CancellationToken cancellationToken) at Conversations.Kernel.Intents.GenericIntent.ExecuteCoreAsync(IntentExecutionContext context, CancellationToken cancellationToken) at Conversations.Kernel.Intents.IntentBase.ExecuteAsync(IntentExecutionContext context, CancellationToken cancellationToken) at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) at Microsoft.VisualStudio.Conversations.Service.ServiceTarget.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeInteractions, IReadOnlyList1 history, CopilotRequestOptions requestOptions, CancellationToken cancellation)
[CopilotSessionProvider Error] Unhandled exception invoking responder GitHub Copilot: StreamJsonRpc.RemoteInvocationException: Cannot access a disposed object.
Object name: 'ServiceHub.Host.dotnet.HostServices+LazyServiceBroker'.
at StreamJsonRpc.JsonRpc.d__1561.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Copilot.ResponderBroker.<SendRequestHelperAsync>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Copilot.ResponderBroker.<SendRequestHelperAsync>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Copilot.ResponderBroker.<SendDirectRequestAsync>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore1.GetResult(Int16 token)
at Microsoft.VisualStudio.Copilot.Core.Agents.CopilotAgentModeResponder.d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore1.GetResult(Int16 token) at Microsoft.VisualStudio.Copilot.CopilotDefaultOrchestrator.<SendRequestToResponderAsync>d__24.MoveNext() RPC server exception: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'ServiceHub.Host.dotnet.HostServices+LazyServiceBroker'. at Microsoft.Verify.NotDisposed(Boolean condition, Object disposedValue, String message) at ServiceHub.Host.dotnet.HostServices.LazyServiceBroker.GetProxyAsync[T](ServiceRpcDescriptor serviceDescriptor, ServiceActivationOptions options, CancellationToken cancellationToken) at Microsoft.ServiceHub.Framework.ServiceBrokerClient.<>c__DisplayClass21_01.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.VisualStudio.Threading.AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter1.GetResult() at Microsoft.VisualStudio.Threading.AsyncLazy1.<>c__DisplayClass20_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.ServiceHub.Framework.ServiceBrokerClient.GetProxyAsync[T](ServiceRpcDescriptor serviceRpcDescriptor, ServiceActivationOptions options, CancellationToken cancellationToken)
at Conversations.Kernel.Context.ContextProviders.PromptifyContextAsync(CopilotRequest request, CopilotPromptOptions options, CancellationToken cancellation)
at Conversations.Kernel.RequestBuilder.BaseRequestBuilder.AddContextAsync(Int32 contextBudget, CancellationToken cancellation)
at Conversations.Kernel.RequestBuilder.Strategies.LegacyRequestBuilder.AddOptionalComponentsAsync(CancellationToken cancellation)
at Conversations.Kernel.RequestBuilder.BaseRequestBuilder.BuildAsync(CancellationToken cancellation)
at Conversations.Kernel.ChatRequest.CreateAsync(String systemPrompt, String responseInstructions, IntentExecutionContext context, CancellationToken cancellationToken)
at Conversations.Kernel.Intents.GenericIntent.ExecuteCoreAsync(IntentExecutionContext context, CancellationToken cancellationToken)
at Conversations.Kernel.Intents.IntentBase.ExecuteAsync(IntentExecutionContext context, CancellationToken cancellationToken)
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation)
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation)
at Microsoft.VisualStudio.Conversations.Service.ServiceTarget.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeInteractions, IReadOnlyList1 history, CopilotRequestOptions requestOptions, CancellationToken cancellation) at Microsoft.VisualStudio.Conversations.Service.CopilotServiceContainer.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeResponse, IReadOnlyList1 history, CopilotRequestOptions requestOptions, CancellationToken cancellationToken)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions