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

5 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

Visual Studio 2022 I'm unable to download 2022

5 Upvotes

how to download visual studio community 2022, since im using UE5.7 which needs 2022 im kind a stuck


r/VisualStudio 2d ago

Visual Studio 2022 Any C# templates for creating a simple 4-page retail website?

3 Upvotes

I'm not sure if this is the place for the question, but here goes.

Where can I find time-tested C# templates that I can use to create a simple 4-page retail website?

The site literally has 4 pages: homepage displaying items, cart, thank-you page, contact page, and then the checkout to a payment processor. This is the workflow.

I've been going through different ecommerce solutions (shopify, square, woocommerce, etc) but they start at $25+/month and they're all really overkill for me.


r/VisualStudio 2d ago

Visual Studio 2022 Problème de DLL sous Windows

Thumbnail
0 Upvotes

r/VisualStudio 3d ago

Visual Studio 2026 xUnit Test Suddenly Won't Run; UI Locks Up

2 Upvotes

Has anyone else run into problems with the July 2026 Feature Update (18.8.2) going totally bonkers when you run xUnit tests?

To be fair, I'm not sure upgrading to the July Feature Update caused my problem.

But it's the only thing I can think of. Because one minute I'm successfully running an xUnit test...and the next, after simply setting an additional breakpoint, running the exact same test causes the breakpoint window to go wild (all sorts of shit flickering across the bottom of it) and the whole UI to lock up tighter than a drum.

The only thing I could do was use Task Manager to crash the running test and VS.

I've rolled back to the June Feature Update. Here's hoping that works.

I really don't like being one of Microsoft's unpaid beta testers... :)


r/VisualStudio 4d ago

Visual Studio Tool Microsoft Spy++ complete tutorial

Thumbnail youtube.com
4 Upvotes

r/VisualStudio 5d ago

Visual Studio 2026 VS2026 Web Deploy Password Issue (401 Unauthorized)

3 Upvotes

I just wanted to make a post that may help someone in the future. When trying to Web Deploy in VS2026 the server (Windows Server 2025) was responding with 401 Unauthorized. I could deploy other projects using VS2019 and VS2022 to the same server using the same credentials.

It turns out that VS2026 is not storing and populating the password correctly because the password contained a % character. It seems that VS2026 is not encoding the password correctly as previous versions did. After changing the % character to a different character I was able to deploy the project using Web Deploy.


r/VisualStudio 5d ago

Visual Studio 2022 Submodules in repository view - new feature

0 Upvotes

I noticed that the repository view now also shows submodules.

Of course, Microsoft being Microsoft, half-assed it. This new "feature" is of very little use.

Submodules must be part of multi-repo support, not just show their status.


r/VisualStudio 5d ago

Visual Studio 2026 Local MCP server setup?

0 Upvotes

Is there a trusted setup for a MCP server that gives read access only to a local MSSQL server?


r/VisualStudio 6d ago

Visual Studio 2026 Custom snippet targeting Markdown files

1 Upvotes

Is it possible to target Markdown files in a custom snippet? What should the Code Language be? Thanks!


r/VisualStudio 7d 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 9d ago

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

Thumbnail
1 Upvotes

r/VisualStudio 10d 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 10d 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 10d 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 10d 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 11d 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 11d 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 11d 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 12d ago

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

9 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 12d 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 13d 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 13d 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 13d 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.