473,385 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Concerning AssemblyVersion

I'm just curious why the fields of an AssemblyVersionAttribute are limited to
65534.

Why have such a low limit? short.MaxValue-1 seems unnecessarily limiting,
why not int.MaxValue or long.MaxValue or, even better, decimal.MaxValue?

It seems to me the framework should allow me to set whatever number I want
within the range of integers it supports.
Jan 25 '06 #1
3 929
AssemblyVersionAttribute class has version as its property.
and version consists of Major.Minor.Build.Revision. so In a real world
scenario
we can have 65534*65534*65534*65534 these many combinations of assembly
versions. IMO, these many revisions will never be utilized.
--
Harish Shikhare

"PIEBALD" wrote:
I'm just curious why the fields of an AssemblyVersionAttribute are limited to
65534.

Why have such a low limit? short.MaxValue-1 seems unnecessarily limiting,
why not int.MaxValue or long.MaxValue or, even better, decimal.MaxValue?

It seems to me the framework should allow me to set whatever number I want
within the range of integers it supports.

Jan 31 '06 #2
I know all that. That doesn't answer my question.
Jan 31 '06 #3
PIEBALD wrote:
I know all that. That doesn't answer my question.


Well with that kind of range it's simply unnescesary to use bigger
numbers. Why would you need even more space?
--
Rinze van Huizen
C-Services Holland b.v
Feb 1 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mark | last post by:
In the AssemblyInfo.cs page of a ASP.NET project, there is a defaulted property of: It's my understanding that this indicates a Major Version of 1, a Minor Version of 0, and a Build and...
2
by: Mark | last post by:
In the AssemblyInfo.cs page of a ASP.NET project, there is a defaulted property of: It's my understanding that this indicates a Major Version of 1, a Minor Version of 0, and a Build and...
4
by: Matthew Smith | last post by:
Is there a way to get the value that is stored in the AssemblyVersion attribute that's in AssemblyInfo.cs?
1
by: | last post by:
In C#, when one specifies an assembly attribute for the Assembly version, this becomes the file version as well. In Managed C++, there appears to be no relation between the assembly attribute and...
7
by: Martin Bischoff | last post by:
How can I set the assembly version in an ASP.NET 2.0 project? I have added a file AssemblyInfo.cs containing the version number to my project's App_Code folder. When I try to read the version...
7
by: Michael Maes | last post by:
Hi, Setting the Assembly Version is no problem (<Assembly: AssemblyVersion("1.1.20043.13")>) but how do I set the FileVersion (of the dll)? TIA, Michael
3
by: AnthonyWJones | last post by:
I see from my searches that this has be discussed before. However I can find no satisfactory answer or any reference to this problem being a bug. From the MSDN documentation for this...
3
by: herc | last post by:
How does one get the AssemblyVersion of the currently excuting assembly? At first glance, it would appear that this would give you the AsseblyName which will give you the version: string...
3
by: MattB | last post by:
I searched around a little and I don;t see how I can get the AssemblyVersion of the main assembly of my asp.net 1.1 application. Can anyone point me to an example? I want to be able to display this...
0
by: Dilip | last post by:
I have a weird problem with versioning one of my C# binaries. I have the usual AssemblyVersion/AssemblyFileVersion attributes set. When I use reflector to poke into the compiled binary I can find...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.