Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
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.
Get unlimited access to all courses for just $25/month.Become a member