Setting Application properties

  • Thread starter Thread starter Laurence Nuttall
  • Start date Start date
L

Laurence Nuttall

How does one set the application
Comment, Company name, File version major, minor,
product name, and product version in .NET?

I have looked in project - properties but can't find
them.

Thanks in Advance,

Laurence Nuttall
Programmer Analyst III
UCLA - Division of Continuing Education
 
On a default VS.NET project there will be a file called "AssemblyInfo.cs"
(or .vb). It contains assembly-specific attributes that set those properties
on the compiled binary.
 
Just as a matter of interest - I don't think it needs to be called
AssemblyInfo.cs - just that the entries in it need to be somewhere
within your assembly - this could be useful if you have the source
to more than one assembly in a single directory :-)

If I'm wrong, I'd appreciate being put right!!
 
No, they don't. The attributes themselves can be placed in any .cs file
that's processed through the compiler and the end result will be the same.
 
Back
Top