A beginner’s guide on how to get started with Visual Studio

The first model of Microsoft Visual Studio was launched in 1998. Currently, the latest providing is known as Visual Studio 2017 and accommodates a ton of options. It has come a good distance because it was launched in 1998. Well, lets simply rapidly dive in on how a newbie can get started with VS. So, initially, you have to to resolve if you’re gonna use an internet installer or get it offline first. This is surprisingly difficult. Due to the presence of third-party elements like Android Emulator and iOS SDK, and so forth. within the package deal, Microsoft can’t straight host the offline ISO photographs because it used to till VS 2015. Hence, there are two alternative ways to obtain the software program relying upon if you would like an offline or an internet installer. Let us simply undergo each of them one after the other.

How to set up Visual Studio

Offline Method

Getting the appropriate version

First of all, you want to be sure what version of you really need to obtain. Then, you’ll have to want to get the acceptable net installer for that individual version. The following hyperlinks are for the net installer of your required version of VS 2017.

  • Get Visual Studio Community 2017 from here.
  • Find Visual Studio Professional 2017 from here.
  • Download Visual Studio Enterprise 2017 from here.

Getting all of the recordsdata for an offline cache

This space is barely difficult. Here, you’ll have first to decide what improvement elements you want to obtain. There is a separate command (sure! command) for .NET net and desktop improvement packages. A separate one for .NET Office Development and accordingly extra.

Let us simply get started for every element. I’m saying this; you needn’t get all of the elements. Get simply people who matter to you.

First, open Command Prompt with Administrator Rights.

Then, Navigate to the situation the place the installer that you simply simply downloaded is saved.

Now, begin executing the next command line directions as per your want.

  • For .NET net and .NET Desktop improvement, run this:
vs_community.exe --layout c:vs2017format --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional --lang en-US
  • For .NET Desktop and Office Development, run this:
vs_community.exe --layout c:vs2017format --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Office --includeOptional --lang en-US
  • For C++ desktop improvement, run this:
vs_community.exe --layout c:vs2017format --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US
  • For the whole characteristic packed offline assortment of elements, run this:
vs_community.exe --layout c:vs2017format --lang en-US

If you need to not use English because the language for the software program, simply swap en-US within the instructions above with your required language.

Installing Visual Studio from the downloaded cache

Just in case you would like to make sure that you put in solely these recordsdata that you’ve got downloaded, you’ll be able to run this command line instruction to confirm.

vs_community.exe --layout c:vs2017format --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional --lang en-US

Now, lastly to set up VS from the downloaded recordsdata, run this command line instruction.

c:vs2017layoutvs_community.exe --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional

Online set up

To obtain Visual Studio with an internet installer, simply obtain one of many following recordsdata in accordance to your required version.

  • Get Visual Studio Community 2017 from here.
  • Find Visual Studio Professional 2017 from here.
  • Download Visual Studio Enterprise 2017 from here.

Just run the file that you simply simply downloaded. After that, you will notice a display comparable to this.

a beginners guide on how to get started with visual studio - A beginner’s guide on how to get started with Visual Studio

Now, click on on proceed and now you will notice this web page.

1518710418 249 a beginners guide on how to get started with visual studio - A beginner’s guide on how to get started with Visual Studio

On this web page, you’ll have to choose the elements that you simply want to obtain. Select them and click on on Install.

After this, you will notice VS downloading and making use of elements that you simply chosen as proven within the screenshot beneath.

1518710418 426 a beginners guide on how to get started with visual studio - A beginner’s guide on how to get started with Visual Studio

After this, you simply have to plug in your machine in case you’re utilizing a laptop computer or a Surface machine. This is so since you don’t need your laptop to go to sleep whereas this set up is going down. And when your installer is completed with making use of all of the required elements, you will notice this display.

1518710418 750 a beginners guide on how to get started with visual studio - A beginner’s guide on how to get started with Visual Studio

Eureka! You have Visual Studio 2017 put in on your machine. You can discover it within the Start Menu as proven within the display snippet beneath or else discover it as a shortcut on your desktop.

1518710418 705 a beginners guide on how to get started with visual studio - A beginner’s guide on how to get started with Visual Studio

Now, while you run Visual Studio, it should ask you to register with your Microsoft Account. If you’re utilizing Professional or Enterprise version, I might suggest you to register with the e-mail that you simply used to purchase the subscription. After you’re signed in, you will notice this Get Started web page.

1518710419 365 a beginners guide on how to get started with visual studio - A beginner’s guide on how to get started with Visual Studio

First, we’ll see how issues work inside VS 2017. Navigate to File> New > Project. A small window will pop up now which can resemble this as proven within the display snippet beneath.

1518710419 883 a beginners guide on how to get started with visual studio - A beginner’s guide on how to get started with Visual Studio

Just for starters and a easy program instance, Choose the Visual C# library within the left panel and Console App within the record of elements. And now, hit OK.

This will create a brand new undertaking primarily based on a C# Console App and open it.

1518710419 915 a beginners guide on how to get started with visual studio - A beginner’s guide on how to get started with Visual Studio

Now, you can begin writing your code in between these curly braces as marked within the snippet above.

Write this code in that code block. (A code block is a area between two curly brackets of a selected operate. Here, the Main operate.)

Console.WriteLine("Welcome to TheWindowsClub.com!");
Console.ReadLine();

Simply now your code ought to be trying one thing like this:

utilizing System;
utilizing System.Collections.Generic;
utilizing System.Linq;
utilizing System.Text;
utilizing System.Threading.Tasks;
namespace HelloWorld

Hit F5 on your keyboard to run this system. Now, a console window will pop up displaying you the output as

Welcome to TheWindowsClub.com!

You can see it right here.
1518710419 495 a beginners guide on how to get started with visual studio - A beginner’s guide on how to get started with Visual Studio

Now due to the code is written as  Console.ReadLine(); you’ll have to press any key on the keyboard to return to your code.

This was a really primary program written in C#, in case you want to to uncover extra, I might suggest you to examine our Tutorials about Languages supported in .NET Framework and .NET Core. And in case you would like to be taught from official movies, will probably be ready to show you how to. MVA will even show you how to licensed by Microsoft straight.

TIP: To be taught C# from MVA, I might extremely suggest you to refer Bob Tabor’s tutorials which may be found here.

If you could have any additional queries, be at liberty to remark them down, and I’ll attempt my greatest to deal with them as quickly as doable.

Leave a Comment