The start version of Microsoft Visual Studio was released inwards 1998. Currently, the latest offering is named Visual Studio 2017 in addition to contains a ton of features. It has come upward a long means since it was released inwards 1998. Well, lets simply speedily dive inwards on how a beginner tin acquire started amongst VS. So, start of all, you lot volition demand to determine if you lot are gonna usage an online installer or acquire it offline first. This is strangely complicated. Due to the presence of third-party components similar Android Emulator in addition to iOS SDK, etc. inwards the package, Microsoft cannot straight host the offline ISO images equally it used to until VS 2015. Hence, at that spot are 2 unlike ways to download the software depending upon if you lot want an offline or an online installer. Let us simply acquire through both of them 1 past times one.
How to install Visual Studio
Offline Method
Getting the correct edition
First of all, you lot demand to brand certain what edition of Microsoft Visual Studio you lot genuinely want to download. Then, you lot volition accept to demand to acquire the suitable spider web installer for that item edition. The next links are for the spider web installer of your desired edition 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 the files for an offline cache
This expanse is slightly tricky. Here, you lot volition accept start to approximate what evolution components you lot demand to download. There is a dissever ascendence (yes! command) for .NET spider web in addition to desktop evolution packages. Influenza A virus subtype H5N1 dissever 1 for .NET Office Development in addition to accordingly more.
Let us simply acquire started for each component. I am maxim this; you lot demand non acquire all the components. Get simply those that affair to you.
First, opened upward Command Prompt amongst Administrator Rights.
Then, Navigate to the location where the installer that you lot simply downloaded is stored.
Now, start executing the next ascendence job instructions equally per your need.
- For .NET spider web in addition to .NET Desktop development, run this:
vs_community.exe --layout c:\vs2017layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional --lang en-US
- For .NET Desktop in addition to Office Development, run this:
vs_community.exe --layout c:\vs2017layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Office --includeOptional --lang en-US
- For C++ desktop development, run this:
vs_community.exe --layout c:\vs2017layout --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US
- For the consummate characteristic packed offline collection of components, run this:
vs_community.exe --layout c:\vs2017layout --lang en-US
If you lot want to non usage English linguistic communication equally the linguistic communication for the software, simply swap en-US in the commands inwards a higher house amongst your desired language.
Installing Visual Studio from the downloaded cache
Just inwards instance you lot wishing to ensure that you lot install alone those files that you lot accept downloaded, you lot tin run this ascendence job teaching to verify.
vs_community.exe --layout c:\vs2017layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional --lang en-US
Now, in conclusion to install VS from the downloaded files, run this ascendence job instruction.
c:\vs2017layout\vs_community.exe --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional
Online installation
To download Visual Studio amongst an online installer, simply download 1 of the next files according to your desired edition.
- 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 lot simply downloaded. After that, you lot volition run across a enshroud similar to this.
Now, click on continue in addition to at nowadays you lot volition run across this page.
On this page, you lot volition accept to direct the components that you lot demand to download. Select them in addition to click on Install.
After this, you lot volition run across VS downloading in addition to applying components that you lot selected equally shown inwards the screenshot below.
After this, you lot simply accept to plug inwards your device inwards instance you lot are using a laptop or a Surface device. This is then because you lot don't want your calculator to acquire to slumber spell this installation is taking place. And when your installer is done amongst applying all the required components, you lot volition run across this screen.
Eureka! You accept Visual Studio 2017 installed on your machine. You tin detect it inwards the Start Menu equally shown inwards the enshroud snippet below or else detect it equally a shortcut on your desktop.
Now, when you lot run Visual Studio, it volition inquire you lot to sign inwards amongst your Microsoft Account. If you lot are using Professional or Enterprise edition, I would recommend you lot to sign inwards amongst the e-mail that you lot used to purchase the subscription. After you lot are signed in, you lot volition run across this Get Started page.
First, nosotros volition run across how things piece of work within VS 2017. Navigate to File> New > Project. A modest window volition popular upward at nowadays which volition resemble this equally shown inwards the enshroud snippet below.
Just for starters in addition to a uncomplicated programme example, Choose the Visual C# library inwards the left panel in addition to Console App inwards the listing of components. And now, hit OK.
This volition exercise a novel projection based on a C# Console App in addition to opened upward it.
Now, you lot tin start writing your code inwards betwixt those curly braces equally marked inwards the snippet above.
Write this code inwards that code block. (A code block is a portion betwixt 2 curly brackets of a item function. Here, the Main function.)
Console.WriteLine("Welcome to TheWindowsClub.com!");Console.ReadLine();
Simply at nowadays your code should travel looking something similar this:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace HelloWorld{course of report Program{static void Main(string[] args){Console.WriteLine("Welcome to TheWindowsClub.com!");Console.ReadLine();}}}
Hit F5 on your keyboard to run the program. Now, a console window volition popular upward showing you lot the output as
Welcome to TheWindowsClub.com!
You tin run across it here.
Now due to the code is written as Console.ReadLine(); you volition accept to press whatever key on the keyboard to provide to your code.
This was a really basic programme written inwards C#, inwards instance you lot would similar to uncovering more, I would recommend you lot to banking concern tally our Tutorials near Languages supported inwards .NET Framework in addition to .NET Core. And inwards instance you lot wishing to acquire from official videos, Microsoft Virtual Academy (MVA) volition travel able to aid you. MVA volition fifty-fifty aid you lot certified past times Microsoft directly.
TIP: To acquire C# from MVA, I would highly recommend you lot to refer Bob Tabor's tutorials which tin travel found here.
If you lot accept whatever farther queries, experience gratis to comment them down, in addition to I volition endeavour my best to address them equally before long equally possible.
Source: https://www.thewindowsclub.com/
comment 0 Comments
more_vert