r/VisualStudio

▲ 3 r/VisualStudio+1 crossposts

Is it possible to add my models to Git Hub Copilot integration inside Visual Studio 2026 Community Edition?

I don't want to pay for built-in models in GitHub Copilot. Is it possible to add models from my Anthropic Subscription or a self-hosted model? From what I found, it possible to use "Bring Your Own Key" in the Copilot extension for VS Code. And it is possible to use "Bring Your Own Key" in Visual Studio 2026 Enterprise. But I want to be sure whether there really no way to add my model into Copilot in VS Community?

reddit.com
u/KorKiness — 3 days ago
▲ 2 r/VisualStudio+2 crossposts

Missing Debug/Release dropdown in .NET MAUI project (only shows Any CPU)

https://preview.redd.it/1mi7lx7f8zah1.png?width=571&format=png&auto=webp&s=bbec54ffb418fc5a030fd25aeb1a0462eb6a939a

Hi! I'm working on a .NET MAUI project, and I've run into a strange issue.

As you can see, the configuration dropdown only shows "Any CPU". If I want to switch between Debug and Release, I have to open Configuration Manager and change the Active Solution Configuration manually.

https://preview.redd.it/9vkwydal8zah1.png?width=822&format=png&auto=webp&s=83bc7da738a342f184766dddd4ed967c02ac2f2d

Previously, the Debug/Release dropdown was located exactly where the "Any CPU" dropdown is now.

I've already tried resetting Visual Studio to its default settings, but the issue persists. At this point, I suspect it might be something specific to my project's configuration.

Do you have any ideas on how to solve this?

reddit.com
u/FranTimo — 3 days ago
▲ 0 r/VisualStudio+1 crossposts

Newbie help with visual studio 2026

Update: This is a visual studio problem. When looking at solution explorer it says none of my
project have loaded. When trying to reload them it says Microsoft.NET.SDK could not be found.

Im following a tutorial and they have a feature i currently cant find out how to use.

For example they have

void Update()
{
rigidBody2d.
}

I’m stopping it there because when he puts in that period he gets a list of properties that he is able to use that i don’t get. I’m wondering if anybody know how. I’ve added a picture for better context.

u/Matutteee — 3 days ago

VS2026 - "Create Unit Tests" Removed In Favor of Copilot AI Waste

While this may have been posted previously, I do not care. I will post it again because it is annoying enough to do so.

https://github.com/dotnet/docs/issues/50269

To push people to unnecessarily use AI, Microsoft has removed their previous, simple and effective scaffolding tools for test creation. Previously, you could simply right click on a method and choose 'Create Unit Tests'. It would launch an easy to use scaffolding tool and put it all in place for you.

It was removed for one reason. To push people to use Copilot instead of writing code themselves.

So, instead of a standard scaffolding option, requests will now be sent to an AI data center which uses unnecessary resources for no reason whatsoever. I use AI for coding like most programmers, but it is ridiculous to remove completed features in an attempt to push everyone towards using AI when it is not needed.

It is certainly easy enough to create these tests manually, but it is just another example of making products worse for the sake of using AI unnecessarily.

u/freebytes — 5 days ago

VS 2026 Hot Reload / Edit and Continue

What's everyone's opinion on the reliability of Hot Reload in VS 2026? I've used Edit and Continue in the past with VS 2022 to debug a dll after attaching to a process, and it worked more or less fine.

Now, however, with VS 2026, Hot Reload pretty much never works. Even minor changes turn out to be not supported - which is a pain, because the app the dll is plugging into takes a fair while to load every single time.

Has this feature regressed from VS 2022 to 2026?

reddit.com
u/RealisticEntity — 5 days ago

How to do not ignore trim whitespaces in resolve merge conflict window?

I have branch 'test' with file test.cs:

using System;
if (true) {
    call(argument);
}

Also I have branch 'test-2' with file test.cs:

using System;

if (true) {
    if (something)
        call(argument);
    else
        return;
}

When I merging 'test' into 'test-2' and trying resolve conflict, visual studio breaks single conflict to three smaller, but does not include call(argument); line (or just leading whitespaces) into any conflict block as seen in middle tab on screenshot. As result changes before call(argument); become lost.

Is there any way to change such behavior?

u/MikasaTanikawa — 6 days ago

I just couldn't take it. I had to uninstall 2026 Insiders and re-install VS2019 😫

Yeah and I know I'll probably be downvoted faster than it takes to compile a simple output but I'm just tired of trying to fix these constant bugs, random crashes, and all sorts of strange behaviours on 2026.

And on top of uninstalling all that, I had another fun time trying to pinpoint all the extra folders left behind when removing couldn't wipe all those out. But then I also found them on the apps list even though they're gone, which I had to go into `regedit` and sift through those.

But now on VS2019 I was shocked at the loading time.. 2 seconds! I don't care about all this AI crap, let me build, thank you~ 😡😡

reddit.com
u/AreaFifty1 — 11 days ago

breakpoints not binding anymore, how to track down?

VS 2017. Updated. Windows 10.

Since a few weeks ago, all projects in VS2017 in x64 configuration stopped binding to break points.

This is in Debug config (verified that it is not creating release versions of binaries). Debug symbols are on. /Zi. Module windows shows pdb loaded. llvm pdb utils shows correct paths in exe and guid. Breakpoints should work, but don't! They used to, but now they don't.

They work in x86 config though. Friend's WIn 10 machines shows same problems.

The only common thing we did was (in addition to Windows auto updates?) to run cmake for protobuf and some related source code within last couple of weeks.

A third computer, Win 10, VS2017 (but a bit older version) doesn't show this problem (not cmake was run on that one).

Removed all .vs directories, no luck.

Repaired my VS2017 installation. No luck.

Cleared away my local VS2017 config directory as a hard clean up, no luck.

Been browsing the internets, looked hither and tither, can't seem to find the root cause.

What else can I try, short of reinstalling or upgrading to newer VS version, to fix my VS2017 x64 debugging?

Self edit for future visitors: Solved. The security software was blocking msvsmon.exe, the visual studio debugging monitor. The white list item of that exe was misconfigured. The IT fixing that got VS 2017 debugging working normally again.

reddit.com
u/bladeofglass — 8 days ago

Getting errors on opening Visual Studio

https://preview.redd.it/xx5hv2fn61ah1.png?width=734&format=png&auto=webp&s=65f6513f9b605769deb658415db04ddaea3febb6

Hi there! I'm getting errors from Visual Studio 2022 after an update. I would be grateful for your help

Here are full log:

Microsoft.ServiceHub.Framework.ServiceActivationFailedException : Activating the "Microsoft.VisualStudio.LanguageServices.LegacySolutionEventsAggregationCore64" service failed. ---> StreamJsonRpc.ConnectionLostException : The JSON-RPC connection with the remote party was lost before the request could complete.
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async StreamJsonRpc.JsonRpc.InvokeCoreAsync(<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.ServiceHub.Client.HubClient.RemoteServiceBrokerWrapper.<>c__DisplayClass9_0.<RequestServiceChannelAsync>b__0(<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.ServiceHub.Client.HubClient.RemoteServiceBrokerWrapper.<>c__DisplayClass9_0.<RequestServiceChannelAsync>b__0(<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.ServiceHub.Utility.Shared.ServiceHubRetry.ExecuteAsync[TReturnType](<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.ServiceHub.Utility.Shared.ServiceHubRetry.ExecuteAsync[TReturnType](<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.ServiceHub.Client.HubClient.RemoteServiceBrokerWrapper.RequestServiceChannelAsync(<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.ServiceHub.Client.HubClient.RemoteServiceBrokerWrapper.RequestServiceChannelAsync(<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.VisualStudio.Services.ServiceBroker.VsHubClient.VsHubClientRemoteServiceBrokerWrapper.RequestServiceChannelAsync(<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.ServiceHub.Framework.RemoteServiceBroker.GetProxyAsync[T](<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Threading.Tasks.ValueTask`1.get_Result()
   at async Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.ProfferedRemoteServiceBroker.GetProxyAsync[T](<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Threading.Tasks.ValueTask`1.get_Result()
   at async Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.View.GetProxyAsync[T](<Unknown Parameters>)
   --- End of inner exception stack trace ---
   at async Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.View.GetProxyAsync[T](<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Threading.Tasks.ValueTask`1.get_Result()
   at async Microsoft.ServiceHub.Framework.ServiceBrokerClient.<>c__DisplayClass21_0`1.<GetProxyAsync>b__0[T](<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.VisualStudio.Threading.AsyncLazy`1.<>c__DisplayClass20_0.<GetValueAsync>b__0[T](<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.ServiceHub.Framework.ServiceBrokerClient.GetProxyAsync[T](<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Threading.Tasks.ValueTask`1.get_Result()
   at async Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.RentServiceAsync[TService](<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Threading.Tasks.ValueTask`1.get_Result()
   at async Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.TryInvokeAsync[TService,TResult](<Unknown Parameters>)
reddit.com
u/Far-Signature3324 — 7 days ago

VS code is most trash thing I have seen, working through 3 hours with chatgpt in C++ and still code is not running just random fucked up things, while code is right and as it should be. How can some say this is a good ide, it is a trash, I should rather uninstall it and download something I think.

reddit.com
u/Clue_Flex__ — 10 days ago
▲ 17 r/VisualStudio+2 crossposts

I built an open-source VS extension that lets Claude Code drive the Visual Studio debugger to find bugs

A problem (and opportunity) came when I found myself using the debugger in Visual Studio, adding console logs and then hand-feeding those values to the Claude CLI to get it to debug a tricky bug with the correct context. So, I started building a bridge between Visual Studio's debugger automation and the CLI. A few weeks later Claude was setting breakpoints in my files, stepping through them, watching variables mutate at different frames, and telling me where a bug was hiding that it would have probably skimmed past while reading my code.

The part in the clip: Claude can drive the debugger itself, set breakpoints, step, read locals, and find bugs by running the code instead of reading it, and every edit it makes opens in a dedicated diff viewer with an accept / reject permission request. The clip shows it catching a bug that's invisible in the output by watching a counter fail to reset.

Would genuinely appreciate your feedback on this!

Marketplace: Claude Code for Visual Studio - Visual Studio Marketplace
Source + docs: GitHub - firish/claude_code_vs

u/Remote-Breadfruit204 — 12 days ago
▲ 7 r/VisualStudio+1 crossposts

Github copilot being bugged garbage is specific for Visual Studio 2026 or it same in VSCode?

I'm using GitHub Copilot in the Visual Studio 2026 UI for C# development. It's so unstable shit in a technical meaning, not LLM output. The session may break in the middle of plan execution. And I have to spend time and tokens to set up a new session with additional explanation on where to continue. I don't understand how is this a paid product when it is so unreliable, and Microsoft is daring to raise prices.

UPD: for illustration. Today I wanted to vibe code a few integration tests and this crap died 2 times in the middle of work.

https://preview.redd.it/9grt6q0y379h1.png?width=927&format=png&auto=webp&s=51a4a9549c048b5a0ae7e4c4ea1f874b690da93b

https://preview.redd.it/g5rttbe4479h1.png?width=935&format=png&auto=webp&s=1e5194a4e43ac0f1168502d231cdd17ffda52022

reddit.com
u/KorKiness — 12 days ago
▲ 1 r/VisualStudio+1 crossposts

Why cant i see my code

Earlier today i was trying to code and visual studio wont show me any code please help me

u/whyme666998 — 13 days ago

The new update of 2026 insiders no longer show structure guide lines [v11918.235]

Has anyone else encountered this problem? Changing the colors of the structure guide lines briefly flashes them for a second until they disappear again. Surely it must be a bug. I didn't know how good it was for my eyes until I lost it...

Is there a way to downgrade it and restore it to the last version at least?

reddit.com
u/100radsBar — 11 days ago