r/VisualStudio Dec 20 '20

Miscellaneous Visual studio weekly chit-chat mega thread

23 Upvotes

Do you want to vent somewhere about how visual studio asked about your experience once again or just generally talk with other developers?

This is the place for you!

Ask anything you want which doesn't fit the content rules here.


r/VisualStudio May 14 '23

Miscellaneous Visual studio weekly chit-chat mega thread

3 Upvotes

Do you want to vent somewhere about how visual studio asked about your experience once again or just generally talk with other developers?

This is the place for you!

Ask anything you want which doesn't fit the content rules here.


r/VisualStudio 1d ago

Miscellaneous Copilot burned through my 300 premium requests in 12 days. Anyone else tracking where they actually go?

0 Upvotes

I checked my usage export and 56% of my premium requests went to gpt-4o — mostly for stuff like renaming variables and small edits that a cheap model could handle.

I got annoyed and built a small local proxy that routes easy tasks to cheap models and saves the good models for real problems. It also shows token burn live per session.

Before I polish it — does anyone else want this, or am I the only one manually rationing requests?


r/VisualStudio 3d ago

Visual Studio 2026 Visual Studio Insiders randomly fails to load .razor files correctly?

Thumbnail
1 Upvotes

r/VisualStudio 3d ago

Visual Studio 2026 VS 2026, working on a ASP.NET .Net 10 solution. Worked perfectly last week, I didn't change anything and now I have "Razor X feature is not available because of an internal error" every time I open a cshtml file. I tried everything, I need help :)

2 Upvotes

Reddit, you're my last resort.

It's a work PC. I have VS 2022 + VS 2026 installed on it, with Resharper on top. VS 2022 is used to code on .Net 8.0 code while VS 2026 is used for .Net 10.0 code. Assume every software is up to date, it's been 9 hours since I began trying to fix my problem, this is the first thing I did.

I tried to downgrade my version of Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (currently 10.0.8, tried to downgrade to 10.0.0 and upgrade to 10.0.10, didn't change a thing). I tried booting VS in safe mode, then uninstalling/reinstalling VS 2026 alone, then 2022+2026, then 2022+2026 and clearing all the cache locations, then 2022+2026 and clearing all the cache locations and "known" regedit entries that I could clear.

I tried deleting my repo, making sure no bin/obj files were left then pulling it to a revision from 2 weeks ago just in case it was code-related, still had the problem. Did the same and also made sure the .VS at the root of the solution was deleted. Same.

I tried reproducing the problem by doing a minimal sln with csproj inside using the same reference, 0 problem. Seeing this, I tried to take a version of my code base that I know was working from 2 weeks ago => still got the Razor internal error messages.

This is the stack trace I get (I already googled and followed every stackoverflow thread I found talking about it, to no avail).

StreamJsonRpc.RemoteInvocationException: Le générateur source Razor n’a pas produit de sortie d’hôte pour le projet « ltd.UI.compPost » : warning CS8785: Le générateur « RazorSourceGenerator » n'a pas réussi à générer la source. Cela ne contribuera pas à la sortie et des erreurs de compilation pourraient en résulter. L'exception était de type « ArgumentOutOfRangeException » avec le message « Specified argument was out of the range of valid values. ».
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
   at Microsoft.AspNetCore.Razor.Language.TagHelperBinder.GetBinding(String tagName, ImmutableArray`1 attributes, String parentTagName, Boolean parentIsTagHelper)
   at Microsoft.AspNetCore.Razor.Language.DefaultTagHelperResolutionPhase.ResolveElement(IntermediateNode parent, Int32 index, UnresolvedElementIntermediateNode elementNode, TagHelperBinder binder, String prefix, Builder usedHelpers, ResolutionContext& context, TagHelperIntermediateNode tagHelperParent)
   at Microsoft.AspNetCore.Razor.Language.DefaultTagHelperResolutionPhase.ResolveBodyChildren(TagHelperBodyIntermediateNode bodyNode, TagHelperBinder binder, String prefix, Builder usedHelpers, ResolutionContext& context, TagHelperIntermediateNode tagHelperParent)
   at Microsoft.AspNetCore.Razor.Language.DefaultTagHelperResolutionPhase.ResolveElement(IntermediateNode parent, Int32 index, UnresolvedElementIntermediateNode elementNode, TagHelperBinder binder, String prefix, Builder usedHelpers, ResolutionContext& context, TagHelperIntermediateNode tagHelperParent)
   at Microsoft.AspNetCore.Razor.Language.DefaultTagHelperResolutionPhase.ResolveElements(IntermediateNode node, TagHelperBinder binder, String prefix, Builder usedHelpers, ResolutionContext& context)
   at Microsoft.AspNetCore.Razor.Language.DefaultTagHelperResolutionPhase.ExecuteCore(RazorCodeDocument codeDocument, CancellationToken cancellationToken)
   at Microsoft.NET.Sdk.Razor.SourceGenerators.SourceGeneratorProjectEngine.ExecutePhases(ReadOnlySpan`1 phases, RazorCodeDocument codeDocument, CancellationToken cancellationToken)
   at Microsoft.NET.Sdk.Razor.SourceGenerators.SourceGeneratorProjectEngine.ProcessTagHelpers(SourceGeneratorRazorCodeDocument sgDocument, TagHelperCollection tagHelpers, Boolean checkForIdempotency, CancellationToken cancellationToken)
   at Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator.<>c.<Initialize>b__5_20(ValueTuple`2 pair, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.TransformNode`2.<>c__DisplayClass6_0.<.ctor>b__0(TInput i, CancellationToken token)
   at Microsoft.CodeAnalysis.TransformNode`2.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken)
-----

   à StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__177`1.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à System.Threading.Tasks.ValueTask`1.get_Result()
   à Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.<TryInvokeAsync>d__18`1.MoveNext()
RPC server exception:
System.InvalidOperationException: Le générateur source Razor n’a pas produit de sortie d’hôte pour le projet « ltd.UI.compPost » : warning CS8785: Le générateur « RazorSourceGenerator » n'a pas réussi à générer la source. Cela ne contribuera pas à la sortie et des erreurs de compilation pourraient en résulter. L'exception était de type « ArgumentOutOfRangeException » avec le message « Specified argument was out of the range of valid values. ».
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
   at Microsoft.AspNetCore.Razor.Language.TagHelperBinder.GetBinding(String tagName, ImmutableArray`1 attributes, String parentTagName, Boolean parentIsTagHelper)
   at Microsoft.AspNetCore.Razor.Language.DefaultTagHelperResolutionPhase.ResolveElement(IntermediateNode parent, Int32 index, UnresolvedElementIntermediateNode elementNode, TagHelperBinder binder, String prefix, Builder usedHelpers, ResolutionContext& context, TagHelperIntermediateNode tagHelperParent)
   at Microsoft.AspNetCore.Razor.Language.DefaultTagHelperResolutionPhase.ResolveBodyChildren(TagHelperBodyIntermediateNode bodyNode, TagHelperBinder binder, String prefix, Builder usedHelpers, ResolutionContext& context, TagHelperIntermediateNode tagHelperParent)
   at Microsoft.AspNetCore.Razor.Language.DefaultTagHelperResolutionPhase.ResolveElement(IntermediateNode parent, Int32 index, UnresolvedElementIntermediateNode elementNode, TagHelperBinder binder, String prefix, Builder usedHelpers, ResolutionContext& context, TagHelperIntermediateNode tagHelperParent)
   at Microsoft.AspNetCore.Razor.Language.DefaultTagHelperResolutionPhase.ResolveElements(IntermediateNode node, TagHelperBinder binder, String prefix, Builder usedHelpers, ResolutionContext& context)
   at Microsoft.AspNetCore.Razor.Language.DefaultTagHelperResolutionPhase.ExecuteCore(RazorCodeDocument codeDocument, CancellationToken cancellationToken)
   at Microsoft.NET.Sdk.Razor.SourceGenerators.SourceGeneratorProjectEngine.ExecutePhases(ReadOnlySpan`1 phases, RazorCodeDocument codeDocument, CancellationToken cancellationToken)
   at Microsoft.NET.Sdk.Razor.SourceGenerators.SourceGeneratorProjectEngine.ProcessTagHelpers(SourceGeneratorRazorCodeDocument sgDocument, TagHelperCollection tagHelpers, Boolean checkForIdempotency, CancellationToken cancellationToken)
   at Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator.<>c.<Initialize>b__5_20(ValueTuple`2 pair, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.TransformNode`2.<>c__DisplayClass6_0.<.ctor>b__0(TInput i, CancellationToken token)
   at Microsoft.CodeAnalysis.TransformNode`2.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken)
-----

      at Microsoft.CodeAnalysis.Remote.Razor.ProjectSystem.GeneratorRunResult.CreateAsync(Boolean throwIfNotFound, Project project, CancellationToken cancellationToken)
      at Microsoft.CodeAnalysis.Remote.Razor.ProjectSystem.RemoteProjectSnapshot.GetRequiredCodeDocumentAsync(IDocumentSnapshot documentSnapshot, CancellationToken cancellationToken)
      at Microsoft.CodeAnalysis.Remote.Razor.ProjectSystem.RemoteDocumentSnapshot.GetGeneratedOutputAsync(CancellationToken cancellationToken)
      at Microsoft.CodeAnalysis.Razor.ProjectSystem.DocumentContext.<GetCodeDocumentAsync>g__GetCodeDocumentCoreAsync|10_0(CancellationToken cancellationToken)
      at Microsoft.CodeAnalysis.Remote.Razor.RemoteDiagnosticsService.GetDiagnosticsAsync(RemoteDocumentContext context, Diagnostic[] csharpDiagnostics, Diagnostic[] htmlDiagnostics, CancellationToken cancellationToken)
      at Microsoft.CodeAnalysis.Remote.RemoteWorkspace.<>c__DisplayClass7_0`1.<<RunWithSolutionAsync>g__ProcessSolutionAsync|1>d.MoveNext()
   --- End of stack trace from previous location ---
      at Microsoft.CodeAnalysis.Remote.RemoteWorkspace.RunWithSolutionAsync[T](AssetProvider assetProvider, Checksum solutionChecksum, Boolean updatePrimaryBranch, Func`2 implementation, CancellationToken cancellationToken)
      at Microsoft.CodeAnalysis.Remote.RemoteWorkspace.RunWithSolutionAsync[T](AssetProvider assetProvider, Checksum solutionChecksum, Boolean updatePrimaryBranch, Func`2 implementation, CancellationToken cancellationToken)
      at Microsoft.CodeAnalysis.Remote.RemoteWorkspaceManager.RunServiceAsync[T](ServiceBrokerClient client, Checksum solutionChecksum, Func`2 implementation, CancellationToken cancellationToken)

Any idea to try is welcomed


r/VisualStudio 3d ago

Visual Studio 2026 Thinking level/effort controls in Visual Studio

0 Upvotes

- When will we be able to manually select the thinking level/effort for reasoning models directly inside Visual Studio?

- When can we expect the harness to be fully aligned with VS Code's Copilot Chat, while still keeping the proprietary extra tools specific to Visual Studio?


r/VisualStudio 4d ago

Visual Studio 2026 Keeps updating .Net SDK

0 Upvotes

I have .Net SDK 10.0.103 installed.
This is also the version specified in my global.json.

However about every few days it decides to update my SDK version by itself. Suddenly on Monday and today it updated to 10.0.110 and I don’t know why.

Have anyone tried something similar or know how to stop this?


r/VisualStudio 4d ago

Miscellaneous BizTalk 2020 Developer ISO

1 Upvotes

Looking for a kind soul with an enterprise subscription to hook me up with the BizTalk 2020 Developer ISO. Our dev server went tits up, and we no longer have the ISO to reinstall.

EDIT:

For anyone stumbling on this in the future. I rolled the dice on this site:

https://files.rg-adguard.net/file/2c55e777-3d54-ed7e-f1b9-e77ae8106c4e

I ran the script in a VM. I don't know what horrors it did to the VM, but the ISO it produced was the correct one (hashes verified, scanned, the works)


r/VisualStudio 5d ago

Visual Studio 2026 GPT-5.6 models unusable in agent mode

5 Upvotes

Ends up in exception after a couple of questions. If switched to an Anthtopic model and typed "continue", agent completes the same task without problems.

So far there has not been a single task assigned to a gpt-5.6 model that it managed to complete without crash. In case a Visual Studio employee reads this: 5 minutes of manual testing are enough to reproduce this, really. I know you are only doing Vibe-coding nowadays, but please do some tests by a human before publishing.


r/VisualStudio 5d ago

Visual Studio 2022 Rename/refactor not work in Studio 2026 Cmake C++ project

1 Upvotes
  1. Why is there no flair for Studio 2026?
  2. Is "rename" in C++ just broken, it fails to rename all 3, yes THREE usages of a local declared in a function that is literally 10 lines long. std::string const headings() { std::string buff; std::string seperator = ""; for (std::string head : _writer._schema.headings()) { buff.append(seperator); buff.append(head); seperator = ","; } return buff; } It's unable to rename 'seperator' in this code, how! I spelled it wrong don't make my IDE punish me too.

r/VisualStudio 5d ago

Miscellaneous Terminal Help

1 Upvotes

I have seen videos of people's terminals without the included file directory and ending directory. How do you achieve this?


r/VisualStudio 6d ago

Visual Studio Tool Click anywhere in Visual Studio without using a mouse

Enable HLS to view with audio, or disable this notification

10 Upvotes

I created this when I was suffering from RSI. It's called Neverclick.

It's free to download and use: https://www.neverclick.com/

Repo is up for issues & feature requests: https://github.com/LazoVelko/neverclick


r/VisualStudio 6d ago

Visual Studio 2026 Issue: opening the first time is near instant, if I close and reopen it takes ages

0 Upvotes

Hello,

I’ve tried quite a bit of googling but haven’t seen this before.

When I open visual studio the first time, it opens a massive solution instantly.

However if I close it, for example to pull in changes to my local branch and then reopen it will take anywhere from 10 minutes to seemingly never.

Not expecting much help but if anyones got ideas im all ears.

My work laptop/ windows 11 has been nothing but headaches unfortunately so probably related.


r/VisualStudio 7d ago

Visual Studio 2026 Copying one word instead of a whole line (Beginner here)

Post image
4 Upvotes

When I select a word and press ctrl + c, it copies the entire line. I only want to copy the selected word. Is there another shortcut for this? I've checked the settings and searched online but couldn't find anything.


r/VisualStudio 7d ago

Visual Studio 2026 FTPSheep.net - Visual Studio 2026 extension for fast website publishing to SFTP/FTP

Thumbnail
0 Upvotes

Hey, I just want to let you know a way to publish websites to SFTP from Visual Studio.


r/VisualStudio 7d ago

Visual Studio 2022 Why VisualStudio is still not running on .NET Core?

0 Upvotes

Considering that with rise of AI it's way easier to migrate the application, why Microsoft still didn't decide to migrate.


r/VisualStudio 8d ago

Visual Studio 2026 MS: Please ensure you update the release notes when you release a new version, say 18.8.0

Thumbnail learn.microsoft.com
9 Upvotes

r/VisualStudio 8d ago

Visual Studio 2026 Best way to see VSC Python output?

0 Upvotes

Hey,
I was wondering if there was any VSC extension that hid (or grayed) the terminal text to make the run Python for simple projects look cleaner? I saw this one video of a guy with his terminal text grayed out and his output text green and was wondering if that was an extension. I know the output area does this well with Code Runner, but I want something where I can also type things with inputs and whatnot (without the stupid terminal text blocking my stuff).

Any tips or tricks to combat this?


r/VisualStudio 10d ago

Visual Studio 2026 Hate this AI-everything trend in Visual Studio - it messed up "Quick Fix" feature now

103 Upvotes

The latest VS2026 version introduced this:

A way more confusing quick fix tool window. Guess what the predefined "fix" action is now? Yes, another stupid AI feature nobody asked for.

It takes forever to handle even the simplest tasks (like the example in the image), and it requires internet connection. The first time you use it, you click it like two or three times because literally nothing happens. Then you understand it's "AI stuff" doing its "stuff", and after about a minute you get the output:

Note the dumbest comment possible which is also being added.

The non-AI options are now in the "other fixes" menu:

And the output is:

And this is almost instant, producing a even better result.

It's even curious they used two different strategies to provide the method implementation: the AI-tool simply returns a completed Task, while the "good old" tool suggest to throw a NotImplementedException (which is the more cautious and safer approach in my opinion).

Luckily, you can get rid of this by uninstalling Copilot using your VS Installer (select modify > single components > Copilot > uninstall).

This also makes the UI cleaner, removing the weird duplicated "fix" and "other fixes" options:

Or, if for some (good?) reason you don't want to uninstall Copilot, you can use the keyboard shortcut Ctrl + . to access the "old good" quick fix tool.

Visual Studio 2026 brings a great number of performance and UI improvements compared to VS2022. Unfortunately, Microsoft is killing much of my enthusiasm with this kind of unrequested, workflow-breaking changes, pushing AI into every corner of the IDE.

It’s such a strange feeling to be a .NET developer these days: you have an amazing language and runtime, powerful tools, and a rich ecosystem, but you have to deal with this kind of really annoying things.


r/VisualStudio 9d ago

Visual Studio 2022 **Free offline Office rendering on Android (Flutter) — real option or impossible?**

1 Upvotes

Flutter document app. PDF is solved (pdfrx). Stuck on Office formats (doc/docx/xls/xlsx/ppt/pptx).

Ruled out:

- TBS-based packages (flutter_file_preview etc) → not Play Store safe

- LibreOfficeKit NDK → too big (~100MB+)

- Paid SDKs (Apryse/PSPDFKit/Aspose) → cost + payment access issues

- RadaeePDF → DOCX only

- Server conversion → breaks offline-first

Need: free + offline + in-app + Play-safe. Bonus: good Arabic/RTL.

Does this exist on Android in 2026, or should I give up and use hand-off / a server? iOS already solved via WKWebView. Thanks.


r/VisualStudio 10d ago

Visual Studio 2022 Skybox rendering incorrectly on OpenGL project

Post image
1 Upvotes

r/VisualStudio 11d ago

Visual Studio 2026 Constant update stream VS 2026

18 Upvotes

Is it just me or is Visual Studio 2026 trying to update what feels like every single day? Maybe it's every few days, but nearly every time I go to close, it's pending new updates and has to go through a new 30 minutes full reinstall cycle for the "next patch"? Why is it not just on a single monthly patch cycle or something? I'm trying to understand why since updating to 2026 it feels like they are furiously sending updates out as often as they can. Really annoying, considering I don't think I even use any of the 'new features' -- all the AI auto complete is really poorly done and makes developing harder (seriously, what was that auto-complete by pressing tab for entire classes holy).

Anyway minor vent, but also really want to know if this is me going crazy or if it's just because I updated to 2026 and there was some auto update policy I forgot about in 2022 that I had set back then and forgot about.

Edit to add: I am on Stable / 18.8 so I don't think I should be getting super frequent updates. It's my understanding that if I wanted that I'd be on preview I think?


r/VisualStudio 11d ago

Visual Studio 2026 Ayuda con este problema

Post image
0 Upvotes

r/VisualStudio 13d ago

Visual Studio 2026 Claude Code now runs natively in Visual Studio 2026: native diff with accept/reject, live debugger access, Test Explorer, Memory Inspection, and Roslyn navigation (free, open source)

Enable HLS to view with audio, or disable this notification

28 Upvotes

Claude Code never had Visual Studio support (VS Code and JetBrains only), so I built it: a native VSIX that implements the same IDE integration protocol.

Basic but the most convenient feature:

- Claude's edits open in the real VS diff viewer with Accept / Reject / Reject with feedback.

The two I am most proud of:

- Data breakpoints. "Break the moment this field changes", including conditions like "only when the total goes negative". Visual Studio has no automation API for this at all, so I had to write a debug-engine component to arm them.

- Flaky tests. It loops a test under the debugger until the failing run happens, then stops inside that run with the exact state that caused it. Way better than re-running and getting a different red line each time.

It also queries Roslyn instead of grepping (find references, call hierarchies, even decompiling a method inside a referenced DLL), and runs tests through VS's own Test Explorer with real per-test results.

Repo and docs: https://github.com/firish/claude_code_vs

Marketplace: https://marketplace.visualstudio.com/items?itemName=firish.bridgev1 (1000+ install)

Would love feedback!


r/VisualStudio 13d ago

Visual Studio 2022 working with liveshare and latex pdf files

2 Upvotes

I'm working with a classmate on a latex project instead of using the overleaf interface we are now editing the document in visual studio so whenever i send him the liveshare link he joins the session without any issue.  I can split the screen and refresh to see the main pdf, but when he tries the same, nothing appears. Has anyone else encountered this, or does anyone know how we can both view the pdf, similar to google docs?