473,473 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Difference between file version and assembly versions

In VS.2005 using VB.NET

There are two versions on every project, The Assembly Version
and the File Version.

Why are there two different versions?

As far as I can tell, there is not need for two versions.

The assembly is the file, isn't it?

Thanks in Advance,

Laurence
Aug 14 '06 #1
5 12075
Laurence,

Can you explain this more, because I am as well using VBNet and I can me not
remember that I have ever heard or read about two differen versions as you
wrote the File Version and an Assembly Version.

There is an Assembly file (dll or exe) which contains as file File Info and
in it Assembly info.

http://msdn.microsoft.com/library/de...rsiontopic.asp

http://msdn.microsoft.com/library/de...versioning.asp

Is this maybe what you mean,

Cor
"Laurence" <So*******@Something.comschreef in bericht
news:um**************@TK2MSFTNGP05.phx.gbl...
In VS.2005 using VB.NET

There are two versions on every project, The Assembly Version
and the File Version.

Why are there two different versions?

As far as I can tell, there is not need for two versions.

The assembly is the file, isn't it?

Thanks in Advance,

Laurence

Aug 14 '06 #2
If you right click on a project in the IDE,
select properties, click on the application tab,
and press the assembly information button,
you will see entries for the assembly version and the file version,
which can be set independently.

I wondered why are there two types of versions?
What is each one used for?

Thanks in Advance,

Laurence

Cor Ligthert [MVP] wrote:
Laurence,

Can you explain this more, because I am as well using VBNet and I can me not
remember that I have ever heard or read about two differen versions as you
wrote the File Version and an Assembly Version.

There is an Assembly file (dll or exe) which contains as file File Info and
in it Assembly info.

http://msdn.microsoft.com/library/de...rsiontopic.asp

http://msdn.microsoft.com/library/de...versioning.asp

Is this maybe what you mean,

Cor
"Laurence" <So*******@Something.comschreef in bericht
news:um**************@TK2MSFTNGP05.phx.gbl...
>In VS.2005 using VB.NET

There are two versions on every project, The Assembly Version
and the File Version.

Why are there two different versions?

As far as I can tell, there is not need for two versions.

The assembly is the file, isn't it?

Thanks in Advance,

Laurence

Aug 14 '06 #3
Laurence,

Did you have a look at the links I included in my reply.

Cor

"Laurence" <So*******@Something.comschreef in bericht
news:ee******************@TK2MSFTNGP03.phx.gbl...
If you right click on a project in the IDE,
select properties, click on the application tab,
and press the assembly information button,
you will see entries for the assembly version and the file version,
which can be set independently.

I wondered why are there two types of versions?
What is each one used for?

Thanks in Advance,

Laurence

Cor Ligthert [MVP] wrote:
>Laurence,

Can you explain this more, because I am as well using VBNet and I can me
not remember that I have ever heard or read about two differen versions
as you wrote the File Version and an Assembly Version.

There is an Assembly file (dll or exe) which contains as file File Info
and in it Assembly info.

http://msdn.microsoft.com/library/de...rsiontopic.asp

http://msdn.microsoft.com/library/de...versioning.asp

Is this maybe what you mean,

Cor
"Laurence" <So*******@Something.comschreef in bericht
news:um**************@TK2MSFTNGP05.phx.gbl...
>>In VS.2005 using VB.NET

There are two versions on every project, The Assembly Version
and the File Version.

Why are there two different versions?

As far as I can tell, there is not need for two versions.

The assembly is the file, isn't it?

Thanks in Advance,

Laurence
Aug 14 '06 #4
Yes, I did, It seems that the file version is ignored,
while the assembly version is used by the .NET Framework.

But we are probably going to use Xcopy to deploy our applications
so we don't have version problems. Each app will have in it's own
folder the proper versions of all of the components it needs.

Since we are going to do our own deployment, write a program
to check the version numbers on the client machine, with the
version number on the current release, and then Xcopy the current version
down to the client machine.

I guess we could use the assembly version to check if the version has
changed, or just use the file version. Since I only know of a way
to get the file version of a file from another program, we will have to
use the file version.

I was just concerned that the assembly version was necessary for something else.

Laurence

Cor Ligthert [MVP] wrote:
Laurence,

Did you have a look at the links I included in my reply.

Cor

"Laurence" <So*******@Something.comschreef in bericht
news:ee******************@TK2MSFTNGP03.phx.gbl...
>If you right click on a project in the IDE,
select properties, click on the application tab,
and press the assembly information button,
you will see entries for the assembly version and the file version,
which can be set independently.

I wondered why are there two types of versions?
What is each one used for?

Thanks in Advance,

Laurence

Cor Ligthert [MVP] wrote:
>>Laurence,

Can you explain this more, because I am as well using VBNet and I can me
not remember that I have ever heard or read about two differen versions
as you wrote the File Version and an Assembly Version.

There is an Assembly file (dll or exe) which contains as file File Info
and in it Assembly info.

http://msdn.microsoft.com/library/de...rsiontopic.asp

http://msdn.microsoft.com/library/de...versioning.asp

Is this maybe what you mean,

Cor
"Laurence" <So*******@Something.comschreef in bericht
news:um**************@TK2MSFTNGP05.phx.gbl...
In VS.2005 using VB.NET

There are two versions on every project, The Assembly Version
and the File Version.

Why are there two different versions?

As far as I can tell, there is not need for two versions.

The assembly is the file, isn't it?

Thanks in Advance,

Laurence
Aug 14 '06 #5

Laurence wrote:
I was just concerned that the assembly version was necessary for something else.
If the assembly is strongly named then the version becomes part of the
strong name. There's way too much to explain about this in one post
though. Just know that the assembly version is important, especially
when using strongly named assemblies. Some developers may choose to
version their software using both methods. For example, they may
increment the file version and leave the assembly version unchanged for
service packs.

Brian

Aug 15 '06 #6

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

Similar topics

3
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a...
3
by: Jim | last post by:
Hi, I have an assembly and it's satellite in my GAC. I have referenced the DLLs in my project (from the same location where I added it to the GAC). CopyLocal is set false. When I run the...
1
by: guxu | last post by:
I have a VB application referencing some C# dlls. Got new set of C# dll assemblies, now kept getting errors when I run my VB application. There were errors like assmbly reference mismatch. Also...
2
by: antonyliu2002 | last post by:
I am testing AJAX. I've downloaded the AJAX Extension and the CTP December package and installed on BOTH my development machine and the production server. Then I created a very very simple web...
6
by: Zytan | last post by:
In the Assembly Information, you can set the assembly version and the file version. What is the difference between the two? The documentation is not exactly helpful in this area. I had the...
2
by: Tham | last post by:
Hi I have two assemblies with the same name (e.g MyData.dll) Both assemblies are strong name and have different version (one is 1.0.0.1 and the other is 1.0.0.2) There are some applications...
1
by: Perry Langla | last post by:
Hi, I ran across some information about redirecting assembly version. It said you can use a redirect statement in the app.config file. Could someone please help me with this redirect statement....
4
by: Bob Altman | last post by:
Hi all, I have a C++/CLI project (VS 2005) that produces a DLL that exports C bindings. Internally, this DLL contains routines compiled with /clr. I notice that my DLL doesn't have a version...
0
by: =?Utf-8?B?aUhhdkFRdWVzdGlvbg==?= | last post by:
Thank U Sir, It works ::)) Now I have one more issue. I have downloaded Ajax frame work and in the toolbox I am getting AJAX Extention in which i find the Script manager. Bit,in the design...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.