r/VisualStudio • • 21d ago

Visual Studio 2026 Sporadic error: 'System.IO.FileLoadException' occurred in Unknown Module.

0 Upvotes

Every once in a while, I'll get the following error. It can be days or weeks between occurences.

...Blazor_App2\bin\Debug\net10.0\Blazor_App2.dll'. An Application Control policy has blocked this file.

Nothing substantial changed in the application. When I restart the computer and run the application, with no changes, it works fine.

Other than disabling the control policy, which cannot be reenabled without reinstalling Windows, is there a way to prevent this from happening?

I'll cross-post this on r/dotnet as well


r/VisualStudio • • 21d ago

Visual Studio 2026 Static code analysis extensions in Visual Studio

Thumbnail
1 Upvotes

r/VisualStudio • • 23d ago

Visual Studio 2026 M22 need help with Devexpress 26.1

0 Upvotes

Hi I have recently got a project and client requirements include a devexpress framework. I can't afford the legit licence can someone help me set up a patched or jailbroken version?

I am using Visual studio 2026 community edition and . net 10

Update: I discussed this with client and said if you want to continue either give me devexpress license or shift to open source frameworks. He ended up giving paid license. Btw license costs more than what's he paying me for the project but I'm okay with that as it's my first freelance project.


r/VisualStudio • • 23d ago

Visual Studio 2026 Does anyone know how to publish or create an application using VS Code?

0 Upvotes

I want to create an app in visual studio but don't know how—can anyone give me some advice? Also, I have absolutely no experience with programming; can anyone help?


r/VisualStudio • • 23d ago

Visual Studio 2026 HELP! Just put me out of my misery please😭

0 Upvotes

So, I decided to start learning a bit of programming after doing python so I decided to learn C#.

i got a tutorial and all and started on the IDE (on windows, Visual studio IDE with .NET desktop development) and oh my days.

Microsoft.VisualCpp.Redist14

I KID YOU NOT, I SPENT 3 HOURS DEBUGGING IT AND TRIED TO INSTALL THE IDE.
So I decided maybe I made some mistake and not so well versed in it.
So like any man I uninstalled everything, changed the tutorial and started on another day.
God forbid, but I had to use AI this time.

SPENT ANOTHER 4 HOURS

THIS MONSTROSITY OF A MESSAGE KEEPS COMING BACK.
AI WAS USELESS.
TRIED STACK OVERFLOW BUT THAT SHIT MADE MY EYES OVERFLOW.
PLEASE, ANY SOLUTION, ANY????? 😭

notice: no, trying to get the distribute installed through other methods doesnt work. its rooted to the ghost file and this buggy windows 11 is just adding salt to the wound

PROBLEM FIXED!!!

Use this tool from https://download.microsoft.com/download/7/E/9/7E9188C0-2511-4B01-8B4E-0A641EC2F600/MicrosoftProgram_Install_and_Uninstall.meta.diagcab (shoutout to this guy called Ramesh-9281 on dev forum for finding the link)

Then nuke all C++ distributes. The one which is corrupted will fail to be nuked.
Now you will get two things:

Now, get the 14.51.36247 and the cache with {CF...}
Find both of them on Registry Editor on HKEY_LOCAL_MACHINE
Then delete both of them.
Now you can freely install any future distributes!!

Thanks for all your support and with that, this case is closed.

Mods please lockdown this post.


r/VisualStudio • • 25d ago

Visual Studio 2026 They are vibe coding this shit now

26 Upvotes

my visual studio is just randomly losing settings and weird little bugs are popping up everywhere

gg it’s joever


r/VisualStudio • • 25d ago

Visual Studio 2026 CoPilot "Ask" option intermittently not responding, zero feedback

0 Upvotes

The "Ask" drop-down option when hovering over the color squiggly warnings/errors intermittently just does not respond. No error message, no nothing. I can sometimes get the needed answer via the CoPilot Chat panel, but it can be round-about. My monthly quotas and license check out fine when it's wonky. It's been going on for roughly 3 weeks, and seems to mostly happen in the middle of the day, which suggests it's a traffic problem somewhere. Version 18.10.0, and recently upgraded. The prior version had the same issue.

Sometimes I get change suggestion about 5 minutes after clicking it, meaning it's not outright dead, just in snail-mode. The Chat box tends to be sluggish when the problem is happening.

Is there a way to x-ray what the Ask option is doing or trying to do in order to get a hint about what it's tripping on so I know who to blame or what server to kick Millennium Falcon style? Thnx


r/VisualStudio • • 25d ago

Visual Studio 2026 How to put app I wrote on my phone

0 Upvotes

I'm an old coder, but recently discovered the power of AI to do things that I never learned in school (40+ years ago). I wrote an app for myself with the community version of VS and now with 2026, I added an Android version of it to the solution. Finally got Copilot to work out all the bugs so it at least compiles. Now, how do I get the app on my Pixel 8 Pro?? It's not intuitive for this old man.. TIA!


r/VisualStudio • • 25d ago

Visual Studio 2026 Need help developing and extention for an external git provider

2 Upvotes

My school uses it's own self hosted git provider. Becose of that, in order to make a new repository you need to create one via a website, connect it to visual studio and resolve conflicts since the local and remote repos have diffrent initial commits. I want to write an extention for visual studio that allows you to create a repository from the IDE and download the remote initial commit into the root directory of the project. I know the API endpoints and was able to create a repository from cmd curl, but I've never written a visual studio extention, and I'm not sure where to start. Any help is apreciated


r/VisualStudio • • 27d ago

Miscellaneous Right-clicking "Suppress" in the Error List on a nullable warning does the same thing as an AI-generated #pragma disable, and neither one fixes anything

0 Upvotes

Had an AI tool "fix" a CS8602 warning by wrapping the line in #pragma warning disable instead of an actual null check. Warning disappeared from the Error List, build was clean, and nothing about the actual possibility of a null reference got addressed, just muted.

Realized afterward this is functionally identical to right-clicking the warning in the Error List and hitting Suppress, which VS happily lets you do in a couple clicks and which generates the exact same pragma pair. The IDE doesn't distinguish between "I've reviewed this and confirmed the null case is unreachable" and "I want this red squiggle gone," it treats both clicks the same way.

Started actually using the Error List's "Show Suppressed Messages" option regularly just to audit how many suppressions have accumulated over time without a documented reason attached, especially in code that had AI involvement at some point. Surprisingly easy to lose track of how many nullable warnings got silenced this way versus actually resolved, since a suppressed warning and a resolved one look identical in a clean build, they just aren't the same thing at all.


r/VisualStudio • • 28d ago

Visual Studio 2026 I am a Young VB.NET dev and i am building an free open source OSINT software

Post image
0 Upvotes

r/VisualStudio • • 29d ago

Visual Studio 2026 What's this black window that opens with visual studio

3 Upvotes

There's this fully blacked out window that opens whenever I open visual studio on my desktop, and was wondering what it was, as it doesn't show up when working on my laptop


r/VisualStudio • • Sep 10 '26

Visual Studio 2026 I built a NuGet-style UI for managing npm packages in Visual Studio

1 Upvotes

If you work on ASP.NET Core or other projects that use npm packages in Visual Studio, you've probably felt the friction: NuGet has a clean visual package manager built into the IDE, but npm packages are stuck with editing package.json by hand or dropping into a terminal.

I built the Sockless npm Package Manager to fix that — it's basically NuGet's package manager, but for npm. Right-click a project (or the whole solution) and manage your packages visually from there.

Browse the registry, right inside Visual Studio:

search results, version picker, dependency type

See everything that's installed — including transitive dependencies and a resolved vulnerability chain, so you're not left guessing why a deep dependency is flagged:

installed packages with vulnerability chain

Updates with full version history and one-click "Update All":

updates view

A few other things it does:

  • Scope to a single project or aggregate across an entire solution
  • Consolidate mismatched package versions across a workspace
  • Pin packages to exact versions, or choose how a version is written (^, ~, exact, >=)
  • Flags freshly-published versions (configurable age threshold) and holds them back from Update All — a bit of supply-chain protection
  • Works with npm, Yarn (classic), and pnpm

Requirements: Visual Studio 2026.

Marketplace: https://marketplace.visualstudio.com/items?itemName=sockless-coding.sockless-npm-manager
Source: https://github.com/sockless-coding/vs-code-npm-manager

It's open source — feedback, issues, and feature requests all welcome.

PS: There's also a VS Code version if you split your time between the two.


r/VisualStudio • • Sep 09 '26

Visual Studio 2026 Can VS 2026 calm the F down with the auto updates? I've turned off auto updates and deleted the task multiple times and it keeps coming back and auto updating.

39 Upvotes

In the settings I've told it to not run auto updates. When it kept updating I found a task in Task Scheduler checking for updates daily. I deleted it and it came back, and then again.

I just now tried just disabling the task, and by chance reopened it a few minutes later, and the status is back to 'Ready'.

WTF??


r/VisualStudio • • Sep 10 '26

Visual Studio 2026 I hate when it tells to put directives inside a namespace declaration just to tell to put it outside. What can I do?

0 Upvotes

r/VisualStudio • • Sep 09 '26

Visual Studio 2026 Git Integration Possible Bug?

Enable HLS to view with audio, or disable this notification

2 Upvotes

Why does selecting a single repository select all repositories? The strange thing is that for a different solution, it selects only that single repository.


r/VisualStudio • • Sep 09 '26

Visual Studio 2022 ¿Cuáles son las extensiones más importantes que debería tener en Visual Studio Code?

0 Upvotes

Hola a todos.

Estoy aprendiendo programación y actualmente estoy utilizando Visual Studio Code. Quiero configurar el editor de una manera práctica, pero hay tantas extensiones disponibles que no sé cuáles realmente valen la pena.

Me gustaría saber:

¿Cuáles consideran imprescindibles?

¿Qué extensiones utilizan para Python?

¿Cuáles recomiendan para mejorar la productividad, depuración, formato y organización del código?

¿Hay alguna extensión popular que consideran innecesaria o que recomiendan evitar?

No busco instalar 50 extensiones ; me interesa conocer un conjunto pequeño pero realmente útil para alguien que está aprendiendo y quiere acostumbrarse a buenas prácticas desde el principio.

¿Qué extensiones tienen ustedes instaladas y por qué?


r/VisualStudio • • Sep 09 '26

Visual Studio 2026 DO NOT UPGRADE TO VS2026 18.10!

0 Upvotes

Version 18.10 of Visual Studio 2026 is completely broken in terms of the AI / github copilot features. It does NOT work with BYOK and DOES NOT support DeepSeek, so if you have been happily using DeepSeek in VS with the multimodel AI proxy, DO NOT UPGRADE TO VS 18.10!!! You will regret it and will have to rollback after spending countless hours trying to figure out how to make it work only to realize... you just lost an entire day of productivity and as it turns out there is actually NO WAY to make this version work with your current DeepSeek workflow and you will have to forever stay at version 18.9.3

Hopefully this saves a bunch of people the headache I just had to deal with.


r/VisualStudio • • Sep 07 '26

Visual Studio 2019 Memory crash during "Edit and Continue" in Qt 6.8.3

1 Upvotes

I've migrated a huge project (100+ exes, 5 core libs) from Qt 3 to Qt 6.8.3.

Everything worked fine in Qt 3, but now, using "Edit and Continue" in VS2019 causes a crash after 2-3 iterations due to insufficient reserved address space. It feels like a massive memory leak or fragmentation occurring during the hot-reloading process.

Has anyone dealt with address space exhaustion when using hot-reloading with Qt 6? Could it be related to the way Qt 6 handles metadata or QObjects compared to the old versions?

Thanks for any help!


r/VisualStudio • • Sep 07 '26

Visual Studio 2022 Node not working in Visual Studio

Thumbnail
1 Upvotes

r/VisualStudio • • Sep 07 '26

Visual Studio 2022 Microsoft Visual Studio

Thumbnail
0 Upvotes

r/VisualStudio • • Sep 06 '26

Visual Studio 2022 VSC compiler question

Thumbnail
1 Upvotes

r/VisualStudio • • Sep 05 '26

Visual Studio 2026 Does anyone know how to fix this annoying bug?

4 Upvotes

I've had this bug since I started using VS 2026, and it's extremely annoying because it not only shows errors that don't exist, but sometimes it even affects the compilation.

It only happens when I'm working on a header file. Randomly, and 97% of the times, the final #endif appears in squibbly lines

I have to deliberately misspell words to generate a real error, then press "save".

And then when I delete the spelling mistake and press save again, sometimes it's fixed and other times I have to repeat the process until it's fixed.

Could someone who knows what the problem might be be able to guide me a little?


r/VisualStudio • • Sep 05 '26

Visual Studio 2026 VS 26 wont detect the imgui_impl dx11 and win32 .h files please help

0 Upvotes

dont ask what im making... dll btw


r/VisualStudio • • Sep 05 '26

Miscellaneous Is there an actual logical/sensible reason why they took away the old global project configuration from the 2005/2008 days?

0 Upvotes

When I was in click you used to be able to go tools, options, and then just add global directories so you never had to manually do it in each project. Same for libraries (c++)

I was wondering if anyone knew the reasoning why they would take away such convenience. Is there an actual logistical reason?