Setting Application properties

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
 
K

Klaus H. Probst

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.
 
I

ice88

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!!
 
K

Klaus H. Probst

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ListView Items 3
Modifiers Property of label 4
Capitalize keywords 1
Editor Capitalize statements 1
.Net Freezes 1
how to use help 2
public variable not public in class 1
What are Debug and Release Exe's 2

Top