0% found this document useful (0 votes)
26 views

Oop Lab 1 Part 1

This document provides step-by-step instructions for installing Visual Studio 2017. It outlines prerequisites like disabling antivirus software and ensuring sufficient RAM and disk space. It then details each step of the installation process, including downloading Visual Studio, installing the Visual Studio installer, choosing workloads, optional steps to select individual components and language packs, selecting an installation location, and starting development in Visual Studio. The document concludes by assigning the task of opening Visual Studio and running a console application.

Uploaded by

dddsasda
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Oop Lab 1 Part 1

This document provides step-by-step instructions for installing Visual Studio 2017. It outlines prerequisites like disabling antivirus software and ensuring sufficient RAM and disk space. It then details each step of the installation process, including downloading Visual Studio, installing the Visual Studio installer, choosing workloads, optional steps to select individual components and language packs, selecting an installation location, and starting development in Visual Studio. The document concludes by assigning the task of opening Visual Studio and running a console application.

Uploaded by

dddsasda
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Sir Syed University of Engineering & Technology,

Department of Computer Science and Information Technology

LAB SESSION 01 Part 01


Install Visual Studio 2017 Step by Step

Prerequisite to install visual studio 2017

1. Disable anti-virus or anti-spyware software


2. Close all of your running software
3. If you are using windows xp make sure it is service pack 3
4. If you install other than windows xp make sure it is service pack 2 or more
5. 1 GB RAM
6. 4 GB of Hard disk space

Step by Step installation


Step 1 - Make sure your computer is ready for Visual Studio

Before you begin installing Visual Studio:

1. Check the system requirements. These requirements help you know whether your
computer supports Visual Studio 2019.

2. Apply the latest Windows updates. These updates ensure that your computer has
both the latest security updates and the required system components for Visual
Studio.

3. Reboot. The reboot ensures that any pending installs or updates don't hinder the
Visual Studio install.

4. Free up space. Remove unneeded files and applications from your %SystemDrive%
by, for example, running the Disk Cleanup app.

Step 2 - Download Visual Studio

Next, download the Visual Studio bootstrapper file.

To do so, choose the following button, choose the edition of Visual Studio that you
want, choose Save, and then choose Open folder.

Download Visual Studio


Sir Syed University of Engineering & Technology,
Department of Computer Science and Information Technology

Step 3 - Install the Visual Studio installer

Run the bootstrapper file to install the Visual Studio Installer. This new lightweight
installer includes everything you need to both install and customize Visual Studio.

1. From your Downloads folder, double-click the bootstrapper that matches or is


similar to one of the following files:

o vs_community.exe for Visual Studio Community


o vs_professional.exe for Visual Studio Professional
o vs_enterprise.exe for Visual Studio Enterprise

If you receive a User Account Control notice, choose Yes.

2. We'll ask you to acknowledge the Microsoft License Terms and the
Microsoft Privacy Statement. Choose Continue.

Step 4 - Choose workloads

After the installer is installed, you can use it to customize your installation by selecting
the feature sets—or workloads—that you want. Here's how.

1. Find the workload you want in the Visual Studio Installer.


Sir Syed University of Engineering & Technology,
Department of Computer Science and Information Technology

2. After you choose the workload(s) you want, choose Install.

Next, status screens appear that show the progress of your Visual Studio
installation.

Tip

At any time after installation, you can install workloads or components that you didn't
install initially. If you have Visual Studio open, go to Tools > Get Tools and
Features... which opens the Visual Studio Installer. Or, open Visual Studio
Installer from the Start menu. From there, you can choose the workloads or
components that you wish to install. Then, choose Modify.

Step 5 - Choose individual components (Optional)

If you don't want to use the Workloads feature to customize your Visual Studio
installation, or you want to add more components than a workload installs, you can do
so by installing or adding individual components from the Individual components tab.
Choose what you want, and then follow the prompts.
Sir Syed University of Engineering & Technology,
Department of Computer Science and Information Technology

Step 6 - Install language packs (Optional)

By default, the installer program tries to match the language of the operating system
when it runs for the first time. To install Visual Studio in a language of your choosing,
choose the Language packs tab from the Visual Studio Installer, and then follow the
prompts.
Sir Syed University of Engineering & Technology,
Department of Computer Science and Information Technology

Change the installer language from the command line

Another way that you can change the default language is by running the installer from
the command line. For example, you can force the installer to run in English by using the
following command: vs_installer.exe --locale en-US. The installer will remember this
setting when it is run the next time. The installer supports the following language
tokens: zh-cn, zh-tw, cs-cz, en-us, es-es, fr-fr, de-de, it-it, ja-jp, ko-kr, pl-pl, pt-br, ru-ru,
and tr-tr.
Sir Syed University of Engineering & Technology,
Department of Computer Science and Information Technology

Step 7 - Select the installation location (Optional)

You can reduce the installation footprint of Visual Studio on your system drive. You can
choose to move the download cache, shared components, SDKs, and tools to different
drives, and keep Visual Studio on the drive that runs it the fastest.

Important

You can select a different drive only when you first install Visual Studio. If you've already
installed it and want to change drives, you must uninstall Visual Studio and then reinstall
it.

Step 8 - Start developing

1. After Visual Studio installation is complete, choose the Launch button to get
started developing with Visual Studio.

2. On the start window, choose Create a new project.


Sir Syed University of Engineering & Technology,
Department of Computer Science and Information Technology

Lab TasK:
01) Open Visual Studio and run your Console Application

Code:
Sir Syed University of Engineering & Technology,
Department of Computer Science and Information Technology

Output:

You might also like