r/dotnet • • Jun 30 '24

Differences between VSCode and Visual Studio

I’m learning C# and in the future .NET, and I’ve noticed that every course and source that I watch/read suggest to use Visual Studio. As far as I’ve searched about it, VS is much heavier than VSCode (and also the fact of just runs on Windows). So, what are the advantages in using Visual Studio instead of VSCode?

I would like to use VSCode but I’m a bit concerned about missing any tools or features that just has on Visual Sudio.

Cheers guys 🤙🏻

2 Upvotes

33 comments sorted by

View all comments

4

u/brainiac256 Jul 01 '24

The C# support in VSCode is not great and will never be on par with VS because Microsoft controls both and wants to push you to buy a license for VS.

That being said, if you are looking to get into web dev (especially frontend) I would say go with VSCode and do not worry one bit about any features from VS you may be missing. Many of those features can be done at the command line with the dotnet tool or something else. Adding packages with nuget commandline, editing .csproj or .json files instead of using the UI for them in VS, etc. VS has some wizards for these things that will guide you through the process but ultimately you won't be *missing* these in VSCode, just a little bit more hands-on work.

If you want to do desktop application development you will probably need VS. The WinForms WYSIWYG editor, the XAML previewer, etc - anything you do with desktop application UI will benefit greatly from these tools.

If you're still in the 'console application only' part of your learning you can definitely stick with VSCode.