By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,960 Members | 2,232 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,960 IT Pros & Developers. It's quick & easy.

Adding file version info to C# .NET program

P: n/a
How do I add file version info to a C# .NET command line utility? I'd like
to update the file version, description, company name, etc. that you see
when you right-click the EXE and get its properties. With our C++ code,
we'd add a version resource to the RC file. Not sure what the equivalent
for a C# program is. I'm thinking it would have something to do with the
program's manifest, but am not sure of the details. I do have utilities for
injecting a manifest into a program, but am not sure what needs to be added.

Thanks,
David
Sep 26 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Do you mean like clicking on properties in solution explorer and then
change the assemblyinfo.cs file. That should do what you want.
David wrote:
How do I add file version info to a C# .NET command line utility? I'd like
to update the file version, description, company name, etc. that you see
when you right-click the EXE and get its properties. With our C++ code,
we'd add a version resource to the RC file. Not sure what the equivalent
for a C# program is. I'm thinking it would have something to do with the
program's manifest, but am not sure of the details. I do have utilities for
injecting a manifest into a program, but am not sure what needs to be added.

Thanks,
David
Sep 26 '06 #2

P: n/a
AssemblyInfo.cs
"David" <mi****@newsgroup.nospamwrote in message
news:OF*************@TK2MSFTNGP06.phx.gbl...
How do I add file version info to a C# .NET command line utility? I'd
like to update the file version, description, company name, etc. that you
see when you right-click the EXE and get its properties. With our C++
code, we'd add a version resource to the RC file. Not sure what the
equivalent for a C# program is. I'm thinking it would have something to
do with the program's manifest, but am not sure of the details. I do have
utilities for injecting a manifest into a program, but am not sure what
needs to be added.

Thanks,
David

Sep 27 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.