r/VisualStudio

Needed: Very simple extension for running single C# files

Should be easy for someone who knows how to make extensions.
I want to right-click a C# file and select Run. Which basically is:

dotnet run --file path

>Ex: dotnet run --file "D:\GoogleDrive\My Content\My Projects\SLT\Assets\SLT.Assets\Test.cs"

Or is it possible to make it a Command?
I got it working in VS Code; I need it in VS too.

reddit.com
u/SL-Tech — 13 hours ago

GitHub Copilot refuses to sign me in

I was using copilot as normal today. Then suddenly it went into a loading state forever. I restarted Visual Studio and now it's acting like I don't exist. It's treating the chat window like I'm not signed in. I try to write something and it prompts me to sign in. I sign in but nothing happens.

I tried updating IDE, I tried another computer too.

Is this happening to others?

reddit.com
u/40202 — 2 days ago
▲ 40 r/VisualStudio+1 crossposts

Does anyone know the specifics of this Visual Studio pack ?

I was looking around for visual studio 6.0 on various websites as I was interested in windows 98 and 95 development for retro gamedev. And I found this on Yahoo auctions for only 56 bucks and *had* to buy it because, it felt legit insane as every disc is still sealed and the activation serial is included.

However this doesn't feel like a bundle people could simply buy at retail, it feels way too heavy in material for it. between the mostly blank box, the fact it includes both BackOffice Server developer edition and visual studio 6.0 plus pack...

I'm wondering if some people know more about it so that I can learn more about what I bought ? I was mostly interested in the VS 6.0 part but maybe there's some other interesting stuff to check out in there.

u/Seledreams — 4 days ago

I need help

First of all, hello, and more important, ignore the “woLrd”— I was just raging. I installed Visual Studio (I don’t want to switch to VS Code unless I have no other choice) to learn C#, since I just started college in Computer Science. But this bug—or whatever it is—is really getting on my nerves. I just want to be able to study in peace :(

720p for speed reasons, sry

u/Plutozera — 5 days ago

Typing through mud

Does anyone experience a lot of slow typing in the last Visual Studio?

Both 2026 and 2026 Insiders. It feel like typing through mud. It has always been bad, but now it seems even more extreme.

Anyone recommendations of settings to turn off? As far as I know I already disabled all the AI features.

reddit.com
u/dirkboer — 7 days ago
▲ 0 r/VisualStudio+1 crossposts

Css troubleshooting on Visual Code

Its a very basic code but its not even running what should I do?

u/No-Mission5457 — 9 days ago

How to stop Copilot NES from making a specific suggestion?

I have a love/hate relationship with Copilot's Next Edit Suggestion functionality. This one aspect makes it incredibly frustrating to use and I want to know whether I can prevent it.

Each time I initialize an array with the new collection syntax like:

List<string> items = [];

NES suggests that I change it to:

List<string> items = new List<string>();

It does this every time, for every array no matter how many times I cancel it. I don't have open files with the "new List<Type>()" syntax, I don't have that array initialization syntax littered throughout. My editor config 100% does not suggest that change. I'm at a loss for how to stop it from doing this.

Thanks

reddit.com
u/mexicocitibluez — 10 days ago

may I know the problem why my code won't play

I'm encountering this kind of issue, it won't play and like it's talking that my file does not exist I tried multiple things to fix it but still won't work

u/justloisfail — 11 days ago

How to bundle Assets, EXE, and other .dll files into one EXE?

I am writing my first .NET application out and having been trying to get it published. But everytime I do it I get the EXE, assets, and .dll files into one folder but not one application. I have gone through the process of publishing by having the Deployment Mode be Self-Contained and then the produce single file option checked as well. But still get these separate files in one folder.

Again this is my first time doing this and would appreciate any help or assistance to get this thing into one so that it can run properly and at all. I imagine it like this so that others can put it on their desktop for ease of access instead of having to go into a folder everytime they want to use it.

Any tips?

reddit.com
u/Lord_Nethermore — 14 days ago

Visual Studio or Visual Studio Code?

Hi,

I'm new to programming and don't really know the difference between the two. I want to learn Python from the start and want to learn it right. I've heard that VS is for C#, C++, etc., but I don't know if it's good for Python, and I don't know what I should select in the installer.

Can somebody help me, please?

reddit.com
u/Zero-Employment — 13 days ago

Visual Studio with LibGDX

I think this counts as being relevant, if not let me know please.

Right now I am trying to follow a video game tutorial in LibGDX. For the past year or two my main IDEA is Visual Studio. In the setup phase on their website LibGDX talks a little about Visual Studio being an acceptable IDEA. Though, in their "Importing & Running" section, there is little information on how to make this work.

Does anyone know how to at least get this to setup? If I need to put links in I will. Thank you.

reddit.com
u/ValknutRecords — 14 days ago
▲ 2 r/VisualStudio+1 crossposts

I made a VS Code workflow for maintaining old Xamarin.Android projects

I still have to work with some Xamarin.Android projects from time to time, and the tooling situation has become increasingly awkward since Xamarin reached end of life.

So I started building XamarinVisualStudio, an open-source toolkit that makes it possible to work with existing Xamarin.Android projects from VS Code on Windows.

It currently supports building, deploying and launching applications, ADB device detection, Logcat output and >>debugging<< with breakpoints, stepping, call stacks and variables!

The goal is not to pretend that Xamarin should still be used for new projects. It should not. Migrating to .NET for Android or MAUI is still the sensible long-term solution.

But in the real world, old applications do not disappear just because a framework is no longer supported. Some of them still need bug fixes, maintenance releases or small changes, and that is the problem this project is meant to solve.

The project is still evolving, so feedback, bug reports and contributions are very welcome.

GitHub: https://github.com/rudolfstepan/XamarinVisualStudio

reddit.com
u/Haunting-Hold8293 — 13 days ago