Before we get into setting up Visual Studio Community Edition on Windows, here’s something important to keep in mind:
Our course uses a specific version of Visual Studio Community Edition, which is the same one shown in our video lecture.
The video lecture that comes right after this current lecture you are on now, walks you through installing this version, and this is the version you will use throughout the entire course.
However, Microsoft frequently updates Visual Studio, meaning the latest version may look slightly different from what you see in the video.
If you want the exact same experience as the instructor, install the same version as in the video.
If you’re comfortable troubleshooting and adapting to small differences, you can install the latest version following this guide.
No matter which version you choose, the core functionality remains the same.
Now, let’s go ahead and install the latest Visual Studio Community Edition step by step.
The first step is to download the latest version of Visual Studio 2022 Community Edition.
Go to the official Visual Studio Download page.
Under “Visual Studio 2022”, look for Visual Studio Community 2022.
Click “Download” to get the installer.
This will download the VisualStudioSetup.exe file.
Once the file is downloaded:
Open the Downloads folder and double-click on VisualStudioSetup.exe.
If you get a User Account Control (UAC) prompt, click “Yes” to allow changes to your system.
The Visual Studio Installer will now open.
After launching the installer, you will be asked to select workloads. A workload is a collection of tools and components needed for different types of development.
For this course, you must select the following:
✅ .NET Desktop Development - This includes everything needed to build and run C# applications.
Optional (but useful for future projects):
ASP.NET and Web Development – If you plan to build web applications with C#.
Azure Development – If you're interested in cloud-based projects.
After selecting your workloads, click “Install”.
The installer will now download and install Visual Studio.
This process may take some time depending on your internet speed and system performance.
Once the installation is finished, click “Launch” to open Visual Studio for the first time.
Sign in with a Microsoft account (Optional, but recommended).
If you don’t have an account, you can skip this step and continue without signing in.
Choose a development setting.
For this course, selecting “General” is a safe choice.
You can change this later in the settings if needed.
Pick a theme (Light, Dark, or Blue).
This is entirely personal preference.
Click “Start Visual Studio” to open the main interface.
Now that Visual Studio is installed, let’s create a simple C# project:
Click “Create a new project”.
In the search bar, type Console App.
Select “Console App (.NET Core)” and click Next.
Give your project a name (e.g., CSharpMasterclassProject).
Choose a location to save your project and click Create.
Visual Studio will generate a basic C# program for you.
To run the program:
Click the green “Run” button at the top.
You should see “Hello, World!” printed in the console.
Congratulations! You’ve successfully set up Visual Studio Community Edition and created your first C# project. 🎉
If you want the exact same setup as in the video and the rest of the course, install the same version shown in the foillowing Video lecture. Otherwise, if you're open to minor changes, the latest version works just as well.
Happy coding! 🚀