C# Course for Absolute Beginners – Lesson 1.1
In this lab you’ll learn how-to install Visual C# Express Edition onto a machine that’s running Windows 7. During these labs we’ll use the Windows 7 Pro edition; however, the installation steps will be the same regardless of which version of Windows 7 that you might be using. We’ll also be using this very machine throughout the remainder of this series, so if Windows 7 is your operating system of choice then you should feel right at home.
If you’ve already installed Visual C# Express Edition, then you can skip this lab. Also, if you’re already familiar with installing Windows applications you can skip this lab. Just make sure that when the option comes up to install the optional SQL Server Express Edition that you install that because we’ll be using that in the remainder of the labs in the series.
BONUS: Watch the Video for this Lesson!
Step 1 – Navigating to the Microsoft website.
Launch your favorite web browser (IE, Firefox etc).
(1) Navigate to www.Microsoft.com/express/express-2010
(2) Select the Visual C# Express link. Scroll about halfway down the page and click the Microsoft C# Express link; this will take you to the download page.
Microsoft is not going to distribute a release candidate for the Express Edition tools, but when Visual Studio 2010 is officially released we’ll update any lessons, like this one, that would be affected by the change of location or any UI changes. We’ve been assured by our friends at Microsoft that the Beta 2 that we’re about to work with and the final release will be nearly identical as far as the Express Editions are concerned.
Step 2: Download the appropriate software.
(1) Select Visual C# to expand the options.
(2) Select your language of your choice and click the purple "Free Download" button and save it to your downloads folder on Windows 7.
Step 3: Locating the downloaded software on your computer.
Once that’s finished, close everything down.
(1) Open Windows Explorer. Go to the downloads directory.
(2) Double-click on the vcs_web.exe file.
(3) When you get the user account control questions, select "yes".
Step 4: Installing the software.
After a moment or two we’ll see the usual installation screens for an application. After clicking "next" and agreeing to the license terms, then we want to make sure to install the optional Microsoft SQL Server express edition service pack one. Again, we’ll be using that later on, and a few things to note on this particular screen: First of all, since this is a Beta we’ll leave everything set to the default option. There aren’t any known issues regarding the installer for Visual C# 2010 Express, but experience has shown this to be a best practice. Also, be forewarned that what you downloaded a few moments ago was just a kind of a bootstrap. What it’ll go out and do now is download all of the bits that you need based on the selections that you made. So the complete download is 238 MBs, and it’s a very long download. Click "install". About halfway through we’ll be prompted to restart our computer; we’ll talk about that in just a moment.
Step 5: The computer restart.
About midway into the install we’re prompted to reboot; and this is because the .net framework run time 4.0 beta-2 needs to be installed. This is a piece of software that’s foundational. Everything that we’ll write as an application will build off of this runtime; we’ll discuss this more later on in the series. For right now, click the ‘restart now’ and as our machine reboots it will look similar to a Windows update.
Step 6: Post-restart software installation.
Once the computer restarts the installation will continue automatically. We needed to reboot because the .net runtime touches so many parts of the operating system and because Visual C# 2010 Express Edition is built on that framework itself, so it needed to have that in place before it could be installed. We’re about halfway through the install this point.
Step 7: Software installation confirmation.
At this point we have a successful install. If you didn’t see this screen and you encountered some sort of error message, in a separate lesson we’ll demonstrate how to submit a bug report to Microsoft as well as how to find solutions to your installation problems. Microsoft wants to hear about any installation issues that you may have had, so it’s important that you contribute in that way, especially with a Beta.
Step 8: Navigating to the newly-installed software.
That completes the installation. To verify:
(1) Go to the start menu on Windows
(2) Click the new icon "Microsoft Visual C# 2010 Express".
Step 09: The Visual Studio IDE.
The first time it runs it needs to set up a few things with regards to the environment that it’s running in; screen resolution, keyboard settings, things of that nature. This interface will become ingrained within your mind over the course of the lessons – but this is a great start.
In this lab we learned how to install Microsoft’s Visual C# Express Edition. We learned where to find the software, how to correctly configure the setup options and how to launch the program.