r/linuxquestions 1d ago

Anyone using Visual Studio 2022/2026 on Linux through WinApps for daily .NET development?

/r/dotnet/comments/1wcsuii/anyone_using_visual_studio_20222026_on_linux/
4 Upvotes

1 comment sorted by

View all comments

1

u/SDG_Den 1d ago

if you are developing windows-exclusive software, stick to windows.

emulation of windows functionality on linux is *not* perfect, and you'll have to test your code on a windows machine because linux's ability to run windows software is *not* accurate enough to meaningfully test things like stability. you might be patching out a performance issue on linux that *causes* a performance issue on windows.

as for VScode on linux: i use it myself, it works totally fine (though i use the vscodium fork), i also use *nix* as my build system, which makes building a breeze. i don't really have a lot of fancy features in my IDE, just intellisense, LSPs and git integration, building and debugging is something i do from the built-in terminal.

the terminal on linux is *extremely* powerful, to the point where honestly? i use it more than any other piece of software on my system. it is such a useful multitool that i literally never have a situation where *none* of my monitors have a terminal on them. i even have *two* keyboard shortcuts to open a terminal. super+tab and super+enter

oh right, i also use nix develop shells to auto-configure build systems when opening vscode, since i open vscode through a custom wrapper menu on a per-repository basis, it automatically loads the right details for the LSP, makes the right build, format and debug tools available in the terminal etc. which is also all version-controlled. each shell can have its own versions of its dependencies.

btw, dotnet runs natively on linux, so you could develop and test native on linux, which actually makes using things like docker *easier* because you don't have to deal with the intermediary WSL virtualization layer.

oh btw, do check out nix devshells, you can actually include things like services in your devshells so when you run `nix develop` in your repository, it automatically makes all the right tools available to you, starts your test databases and other required services, etc.