Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
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.
It's important to include certain information inside your finished assembly. At the minimum, you need to include a version number of your application and some information about your company. You can embed this information inside your code, and you can also instruct the build engine to modify the EXE properties. I'm inside Visual Studio, and I'm going to create a new project. I'll choose File > New > Project, and then I'm going to pick C# > Console Application. I will put this out in the correct movie folder, and then I'll click OK.
To add assembly information, all I need to do is go to this property window, double-click on this node right here, and then in C# projects I click on the Assembly Information button. It's the same in Visual Basic; the button is just located in a slightly different location-- it's down near the bottom of the page. Here I pick the name of my application, a description, our company name, our product name, which I think is going to be the same as my SuperFile title, but maybe I might call this one v2, and then down here I'll say Copyright Lynda.
Then over here we'll change our assembly version. I can also change the file version in there well. There are some other items added down here. I'm going to leave those at the default, and then I am going to click on OK. Now I've to choose the name of my output EXE, I need to come up to this section and type in a new name. So here, I don't want to call this ConsoleApplication; I want to call this one SuperFileSaver, or something like that. Now I'm ready to build my application, and we will go and see if that information is now embedded in my file. I'll right-click here, choose to Open the Folder in Windows Explorer, find my executable, which is hiding here in my Debug folder. There it is.
See, it's got the correct file name and when I hover over it, I see that this is Lynda.com, and it's version 2.0. If I want to see more information, I can right-click choose Properties > Details and here I can see all of that embedded information, including the File version is also in there. That's about all I have. So I need to close this. Now that you've embedded your information in the assembly, it's time to think about deploying the executable to the user's computer. That's the electrifying topic for the next movie.
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.