r/VisualStudio • • 2d ago

Visual Studio 2026 Symbol downloads slow?

3 Upvotes

Anyone else having slow download speeds for the Microsoft Symbol Server? It's especially bad when a new release of the Windows App SDK comes out as those symbol files are particularly huge, but some core Win32 symbols take a while to load too.


r/VisualStudio • • 1d ago

Visual Studio 2022 How do I stop Visual Studio from adding a bunch of extra stuff whenever I try to push

0 Upvotes

Is there any settings or stuff I can do to just turn all of that off The entire .VS folder of stuff and just have it never try to add it again


r/VisualStudio • • 4d ago

Visual Studio 2026 Compact Solution Explorer Issue with 18.12.0

6 Upvotes

[SOLVED]

Solution: The problem was related to the extension "Solution Error Visualizer" I'm using. Disable it, enable it again and everything now works. Magic. u/Captain_Smirk**, you're the man!**

Just updated to 18.12.0 and .NET 11, this started to happen. The "Use Compact Spacing In Solution Explorer" setting is already disabled, it was never enabled but now it seems that it is on by default and I can't turn it off. Tried the settings.json directly, tried turning it on and off again, nothing seems to fix this annoying thing.

Anyone had the same issue with the latest update?


r/VisualStudio • • 5d ago

Visual Studio 2019 i cant paste date in a date box

0 Upvotes

i have a system which is built by other company using visual studio.

So im trying to copy a date cell from excel to my system but it doesnt paste.

i have tried:

  1. formatting cell to a date format.

  2. Ctrl + v

  3. Shift + insert

but nothing works. please help me

Update :

i found a work around it. just change your laptop's date to your selected date and the system will give you the NEW default date.

which is good because i have too many datas from excel/papers (in a date sort) to paste it in my system. This will save me at least 20-40mins while using macros.


r/VisualStudio • • 9d ago

Visual Studio 2017 i want to stop the mouse wheel from accidentally changing dropdown values in Visual Studio Project Properties

2 Upvotes

Hi, I am using Visual Studio Express 2017 for Windows Desktop. On the Project Properties Compile page, scrolling while the pointer is over the Target CPU setting changes its value. You can see In the attached video clip, it changes from AnyCPU to x64. Sometimes I am only trying to scroll through the page and dontt notice the setting changed... this is very annoying to keep track of.

I have noticed the same thing with dropdown settings in other applications too. Is there a Visual Studio or Windows setting that can stop the scroll wheel from changing a value just because the pointer is over it, while keeping normal scrolling elsewhere??

ive already checked for Regedit settings and the only applicable one i saw was setting the "WheelScrollLines" and "WheelScrollChars" to 0 which just completely blovks the mouse wheel from scrollling...NOT ideal at all.

Ive not found any Visual Studio option except “Disable touch scrolling” which is ofcourse for touch input. I also tried "X-Mouse Button Control" to block the scroll wheel for Visual Studio specifically, but could not get it to work.

if anyone has found a workaround or a thirdparty app that actually works please tell me.


r/VisualStudio • • 11d ago

Visual Studio 2026 Did anybody else lost VS settings in 2026?

4 Upvotes

After the last update I had various issues with VS 2026 from minor stuff like changed fonts to some other settings. Using Claude it told me, they switched from registry to json for settings but it seems it messed up migrating all the settings. That's a bit annoying as I'm still in my set up phase (that's another story) and didn't have a proper updated backup.

I'm just curious if I'm the one who messed up or is this a common problem?


r/VisualStudio • • 11d ago

Visual Studio 2026 Can't save Copilot chat

0 Upvotes

What happened to the export option for Copilot chat? I thought that feature was added a few versions back, now I can't find it.

Instead I asked it to save a markdown report on the conversation, and got a reasonable representation of it, but it would be so much easier if there was an export function.

Anyone know if an export feature is coming back in the future?


r/VisualStudio • • 12d ago

Visual Studio 2022 This close to crashing out.

1 Upvotes

Ctrl r ctrl r rename tool worked the 1 one time after I made a fresh repair install and restart.

And then it just decided to never pop up again. And all the other refactor tools don't work either. Lol. I can't with this thing.


r/VisualStudio • • 13d ago

Visual Studio 2026 Copilot Chat Lost Autocomplete

1 Upvotes

After recent update to copilot chat, I seem to have lost the autocomplete functionality from within the chat. Like when I type # or @ it doesn't show anything.
I am using 'Use new Copilot Chat experience'.


r/VisualStudio • • 13d ago

Visual Studio 2022 Wrong taskbar icon when debugging but not from shortcut

0 Upvotes

I'm building a wxWidgets app and my icon isn't showing on the taskbar of Windows 11 IoT LTSC when launched from the IDE or command line. It works fine in the Win10/11 Pro desktop editions. It does appear when I run from a shortcut. I optionally display a wxDialog before my wxFrame and that DOES display the correct icon in the taskbar. The icon that Win11 IoT LTSC does show is number 209 from prs.exe.mun. What is different about the IoT LTSC taskbar? (Is there a better place to ask this? I haven't found a Win32 subreddit.)


r/VisualStudio • • 16d ago

Visual Studio 2026 VS Community 2026 trying to end Writing objects

0 Upvotes

I have my project hooked up to my Github repo. Whenever I make a push VS follows it up with an automatic Writing objects: xxx/xxx and takes way too long. I want to get it to stop and just run a scheduled task once at the end of the day to do this.

When it runs it shows up as Git for Windows in task manager. Online says to go into options and disable fetch, but there is no such option. I've also found I should run:

git config --global gc.auto 0

git config --global gc.autoPackLimit 0

git config --global gc.autoDetach false

git config --global maintenance.auto false

git config --global maintenance.strategy off

git maintenance stop

git config --global lfs.autoSelfUpdate false

git config --global lfs.concurrenttransfers 1

None of these have worked. I also found:
Uncheck Detect when file is changed outside Environment (if VS is re-scanning after every push/build).

I don't want to do this unless absolutely necessary. And even then probably won't. Anyone have any ideas I may be missing? Thanks.


r/VisualStudio • • 22d ago

Visual Studio Tool An VS extension that shows decimal and hex side by side in the debugger

3 Upvotes

For quite some time I've wanted to write a Visual Studio extension that shows both decimal and hex values while debugging.

With Claude Code, I've now been able to make it happen. Name: AlwaysHex.

Without AlwaysHexWith AlwaysHex
int a = 100100100 (0x00000064)
int neg = -1-1-1 (0xffffffff)

Tested it automatically and manually with VS 2022 (Community, Prof), VS2026 (Prof)

Maybe you'll find it useful too.

Marketplace: https://marketplace.visualstudio.com/items?itemName=JochenBaier.AlwaysHex

GitHub: https://github.com/JochenBaier/AlwaysHex


r/VisualStudio • • 22d ago

Visual Studio 2022 What happened with GitHub Copilot?

1 Upvotes

A few days ago, I opened the copilot chat window and all default AI models disappeared. Does anyone know how I can fix this?


r/VisualStudio • • 25d ago

Visual Studio 2026 GitLab official MCP server in Visual Studio 2026: OAuth fails with “Client ID is not available”

0 Upvotes

Hi all,

I'm trying to connect our self-hosted GitLab's built-in MCP server (/api/v4/mcp) to Copilot agent mode in Visual Studio 2026 (18.11.1). The same setup with the same GitLab OAuth application works fine in VS Code and OpenCode, but VS won't always authenticate, i.e. no browser opens etc. It was working sometimes, but I cannot figure out when (no stale cache values etc.?)

Config (.vscode/mcp.json in the opened folder; no other definitions in %USERPROFILE%\.mcp.json etc.):

{
  "servers": {
    "GitLab": {
      "type": "http",
      "url": "https://<our-gitlab>/api/v4/mcp",
      "headers": { "X-Gitlab-Mcp-Server-Tool-Name-Prefix": "gitlab_" },
      "oauth": { "clientId": "<application-id>" }
    }
  }
}

What happens:

  • The server shows "Authentication required".

  • In the server dialog, under Advanced settings, "Client ID Registration" offers only "(Manual) Bring your own client Id", and the control is greyed out, so I can't enter a client ID (and our provided client ID from the .json is not showing up here).

  • Clicking Authenticate does nothing visible, i.e., the browser is not opening for authentication. The Output window shows:

System.InvalidOperationException: Client ID is not available.
   at Microsoft.VisualStudio.Copilot.Core.McpAuth.OAuthClient.DoUIFlowAsync
  • Once, early on, the browser flow did open and the login succeeded. I haven't been able to reproduce that since, even after renaming the server to get a fresh cache.

  • In the .mcp.json editor, the oauth property is flagged by the schema ("Property name is not allowed"), even though VS Code supports oauth.clientId.

Questions:

  1. Is there a supported way to provide a pre-registered OAuth client ID for an HTTP MCP server in VS 2026?

  2. Has anyone got GitLab's MCP server working in VS 2026, and how?

Thanks!

Edit: posted issue in https://developercommunity.visualstudio.com/t/Slack-MCP-server-fails-to-start-OAuth-si/11176080#T-N11177226 (where a similar issue regarding the Slack MCP was metioned)


r/VisualStudio • • 26d ago

Visual Studio 2026 Browser Link Hot Reload fails with custom local domain

2 Upvotes

Since the September .NET SDK update, Browser Link no longer works for Hot Reload in Visual Studio 2026 Enterprise.

The injected Browser Link script returns a 403 error. The browser console indicates a cross-origin issue because Browser Link tries to connect to localhost:PORT while my application uses a custom local domain (myapplication.localhost). I have specific reasons for using this domain.

Hot Reload itself still works, but the browser no longer refreshes automatically after changes because Browser Link fails.

I found this article, which describes a similar issue and suggests setting DOTNET_WATCH_AUTO_RELOAD_WS_ORIGINS. However, that solution applies to dotnet watch. I use IIS Express for debugging, and the environment variable does not solve the problem.

Is there a way to configure Browser Link to work with a custom local domain when debugging with IIS Express?


r/VisualStudio • • 28d ago

Visual Studio 2026 Github copilot in VS, doesn't let you use custom end point for llm..

3 Upvotes

I find this really odd, it is only the major US players that are allowed to scrape your codebase and be used with LLM. At least the vscode copilot extension lets yo use any endpoint url for an llm.


r/VisualStudio • • 28d ago

Visual Studio 2022 Built Castov Extension for VS Code / Cursor: Manage & Execute MCP Flows directly inside your editor

0 Upvotes

Hey developers,

We just released the Castov Extension on Open VSX / VS Code Extension ecosystem!

Castov is an execution layer for AI Agents built on top of the Model Context Protocol (MCP). With this extension, you can inspect, test, and run your MCP tools and agent workflows right from your development environment.

🚀 Quick Setup:

  1. Search for `Castov` in your VS Code / Cursor / Windsurf Extensions tab.

  2. Install `Castov.castov-vscode` v0.1.2.

  3. Start running your local MCP execution layer!

We also support distribution via Docker**,** Homebrew**, and** GitHub Actions for full CI/CD integration.

🌐 Website & Docs: https://castov.com

Would love for you guys to try it out and give feedback on how we can improve the dev experience for agentic applications!


r/VisualStudio • • 29d ago

Visual Studio 2022 Morning folks ... a (probably) really dumb question.

3 Upvotes

So. Old (ancient) hobby coder here, trying to use existing skills when learning new ones might make more sense.

I have been tasked with connecting a friend's hobby weather station to a user friendly website. I am familiar enough with php, html, css, and my preferred old-man coding language is still visual basic through visual studio. I can kinda / sorta read C#, but it is far from intuitive for me. (I know. I just never bothered.)

I have never set up an asp.net project. I thought this was the opportunity to learn how to do that, but I suspect that VS doesn't support the use of visual basic with asp.net anymore.

Is that true? If it isn't ... thoughts on how I initiate the project? I can't see a VB option when I try to start the new project.

Thanks for any thoughts.


r/VisualStudio • • Oct 16 '26

Miscellaneous Anyone tried Jetbrains “Rider”, going from Visual Studio…?

13 Upvotes

I have been a visual studio user since past 3 years for the professional workplace usage and i have seen it transform over these 3 years by adding bunch of useful features but recently i got a Mac for my personal development work, so as the visual studio is not available for Mac anymore i looked out for the alternatives to use on Mac, then i saw the Jetbrains “Rider” it literally felt like a mess of features and not a good experience to be honest it isn’t that intuitive interface unlike Visual Studio, i think i have to use visual studio code which is quite familiar for me as i used it many times before. Hoping to get a real visual studio experience on Mac. As Microsoft is getting into the ARM architecture laptops i hope they bring back Visual Studio for Mac as well in the near future..!


r/VisualStudio • • Oct 15 '26

Visual Studio 2026 Form Won't visually refresh

0 Upvotes

Hi,

I have a windows form project in C#.
I have a timer that starts on the press of a button.
I have a method that executes every time the timer ticks.
I confirm the timer ticks when it's meant to, the code inside runs, the variables update as they should.
The form doesn't.

I know that the variables are updating with each tick, I know that the label.Text is updated with each tick, I know that everything but the visual result on the form is updating as it should. I've confirmed it with breakpoints and stepping through each line and seeing in the variable inspector as each variable and label.Text updates.
But the form is not reflecting anything but the values on initial loading of it. It never updates from its first set of values.

Every tick I'm calling the computation and write to form methods, followed by this.Refresh(). But nothing changes on the form.

It's been days. I'm baffled and demoralised.
Any help would be greatly appreciated.

I will politely refuse any suggestions of using genAI/LLMs and any encouragement to use them myself.

Thanks

EDIT:
I wanted to avoid posting the whole program because it's been 6 years since I've properly wrote code and I know this has bad practices in it. But y'all are telling me I've done something weird, so here's the whole formMain.

This is a little companion app to a game over 20 years old, I'm eventually going to try and write to the memory of said game to change things. Currently the app reads the data from game memory successfully and puts it on the form, but as said above, only when the form initially loads. When the data in game memory changes, that is read successfully and held in variables but the form doesnt visually reflect that.
I was driven back to programming after 6 years because I'm trying to do something I don't think anybody has tried to do before. I'm very very very very rusty.

public partial class formMain : Form
{
//defining things to pull and push data into the nr2003 process
[DllImport("kernel32.dll")]
public static extern nint OpenProcess(int dwDesiredAccess, bool bInheritHandle, int dwProcessId);
[DllImport("kernel32.dll", SetLastError = true)]
public static extern bool ReadProcessMemory(nint hProcess, nint lpBaseAddress, byte[] lpBuffer, uint dwSize, out int lpNumberOfBytesRead); //this is a value check for the chosen address
[DllImport("kernel32.dll", SetLastError = true)]
public static extern bool WriteProcessMemory(nint hProcess, nint lpBaseAddress, byte[] lpBuffer, uint dwSize, out int lpNumberOfBytesWritten); //modifies the stored value
[DllImport("kernel32.dll")]
public static extern bool CloseHandle(nint hObject);
public string gameName = "NR2003";
const int PROCESS_ALL_ACCESS = 0x1F0FFF;
public formMain()
{
UpdateStuff();
}
private void UpdateStuff()
{
InitializeComponent();
var processes = Process.GetProcessesByName(gameName);
var sessionStateAddress = (nint)0x0097B114;
int sessionState = 0;
string carNotFound = "Car Properties not found";
string notFound = "Game not found";
string failedOpen = "Failed to open game";
string notInSession = "Not in a session";
nint gamePathAddress = 0x00F78868;
nint seriesPathAddress = 0x00897230;
var carOffsetHex = 2214;
nint playerCarAddress = 0x00ACDC26;
var gameProcess = processes[0];
var hProcess = OpenProcess(PROCESS_ALL_ACCESS, false, gameProcess.Id);
string trimWhitespace = "\0";
hProcess = OpenProcess(PROCESS_ALL_ACCESS, false, gameProcess.Id);
//clearing all data from the form, ready
lblDebug.Text.Remove(0);
lblGameName.Text.Remove(0);
lblPlayersCarProp.Text.Remove(0);
//error messages regarding grabbing the process
if (processes.Length == 0)
{
lblPlayersCarProp.Text = notFound;
return;
//break;
}
if (hProcess == nint.Zero)
{
lblPlayersCarProp.Text = failedOpen;
return;
//break;
}
//declaring the buffer we use to read from memory addresses and the string variables we'll put that data into
var buffer4 = new byte[4];
var buffer32 = new byte[32];
var buffer48 = new byte[48];
var buffer1024 = new byte[1024];
string[] tempString2mil = new string[2000000];
string gamePath = "";
string seriesPath = "";
string carPath = "";
string playerCarPath = "";
//checking if the game is in an active session eg practice/race/quali/test
ReadProcessMemory(hProcess, sessionStateAddress, buffer4, (uint)buffer4.Length, out int bytesRead);
sessionState = BitConverter.ToInt32(buffer4);
//if it is in a session, away we go
if (sessionState > 0)
{
int length = 0;
//read from memory the path to where the exe is, trim it of whitespace
ReadProcessMemory(hProcess, gamePathAddress, buffer1024, (uint)buffer1024.Length, out bytesRead);
gamePath = System.Text.Encoding.UTF8.GetString(buffer1024);
length = gamePath.IndexOf('\0');
gamePath = gamePath.Substring(0, length);
//read from memory the folder where the .cars files are, trim it of whitespace
ReadProcessMemory(hProcess, seriesPathAddress, buffer32, (uint)buffer32.Length, out bytesRead);
seriesPath = System.Text.Encoding.UTF8.GetString(buffer32);
length = seriesPath.IndexOf('\0');
seriesPath = seriesPath.Substring(0, length);
//combine it all to create a full directory for where the .car files are, ready to read
carPath = gamePath + @"series\" + seriesPath + @"\cars\";
//find player car filename to open
ReadProcessMemory(hProcess, playerCarAddress, buffer48, (uint)buffer48.Length, out bytesRead);
playerCarPath = System.Text.Encoding.UTF8.GetString(buffer48);
length = playerCarPath.IndexOf('\0');
playerCarPath = playerCarPath.Substring(0, length);
//append filename to carPath
playerCarPath = carPath + playerCarPath;
//start loop by writing error message to label, if file read is successful it'll get overwritten
lblPlayersCarProp.Text = carNotFound;
//declaring all the player car properties
float playerRCmax = 0.0f;
float playerSTmax = 0.0f;
float playerSPmax = 0.0f;
float playerSSmax = 0.0f;
float playerAeromax = 0.0f;
float playerChassismax = 0.0f;
float playerEnginemax = 0.0f;
float playerReliabilitymax = 0.0f;
float playerRCmin = 0.0f;
float playerSTmin = 0.0f;
float playerSPmin = 0.0f;
float playerSSmin = 0.0f;
float playerAeromin = 0.0f;
float playerChassismin = 0.0f;
float playerEnginemin = 0.0f;
float playerReliabilitymin = 0.0f;
//define temp variables to trim each line down to value alone
string tempVal = "";
string tempDev = "";
int tempValIndex = 0;
int tempDevIndex = 0;
tempString2mil = File.ReadAllLines(playerCarPath);
using (FileStream fs = File.Open(playerCarPath, FileMode.Open))
{
byte[] b = new byte[2048];
UTF8Encoding temp = new UTF8Encoding(true);
//reading and calcing roadcourse stats
tempVal = tempString2mil[23];
tempValIndex = tempVal.IndexOf('=') + 1;
tempVal = tempVal.Substring(tempValIndex, 8);
tempDev = tempString2mil[6];
tempDevIndex = tempDev.IndexOf('=') + 1;
tempDev = tempDev.Substring(tempDevIndex, 8);
playerRCmax = float.Parse(tempVal) + float.Parse(tempDev);
playerRCmin = float.Parse(tempVal) - float.Parse(tempDev);
//reading and calcing short track stats
tempVal = tempString2mil[24];
tempValIndex = tempVal.IndexOf('=') + 1;
tempVal = tempVal.Substring(tempValIndex, 8);
tempDev = tempString2mil[7];
tempDevIndex = tempDev.IndexOf('=') + 1;
tempDev = tempDev.Substring(tempDevIndex, 8);
playerSTmax = float.Parse(tempVal) + float.Parse(tempDev);
playerSTmin = float.Parse(tempVal) - float.Parse(tempDev);
//reading and calcing speedway stats
tempVal = tempString2mil[25];
tempValIndex = tempVal.IndexOf('=') + 1;
tempVal = tempVal.Substring(tempValIndex, 8);
tempDev = tempString2mil[8];
tempDevIndex = tempDev.IndexOf('=') + 1;
tempDev = tempDev.Substring(tempDevIndex, 8);
playerSPmax = float.Parse(tempVal) + float.Parse(tempDev);
playerSPmin = float.Parse(tempVal) - float.Parse(tempDev);
//reading and calcing superspeedway stats
tempVal = tempString2mil[26];
tempValIndex = tempVal.IndexOf('=') + 1;
tempVal = tempVal.Substring(tempValIndex, 8);
tempDev = tempString2mil[9];
tempDevIndex = tempDev.IndexOf('=') + 1;
tempDev = tempDev.Substring(tempDevIndex, 8);
playerSSmax = float.Parse(tempVal) + float.Parse(tempDev);
playerSSmin = float.Parse(tempVal) - float.Parse(tempDev);
//reading and calcing aero stats
tempVal = tempString2mil[30];
tempValIndex = tempVal.IndexOf('=') + 1;
tempVal = tempVal.Substring(tempValIndex, 8);
tempDev = tempString2mil[13];
tempDevIndex = tempDev.IndexOf('=') + 1;
tempDev = tempDev.Substring(tempDevIndex, 8);
playerAeromax = float.Parse(tempVal) + float.Parse(tempDev);
playerAeromin = float.Parse(tempVal) - float.Parse(tempDev);
//reading and calcing chassis stats
tempVal = tempString2mil[31];
tempValIndex = tempVal.IndexOf('=') + 1;
tempVal = tempVal.Substring(tempValIndex, 8);
tempDev = tempString2mil[14];
tempDevIndex = tempDev.IndexOf('=') + 1;
tempDev = tempDev.Substring(tempDevIndex, 8);
playerChassismax = float.Parse(tempVal) + float.Parse(tempDev);
playerChassismin = float.Parse(tempVal) - float.Parse(tempDev);
//reading and calcing engine stats
tempVal = tempString2mil[32];
tempValIndex = tempVal.IndexOf('=') + 1;
tempVal = tempVal.Substring(tempValIndex, 8);
tempDev = tempString2mil[15];
tempDevIndex = tempDev.IndexOf('=') + 1;
tempDev = tempDev.Substring(tempDevIndex, 8);
playerEnginemax = float.Parse(tempVal) + float.Parse(tempDev);
playerEnginemin = float.Parse(tempVal) - float.Parse(tempDev);
//reading and calcing realibility stats
tempVal = tempString2mil[33];
tempValIndex = tempVal.IndexOf('=') + 1;
tempVal = tempVal.Substring(tempValIndex, 8);
tempDev = tempString2mil[16];
tempDevIndex = tempDev.IndexOf('=') + 1;
tempDev = tempDev.Substring(tempDevIndex, 8);
playerReliabilitymax = float.Parse(tempVal) + float.Parse(tempDev);
playerReliabilitymin = float.Parse(tempVal) - float.Parse(tempDev);
}
//output to form
lblPlayersCarProp.Text = "Road Course = " + playerRCmin + " - " + playerRCmax + "\n"
+ "Short Track = " + playerSTmin + " - " + playerSTmax + "\n"
+ "Speedway = " + playerSPmin + " - " + playerSPmax + "\n"
+ "Superspeedway = " + playerSSmin + " - " + playerSSmax + "\n"
+ "Aero = " + playerAeromin + " - " + playerAeromax + "\n"
+ "Chassis = " + playerChassismin + " - " + playerChassismax + "\n"
+ "Engine = " + playerEnginemin + " - " + playerEnginemax + "\n"
+ "Reliability = " + playerReliabilitymin + " - " + playerReliabilitymax;
}
else //if not, error message
{
lblPlayersCarProp.Text = notInSession;
}
lblDebug.Text =
gameName
+ "\n" +
sessionState.ToString()
+ "\n" +
gamePath
+ "\n" +
seriesPath
+ "\n" +
carPath
+ "\n" +
playerCarPath
;
}
private void Form1_Load(object sender, EventArgs e)
{
UpdateStuff();
}
private void btnApplyConfig_Click(object sender, EventArgs e)
{
gameName = txtboxGameName.Text;
}
private void timer1_Tick(object sender, System.EventArgs e)
{
//these dont work??
UpdateStuff();
this.Refresh();
}
private void btnTimerStart_Click(object sender, EventArgs e)
{
timer1.Start();
}
}

r/VisualStudio • • Oct 15 '26

Visual Studio 2026 VS2026 hangs

Thumbnail gallery
0 Upvotes

Greetings. Visual Studio freezes during simple debugging even with sufficient RAM. Lenovo ThinkBook 14 G6. Windows 11 build 26300.9711

Does anyone have any ideas what's going on? Thanks for any help.


r/VisualStudio • • Oct 15 '26

Visual Studio 2026 Can't run code SDK not found

0 Upvotes

Hi everyone i tried using VS to learn to code in C# but keep getting a SDK error making it impossible to run the code. I tried using AI to solve the problem but I can't seem to find a solution below is a list of things I tried.

I'm having a problem with Visual Studio 2026 Community on Windows 10.

When I create a brand-new C# Console App and select .NET 10.0, Visual Studio gives me this error:

"One or more errors were encountered while creating project ConsoleApp3.

The generated project content may be incomplete.

The SDK 'Microsoft.NET.Sdk' specified could not be found."

The project creation button is disabled.

Visual Studio:

- Visual Studio Community 2026

- Version 18.11.0

- October 2026 Feature Update

.NET:

- .NET 10 x64 is installed

- `C:\Program Files\dotnet` is the x64 installation

- SDKs installed:

- 10.0.112

- 10.0.402

Running the x64 dotnet executable directly works:

"C:\Program Files\dotnet\dotnet.exe" --list-sdks

returns:

10.0.112 [C:\Program Files\dotnet\sdk]

10.0.402 [C:\Program Files\dotnet\sdk]

And:

"C:\Program Files\dotnet\dotnet.exe" --info

shows SDK 10.0.402 and MSBuild 18.9.15.

Initially I also had a 32-bit .NET installation under:

C:\Program Files (x86)\dotnet

`where dotnet` showed both x86 and x64 installations, and the x86 version was being picked up in some cases. I removed the x86 .NET installation completely and rebooted, but the Visual Studio error remained.

Things I tried:

  1. Created a completely new Console App every time, so this is not an old/broken project.

  2. Visual Studio Repair was tried previously. It did not fix the problem.

  3. Visual Studio Installer:

    - .NET desktop development workload is installed

    - .NET SDK component is installed

    - MSBuild is installed

    - .NET MAUI/Android/iOS/Mac Catalyst components were also installed

    - MSBuild support for LLVM (clang-cl) is not installed (not relevant as far as I know)

  4. Environment variables:

    - `MSBuildSDKsPath` was NOT originally defined.

    - No global.json exists in the project/repo.

  5. Visual Studio's MSBuild installation contains:

    `C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\Microsoft.DotNet.MSBuildSdkResolver.dll`

    So the .NET SDK resolver DLL is present.

  6. Under:

    `C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild`

    I only see:

    - Current

    - Microsoft

    - Xamarin

    There is no `Sdks` folder there.

  7. Under:

    `C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Microsoft`

    there is a `Microsoft.NET.Build.Extensions` folder, but no `Microsoft.NET.Sdk` folder.

  8. I completely uninstalled Visual Studio Community and reinstalled it from scratch.

    The same `Microsoft.NET.Sdk could not be found` error still occurs.

So at this point I'm pretty sure the .NET SDK itself is installed correctly, but Visual Studio/MSBuild is failing to resolve it.

What could cause the .NET SDK resolver to ignore/find the wrong SDK location in this situation?

Is there a specific MSBuild/Visual Studio configuration, resolver setting, registry entry, or environment variable that controls where Visual Studio looks for `Microsoft.NET.Sdk`?

I would especially appreciate a way to diagnose which SDK path the Visual Studio MSBuild process is actually trying to use, rather than doing another reinstall/repair.

Thanks!


r/VisualStudio • • Oct 14 '26

Visual Studio 2022 Color picker is HUGE and I have to keep restarting

Post image
4 Upvotes

Basically the title. The color picker from the properties window keeps getting bigger and bigger until it's huge and I can't pick all the colors so I have to restart VS and open it to reset it. I have to do this every day and it's so annoying.


r/VisualStudio • • Oct 14 '26

Visual Studio 2022 Debug launch and View in Browser stop working

3 Upvotes

Debug launch and View in Browser stop working after Visual Studio update bug is back after update to 18.11.0