Project Version Management

  • Thread starter Thread starter db_from_mn
  • Start date Start date
D

db_from_mn

Is it possible for properties in my deployment project to
be read by my startup project?
I want to show version info in an About Box.

Or, am I going about this all wrong? Is there a
standardized way of handling project versioning? I see
the Version class in C#, but don't see any way to pass
information from the project or solution property pages
to a object of the Version class.

Thanks in advance,
Dennis
 
Thanks Selvin,

I tried out Application.ProductVersion, and it is a string with a value
of 1,0,xxx,xxxx. But I can't figure out where the data is coming from. I
can't see the ProductVersion on any product or solution page. I only see
a product version on the deployment project, and they don't agree.

This begs the question, what is the C# Version class for?

Thanks in advance for the help,
Best Regards,
Dennis
 
I tried out Application.ProductVersion, and it is a string with a value
of 1,0,xxx,xxxx. But I can't figure out where the data is coming from. I
can't see the ProductVersion on any product or solution page. I only see
a product version on the deployment project, and they don't agree.

AssemblyInfo.cs

<code>

//
// Version information for an assembly consists of the following four
values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build
Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.0.*")]

</code>


pozdrawiam

Przemek Sulikowski
 
Back
Top