Application Properties?
-
When you right click on an .exe and go to the Version tab (I think that's what it's called), There are several properties of the application that are visible; they are:
- File Version
- Description
- Copyright
- Assembly Version
- Internal Name
- Language
- Original File Name
- Product Version
Are there options in csc.exe that let you alter these? I couldn't find any when I did
csc -?
. Oh yeah, one more thing; When I want to open a file with a program I just created, I right-click the file and press "Open With...". My program is shown in the dialog box that pops up, but all you see is its icon (the default icon) with no text to the right. How do I set the text that is supposed to be there?----- *** Never give me an answer having anything to do with Visual Studio. I don't have this because I have two computers, one being my dad's mac, which is connected to the internet, the other being my pc, which is, sadly, not connected to the internet. The setup for the Visual C# program I think is called a "bootstrap" program, and it needs to connect to the internet to install the program. THEREFORE I cannot install this program onto my pc.***
-
When you right click on an .exe and go to the Version tab (I think that's what it's called), There are several properties of the application that are visible; they are:
- File Version
- Description
- Copyright
- Assembly Version
- Internal Name
- Language
- Original File Name
- Product Version
Are there options in csc.exe that let you alter these? I couldn't find any when I did
csc -?
. Oh yeah, one more thing; When I want to open a file with a program I just created, I right-click the file and press "Open With...". My program is shown in the dialog box that pops up, but all you see is its icon (the default icon) with no text to the right. How do I set the text that is supposed to be there?----- *** Never give me an answer having anything to do with Visual Studio. I don't have this because I have two computers, one being my dad's mac, which is connected to the internet, the other being my pc, which is, sadly, not connected to the internet. The setup for the Visual C# program I think is called a "bootstrap" program, and it needs to connect to the internet to install the program. THEREFORE I cannot install this program onto my pc.***
max29297 wrote:
When you right click on an .exe and go to the Version tab (I think that's what it's called), There are several properties of the application that are visible; they are: * File Version * Description * Copyright * Assembly Version * Internal Name * Language * Original File Name * Product Version
You can change those values in your AssemblyInfo.cs (or .vb) file. If you look in your solution explorer, expand the "Properties" folder, you should find it there.
-
max29297 wrote:
When you right click on an .exe and go to the Version tab (I think that's what it's called), There are several properties of the application that are visible; they are: * File Version * Description * Copyright * Assembly Version * Internal Name * Language * Original File Name * Product Version
You can change those values in your AssemblyInfo.cs (or .vb) file. If you look in your solution explorer, expand the "Properties" folder, you should find it there.
I don't think you read my sig ;) Thanks though, I have some other people's AssemblyInfo.cs files from downloading projects from articles. I can figure it out from there
----- *** Never give me an answer having anything to do with Visual Studio. I don't have this because I have two computers, one being my dad's mac, which is connected to the internet, the other being my pc, which is, sadly, not connected to the internet. The setup for the Visual C# program I think is called a "bootstrap" program, and it needs to connect to the internet to install the program. THEREFORE I cannot install this program onto my pc.***
-
I don't think you read my sig ;) Thanks though, I have some other people's AssemblyInfo.cs files from downloading projects from articles. I can figure it out from there
----- *** Never give me an answer having anything to do with Visual Studio. I don't have this because I have two computers, one being my dad's mac, which is connected to the internet, the other being my pc, which is, sadly, not connected to the internet. The setup for the Visual C# program I think is called a "bootstrap" program, and it needs to connect to the internet to install the program. THEREFORE I cannot install this program onto my pc.***
Hi Max, the AssemblyInfo.cs file gets generated automatically by Visual Studio, but you can create your own, give it a different name, and/or merge it with other files. Here is a typical example:
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TrayIconBuster")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TrayIconBuster")]
[assembly: AssemblyCopyright("Copyright © 2007")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("fbd90b31-54df-4581-b476-c5fd53c9d279")]// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]:)
Luc Pattyn [My Articles] [Forum Guidelines]
-
When you right click on an .exe and go to the Version tab (I think that's what it's called), There are several properties of the application that are visible; they are:
- File Version
- Description
- Copyright
- Assembly Version
- Internal Name
- Language
- Original File Name
- Product Version
Are there options in csc.exe that let you alter these? I couldn't find any when I did
csc -?
. Oh yeah, one more thing; When I want to open a file with a program I just created, I right-click the file and press "Open With...". My program is shown in the dialog box that pops up, but all you see is its icon (the default icon) with no text to the right. How do I set the text that is supposed to be there?----- *** Never give me an answer having anything to do with Visual Studio. I don't have this because I have two computers, one being my dad's mac, which is connected to the internet, the other being my pc, which is, sadly, not connected to the internet. The setup for the Visual C# program I think is called a "bootstrap" program, and it needs to connect to the internet to install the program. THEREFORE I cannot install this program onto my pc.***
Hi Max, to add a file type with description, use Windows Explorer, Tools, Folder Options, File Types, New, Advanced, and enter the required information. BTW: you can add/remove/changeorder the fields shown in Windows Explorer through View, Choose Details. Some of that info is fetched from the file itself, such as "program version number" for an .EXE, or "date photo taken" for a .JPEG file (from a camera that provides such info). :)
Luc Pattyn [My Articles] [Forum Guidelines]