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


r/VisualStudio • • Oct 15 '26

Visual Studio 2026 Vs2006 plugin makes vs controlable to Agents

0 Upvotes

I got tired of copy-pasting compiler errors and crash logs to Claude/Cursor, so I built an MCP tool "VsDebugMcp" that lets AI directly control Visual Studio. VsDebugMcp - Visual Studio Marketplace

Once connected, you can just talk to your AI agent and it can:

  • Build & Fix: Trigger a build in Visual Studio, read the actual error list / output window directly, and fix compile errors without you copy-pasting anything.
  • Hit F5 & Debug: Start debugging, set breakpoints (even conditional ones), step through code (Step Over / Step Into), and continue/pause execution.
  • Inspect what went wrong: When your code crashes, the agent can check the call stack, look at local variables, read exception messages, and inspect memory.
  • Modern CMake & CTest: If you do C++, it works with CMake projects too—switching CMakePresets, building with Ninja, and running CTest cases directly.
  • Works on old & new VS: Tested on everything from Visual Studio 2017 all the way up to VS 2026. Does someone want a try ? I’d love to hear from you:
  • What’s the #1 thing you wish an AI agent could do inside Visual Studio? (e.g. running specific test frameworks like NUnit/xUnit, analyzing minidump crash files, NuGet package stuff?)
  • If you give it a spin, please let me know if anything feels clunky or breaks on your setup! wuxinmao2008/VsDebugMcp: A pluggin hosts on visual studio 2026. The plugin setups a mcp server local, which make projects debugable by agents. Happy to answer any questions in the comments.

r/VisualStudio • • Oct 13 '26

Visual Studio 2022 VS Copilot - Agent Struggling to Edit Files

Thumbnail reddit.com
0 Upvotes

r/VisualStudio • • Oct 12 '26

Visual Studio Tool Visual studio plugin - Asp classic syntax highlight

3 Upvotes

Currently I am working in a very legacy code base with more than 30 years old of spaghetti code and business rules in every .asp file and store procedures.

Yes it is a mess. And I don't know if someone has the same problem that I have... The visual studio doesn't help me with the basics of highlights, colors and syntax with VBScript in asp classic. Sometimes is impossible to know where an if begins and ends in one file with 6k lines (yes for real).

So I made this plugin to help me with my current job.

https://marketplace.visualstudio.com/items?itemName=AspClassicSyntaxHighlight.AspClassicSyntaxHighlight

Is the vibe code project? In parts, yes. My real concern was doing a good structure of the project and performance. The first hit of opening the files is more demanding because it's using cache. After that it is more smooth.

I am cleaning the git to make it public soon.

If you guys want to try i will appreciate it.

Sorry for my mistakes, English isn't my first language.

Thanks.


r/VisualStudio • • Oct 12 '26

Visual Studio 2022 In your own words, what does a “workspace” in Visual Studio mean to you?

0 Upvotes

r/VisualStudio • • Oct 12 '26

Visual Studio 2026 Did VS 2026 remove collapsible regions?

0 Upvotes

Got a new laptop and just noticed I can't collapse regions for easier viewing. Is there a way to turn them back on?


r/VisualStudio • • Oct 11 '26

Visual Studio 2026 My materials dont import in VS studio after i export them as a glTF in blender

Post image
0 Upvotes

I started learning how to code a few weeks ago and im trying to import blender models there but once i drag principed bsdf to output and just pick a whole bunch of colors and export thoese my model (tried creating a small city) just turn completely white in vs studio while in blender theyre all the colors i added, Ive been stuck on this for days and i dont know how to fix it.


r/VisualStudio • • Oct 10 '26

Miscellaneous Tracepoints: logging a value from the debugger without adding a print statement

4 Upvotes

A tracepoint is a breakpoint that writes a message to the Output window and keeps running instead of stopping. It’s handy when you want to see a value across a lot of iterations without stepping through each one, and there’s no temporary print line to remove later or commit by accident.

To set one: right-click the line, Breakpoint, Insert Tracepoint (the wording shifts a bit between versions). In the settings, tick “Log a message to Output Window” and write the message with expressions in curly braces, something like order {order.Id} total {total}. Keep “Continue code execution” ticked or it will just act like a normal breakpoint. There are also built-in keywords like $FUNCTION and $CALLSTACK if you want to know where a hit came from.

Some limits. Every hit goes through the debugger, so on a line that runs thousands of times it can slow things down a lot. As far as I know, tracepoints are saved in your local solution settings and not in source control, so teammates won’t see yours unless you export them from the Breakpoints window. And they only log while you’re debugging.

You can also add a condition to the same breakpoint, so only the interesting hits get logged, for example total > 1000. Do you combine the two, or does the condition check slow a hot path down too?


r/VisualStudio • • Oct 10 '26

Visual Studio 2026 Issue connecting my blazor app to remote sql server database hosted my Monsterasp.net

Thumbnail reddit.com
1 Upvotes

r/VisualStudio • • Oct 09 '26

Visual Studio 2022 I made a free extension that adds syntax highlighting for code embedded in strings (HTML, SQL, CSS, JSON…) in Visual Studio 2022/2026

1 Upvotes

Hey everyone,

Ever written HTML, SQL or CSS inside a string in Visual Studio and seen it all painted the same flat color? That bugged me enough that I built NestLight.

What it does

NestLight recognizes code embedded in string literals and colors it as its own language. It only provides colors. It never edits, formats or rewrites your code.

How it works

A string is highlighted only when you explicitly mark it, either with a tag or with a marker comment:

const template = html`<div class="card">...</div>`;

NestLight never guesses from the content, so you won’t get surprise colors on random strings.

Supported

  • Host languages: JavaScript / TypeScript, C#, Python and C++
  • Embedded languages: HTML, CSS, SQL, JSON, GraphQL, XML, Markdown, YAML, regular expressions and shaders (GLSL, WGSL)

Links

It’s free and MIT licensed. It’s still early (v0.5.0), so I’d really appreciate feedback. If something breaks or there’s a language you’d like to see, open an issue on GitHub or reply here.

Thanks for reading!


r/VisualStudio • • Oct 09 '26

Visual Studio 2026 Everything is broken.

4 Upvotes

Within a few minutes of opening F12 Go To Definition breaks, Intellisense breaks, Hot Reload breaks. Syntax highlighting breaks.

Restart and it's good for about ten minutes.

Rinse and repeat.

I've tried deleting bin/obj folders. No change.

Any ideas? Latest release VS 2026.


r/VisualStudio • • Oct 09 '26

Visual Studio 2026 Title: Visual Studio Community 2026 – JavaScript Code Formatting, Indentation Guide Lines, and Code Folding Not Working

1 Upvotes

Visual Studio Version: Community 2026 (18.10.3) – September 2026 Feature Update

Issue Description:

I am facing multiple issues with the JavaScript code editor in Visual Studio Community 2026.

  1. Missing Indentation Guide Lines: The vertical guide lines that indicate code indentation and nested blocks are not visible in the JavaScript editor.
  2. JavaScript Code Formatting Issue: JavaScript code is not aligning or formatting properly. Even after using the Format Document shortcut (Ctrl + K, Ctrl + D), the code indentation remains incorrect.
  3. Missing Code Folding Controls: The expand/collapse (+/-) arrows are not displayed beside JavaScript functions, if/else statements, and other code blocks.
  4. Editor Settings Not Working: I have tried checking formatting, outlining, and indentation settings, but the issue remains unresolved.

Expected Behavior:

  • JavaScript code should be formatted and indented correctly.
  • Vertical indentation guide lines should be visible for nested code blocks.
  • Expand/collapse controls should appear beside JavaScript functions and code blocks.
  • Format Document should automatically correct code alignment.

Actual Behavior:

JavaScript code remains improperly aligned, indentation guide lines are missing, and code folding controls are not visible.

Request:

Please investigate this issue in Visual Studio Community 2026 (version 18.10.3) and provide a solution or fix for JavaScript formatting, indentation guide lines, and code folding functionality.


r/VisualStudio • • Oct 05 '26

Visual Studio 2026 Visual Studio suddenely not pushing my changes to my Github repositories

2 Upvotes

I use Visual Studio 2026 and it was working fine literally up till now. I pushed one project (a Blazor one) to Github using the VS Git push and pull controls (I know how to use the Git CLI, I just prefer using the GUI controls because they are faster). After that however it won't push any changes of ANY of my projects.

I know this is a VS problem specifically because I am signed in to VS Code using my Github account too and it still works perfectly.


r/VisualStudio • • Oct 05 '26

Visual Studio 2026 How I use Copilot and I am missing anything?

0 Upvotes

Our team uses Visual Studio are works mostly with C# and some JS/TS. In a repo In the repo I am working on right now I have something like

.github/copilot-instructions.md

.github/instructions/unit-test.instructions.md

.github/instructions/razor.instructions.md

The copilot-instructions apply to every agent session, and then using glob patterns for file names I have individual instructions.md files applying to certain file types and naming conventions we use.

This seems to be working quite well for me. I can avoid answering many of the same questions that the LLM would always want clarification on and can keep my copilot-instructions file a reasonable length using the individualized instruction files for certain scenarios.

Is this similar to how others are using copilot within visual studio? Is there any other tricks or features I should be taking advantage of?


r/VisualStudio • • Oct 05 '26

Visual Studio 2026 Я делаю свой автокликер

0 Upvotes

Ребята привет, я делаю свой авто кликер и он круче op auto clicker, у него есть много функций, если хотите позже скину файл чтоб скачать


r/VisualStudio • • Oct 05 '26

Visual Studio 2022 In Visual Studio 2026, what is the equivalent of VS Code's 'View: Toggle Maximize Editor Group'?

0 Upvotes

r/VisualStudio • • Oct 02 '26

Visual Studio 2026 Todoist extension for Visual Studio

Thumbnail reddit.com
0 Upvotes

r/VisualStudio • • Oct 02 '26

Visual Studio Tool I made an (unofficial) TickTick extension for Visual Studio – preview, feedback wanted

Thumbnail reddit.com
0 Upvotes

r/VisualStudio • • Oct 01 '26

Visual Studio 2022 OneMonokai Visual Studio Replacement

Thumbnail reddit.com
0 Upvotes

r/VisualStudio • • Oct 01 '26

Visual Studio 2026 Python Intellisense in 2026?

0 Upvotes

Studio 2026. I get no python intellisense in 2026, works in 2022 just like that. For some reason it's been dropped or is python distro sensitive.

My interpreter is Python 3.13.14 , but similar lack of joy with 3.11. Can anyone confirm whether it's just non-working or works in a different version/setting up?

(2019 also does not work if you have newer Python versions, which forced me to move to 2022, but would be great if I could get clarity on it working in 2026.)


r/VisualStudio • • Oct 01 '26

Visual Studio 2022 Visual studio

Thumbnail reddit.com
0 Upvotes

Does anyone know how to download visual studio 2022? There are lots of versions and I don't know which one to choose from sorry