Viewers: in countries Watching now:
In Visual Studio 2010 Essential Training, author Walt Ritscher demonstrates how to use Visual Studio 2010 Professional to develop full-featured applications targeting a variety of platforms. Starting with an overview of the integrated developer environment, the course covers working with code editors, navigating and formatting code, and deploying applications. Also included are tutorials on running performance and load tests, and debugging code. Exercise files accompany the course.
In this movie, I will spend a few minutes looking at how to create a basic Visual Studio project. Elsewhere in this series, I have details on creating the different kinds of project templates, and provide movies showing how to create an application from start to finish. My goal in this movie is to show what happens the first time you run Visual Studio, and how to create a basic project. How are you going to start Visual Studio? Okay, that was rhetorical question. You know what to do. In Windows 7, I am going to go to the Start menu, and then I am going to look in All Programs, and I am going to find my copy of Visual Studio.
That's relatively easy to do because I have just installed it on this computer and Windows 7 is highlighting that folder in yellow. I will open this up, and I will find my Microsoft Visual Studio 2010 shortcut. Before I click on this link though, I would like to add a shortcut to my Start menu. That's really easy to do in Windows 7, by right-clicking and choosing Pin to Start menu. The next time I go to the Start menu, it's available up here at the top.
Let's run the application. I will click on the link, and after about 3 or 4 seconds, Visual Studio starts and shows me the Start screen. There are times when Visual Studio needs administration privileges to complete a task. Here in Windows 7, that is easy to accomplish. I am going to go back to the Start menu, go up to my shortcut, and I am going to right-click and choose Run as administrator.
And now I want you to look on the title bar of these two versions of Visual Studio. The one in front says Administrator in parentheses. That's how I know that this is running with elevated privileges. For today though, I only need to one copy of Visual Studio, so let me close this top window. There is one more thing I would like to show you before we create our first project. Visual Studio and .NET ship with dozens of additional tools. Let's go back to the Start menu, and go to All Programs and then back into the Microsoft Visual Studio 2010 folder.
You can see, in here there are lots of sub-folders. There is one for Microsoft Windows SDK tools. There is one for Team Foundation Server tools. Down here is the Visual Studio tools folder. As you can see, there are lots of tools to work with. The one I want to look at is this one here: Visual Studio Command Prompt. For our convenience, there is this special command prompt hiding here in the Start menu. I am going to run it and see what it does. Look at the top of this window. Up here, it says Setting environment for using Microsoft Visual Studio 2010 x86 tools.
What this does is it brings into scope all of the different programming tools that are part of the Visual Studio family. Now I can go out to the prompt and run those from a command line. So I am going to go up to the top folder by typing in cd\. And then I am going to type in the name of one of these tools. There is a tool called MSBuild for instance. When I press Enter, it shows that it found MSBuild, and now it's asking me for additional information.
For another example, here is a tool called Visual Basic Compiler. Again, I will press Enter. It finds the tool, and since I didn't provide the rest of the settings, it just shows me the help file. We are going to be using this tool occasionally throughout this course. For now though, let me close the command window. Finally, we are ready to create our first project. There are a couple of ways to do that from this screen. One, I can click on this New Project hyperlink. Or if I would rather, I can go up to File > New, and then choose this Project menu.
Today, I am going to use the hyperlink. So I am going to go back to the Start screen and click New Project. Visual Studio shows me a variety of different project templates. I have more details about these later in the course. There are Visual Basic templates up here, C# templates, and many more. Today I am going to look in the Visual C# and then the Windows section, and I am going to create a basic Console Application. I will leave the settings as the default, and then I am going to click on OK.
After a few seconds, Visual Studio loads the project template and shows me my Code window. I would write the code, I would compile the code, I would run the application, but those are topics for another movie. That was easy, wasn't it? Coming up in the next movie is the thrilling story on how to use the Solution Explorer over here on the right edge of the screen.
Find answers to the most frequently asked questions about Visual Studio 2010 Essential Training .
Here are the FAQs that matched your search "" :
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.