0% found this document useful (0 votes)
102 views11 pages

Assignment No 4

The document provides a 7 step process for installing Visual Studio on a machine: 1. Check system requirements and apply Windows updates 2. Download the Visual Studio bootstrapper file 3. Install the Visual Studio installer by running the bootstrapper file 4. Choose workloads (feature sets) during installation 5. Optionally choose individual components 6. Optionally install language packs 7. Optionally select an installation location After installation is complete, the user can launch Visual Studio and start developing.

Uploaded by

darshana rathore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views11 pages

Assignment No 4

The document provides a 7 step process for installing Visual Studio on a machine: 1. Check system requirements and apply Windows updates 2. Download the Visual Studio bootstrapper file 3. Install the Visual Studio installer by running the bootstrapper file 4. Choose workloads (feature sets) during installation 5. Optionally choose individual components 6. Optionally install language packs 7. Optionally select an installation location After installation is complete, the user can launch Visual Studio and start developing.

Uploaded by

darshana rathore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Assignment No.

Q) How to install visual studio on our machine?

Step 1 - Make sure our computer is ready for Visual


Studio
1. Check the system requirements. These requirements help us to know whether
our computer supports Visual Studio or not.
2. Apply the latest Windows updates. These updates ensure that our 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 stop the
Visual Studio installation.
4. Free up space. Remove unneeded files and applications from your SystemDrive .

Step 2 - Download Visual Studio


Next, download the Visual Studio bootstrapper file.

Step 3 - Install the Visual Studio installer


Run the bootstrapper file to install the Visual Studio Installer.

Page | 1
From your Download 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

hen we receive a User Account Control notice, choose Yes.

then it ask to acknowledge the Microsoft License Terms and the Microsoft Privacy Statement.


Choose Continue.

Step 4 - Choose workloads


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

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

Page | 2
For example, choose the "ASP.NET and web development" workload. It comes with the default
core editor, which includes basic code editing support for over 20 languages, the ability to open
and edit code from any folder without requiring a project, and integrated source code control.

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

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

Step 5 - Choose individual components (Optional)


If we don't want to use the Workloads feature to customize our Visual Studio
installation, or you want to add more components than a workload installs, we can do
so by installing or adding individual components from the Individual components tab.
Choose what we want, and then follow the prompts.

Page | 3
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 our choosing,
choose the Language packs tab from the Visual Studio Installer, and then follow the
prompts.

Page | 4
Step 7 - Select the installation location (Optional)
We can reduce the installation footprint of Visual Studio on our system drive. we 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.

Page | 5
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.

3. In the search box, enter the type of app we want to create to see a list of
available templates. The list of templates depends on the workloads that we chose
during installation. To see different templates, choose different workloads.

We can also filter our search for a specific programming language by using
the Language drop-down list. we can filter by using the Platform list and
the Project type list, too.

Page | 6
Q2) Write the steps to compile and run c# program in
command prompt?

we can compile and run C# program in Command Prompt .

1. Type "Advance system settings" in windows start menu.

2. Click on "View advanced system settings"

3. System properties window will open.

4. Click on "Enviromment Variables".

Page | 7
5. In the "System Variables" box (lower side), first select "Path" and then click "Edit" button.

Page | 8
6. At the end of the "Variable value", first put a semicolon ";" (with out invited comma) and
then paste the following line:

C:\Windows\Microsoft.NET\Framework64\v3.5\

7. Click "Ok". 

8. Now open notepad and write your first C# program.

// First program in C#. 


using System;
namespace HelloWorld
{
    class HelloCS 
    {
        static void Main() 
        {
            Console.WriteLine("Hello World !");
            Console.WriteLine("Press any key to exit.");
            Console.ReadKey();
        }
    }
}

9. Create a folder named "test" on desktop and then save the file as HelloCS.cs inside this
folder.

Page | 9
10. Now go to desktop and Click on the "test" folder.

11. Click on "Open command window here".

12. Command window will open inside this folder.

13. Type 

csc HelloCS.cs

and press enter.

14. Next type

HelloCS

and press enter and you can see the output as

Hello World !

Page | 10
Page | 11

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy