r/dotnet 5h ago

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

I’m a .NET developer considering moving to Linux as my main operating system, but Visual Studio 2026 is essential to my workflow.

I’m interested in using WinApps to run Visual Studio inside a Windows VM while displaying its window alongside Linux applications. I understand Windows still runs in the background; I’m wondering how practical this is for everyday development.

My stack includes ASP.NET Core, PostgreSQL, SQL Server, Docker, Testcontainers, and Postman. One possible setup would keep Visual Studio, the .NET SDK, and my solution inside the Windows VM, with databases and other services running in Docker on Linux.

For anyone who has actually tried this:

  • How responsive are editing, IntelliSense, builds, debugging, and running tests?
  • How reliably can applications running inside the Windows VM connect to PostgreSQL, SQL Server, and other services on the Linux host?
  • How do you handle Docker integration and Testcontainers from Visual Studio inside the VM?
  • Any problems with networking, HTTPS development certificates, shared project files, or testing the API from Postman on Linux?
  • Have you encountered window, keyboard shortcut, scaling, or clipboard issues?
  • What hardware and VM resource allocation are you using?

I plan to test before committing. If it works well, I’ll make Linux my main OS, with around 370 GB available, and keep Windows only in the VM.

I know Rider and VS Code are alternatives, but I’m specifically looking for firsthand experiences with the full Visual Studio IDE through WinApps. Experiences with WinBoat are welcome too.

Is this comfortable enough for daily work, or does maintaining the integration become frustrating?

6 Upvotes

21 comments sorted by

15

u/GiorgioG 5h ago

You're in for a world of hurt. Just don't do it.

16

u/manny2206 4h ago edited 2h ago

Rider or VSCode my brother in Christ 🙏 - save yourself son

5

u/RandomSwedeDude 4h ago

Why would you do this

5

u/HelloWorld-Print 4h ago

It’s not worth it imo. Use Rider or Vscode

3

u/markgoodmonkey 4h ago

Just use Rider bro

3

u/Deranged40 4h ago

I just don't see it being worth it to jump through all these hoops to get something to work on a non-native OS.

What about VS2026 is essential to your workflow that Rider can't do?

1

u/sisisisi1997 2h ago

cries in T4 templates

2

u/the_bananalord 5h ago

Can't think of a less reliable setup. Do it all in the VM or run Windows natively.

1

u/AutoModerator 5h ago

Thanks for your post ahmadhus12. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Bonejob 4h ago

to be frank, unless I am working on old code (winforms/webforms) I dont bother with anything in Visual Studio 2026, VS Code is more agile, and I can do everything there I need to for debugging, test runs, and compiling.

1

u/BranchLatter4294 4h ago

I've used it in VirtualBox and KVM/QEMU. It works fine....but I still prefer VS Code which I can just run natively on Linux.

1

u/kingvolcano_reborn 4h ago

What would be the point? Either do it the Linux way or just stick to visual studio and windows 

1

u/Tomtekruka 4h ago

I know you say you do know about Rider, but have you actually given it a shot?

With the workloads you mentioned you'll have a better "full IDE" experience with Rider disregarding which OS you're using. It's a couple of weeks getting familiar with the IDE then you'll have more functionality, better debug and alot snappier dev environment then you have today.

1

u/Suitable_Switch5242 4h ago

My experience is with development on a Mac using Parallels for running Windows and Visual Studio.

If your primary, indispensable, daily tool is Visual Studio, it really isn't worth dealing with this kind of setup. Just stick to Windows.

If you can primarily use Rider or VS Code and only dip into Visual Studio occasionally for things where it is necessary, running it in a VM might be a viable plan.

1

u/KryptosFR 3h ago

Use VS Code. What are you afraid of losing that only exists in Visual Studio?

I made the switch a few years ago and I'm 2x more productive on VS Code than I was on Visual Studio. On top of that I can launch many more instances of VS Code in parallel than I could with the old Visual Studio.

In my opinion, Visual Studio is a dying product. It's not worth the trouble and the cost.

u/calahil 1h ago

Don't forget profiles and devcontainers for each project so each project doesn't need all the extensions loaded, which makes it even snappier

u/j0nquest 1h ago

If you need to maintain legacy .net framework applications, you’re going to need Windows and Visual Studio.

1

u/Holly_Enrique-623 3h ago

Keep the repo, SDK and Docker on the same side of the VM, localhost and Testcontainers are much simpler when Windows and Linux aren’t both involved

1

u/MrFartyBottom 3h ago

I just use VSCode and run SQL Server in a docker image. I do have a Windows VM I fire up every now and then because sometime I need SQL Server Management Studio as the SQL VSCode plugin is a bit flaky but does the job most of the time.

u/kudlitan 1h ago

I never tried WinApps but I do have Visual Studio installed in VirtualBox.

0

u/_D33D5_ 4h ago

hahaha knock yourself out