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

Home Posts Topics Members FAQ

Why each time I compile The Version Number Changes.

Why do my Assebmly changes it's version each time I compile
altough I didn't modified the Code at all.

- - -
Salution X Contains ClassLab Y and WebProhect Z
Z has a referance To Y.
Y always change it's Version number when compiled altough nothing was
modified .

why ?
It was working correctly untill 2 days' ago ...

Oct 18 '06 #1
5 1128
Have you checked your AssemblyVersion attribute (usually in
AssemblyInfo.cs)? If it has any asterisks in it, then this (time based) is
the expected behaviour on a build. Or am I missing the point of the
question?

Have you perhaps added a SNK recently? Without a strong name, "Fusion" will
accept any version, where-as with a strong name it will insist on the one it
was expecting (or a policy to forward it).

Marc
Oct 18 '06 #2
Can Me Give me an Explanation what to do?
and How to change the strong name

Oct 19 '06 #3
I changed all of the the Asseblies to :
[assembly: AssemblyVersion("2.0.1")]
but it behaves the same.
The problem again:
when compile I get :

----- some of the projects give

Preparing resources...
Updating references...
Performing main compilation...

The project is up-to-date.
Building satellite assemblies...

----- some of the projects give

Preparing resources...
Updating references...
Performing main compilation...

Build complete -- 0 errors, 0 warnings
Building satellite assemblies...

Oct 19 '06 #4
I'm not quite sure how that output demonstrates anything relating to the
version number... if the real problem is just the referenced projects being
re-built, I seem to recall a parallel thread on that... just checked and I
think this was from yourself...

But yes, *if* (for whatever reason) the referenced project is rebuilt, and
*if* it has an asterisk in the AssemblyVersion, then it will get a new
version.

For "why it rebuilt" I can only reference the other thread.

Marc
Oct 19 '06 #5
I think you are right (about the thread) but I just dont see it...
Can you explain again about The Thread.. in more details

Oct 19 '06 #6

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

Similar topics

2
by: Sean Dettrick | last post by:
I am wondering if it is possible to increment an integer at compile time using template<int N> (or by any other method, e.g. compiler directives etc), across multiple source files. This may...
15
by: cody | last post by:
We have a huge project, the solutuion spans 50 projects growing. Everytime I want to start the project I have to wait nearly over 1 minute for the compiler to complete building. This is...
6
by: Ben Ingram | last post by:
Hi all, I am writing a template matrix class in which the template parameters are the number of rows and number of columns. There are a number of reasons why this is an appropriate tradeoff for...
17
by: newbiecpp | last post by:
I have hard time to understand run-time environment. Let assume that I have a program that has a simple variable alpha. When this variable is statically allocated, the compiler can use the...
5
by: Carmine Cairo | last post by:
Hi, I'm working on a project and today I've note a little problem during the compile fase. Here a little piece of code: // 1st version welldone = 0; size = p->getSize(); backbone = new...
12
by: wxs | last post by:
Many times we have a bunch of enums we have from either different enums or the same enum that will have various numeric values assigned. Rarely will there be collisions in numbering between the...
9
by: BadOmen | last post by:
I know the obvious answer here on the VB.Net... I bought for a couple of years ago Visual Studio 6.0 Pro and I wonder what I have to gain in getting me the .Net version? I am rather new to VB...
6
by: Terry Olsen | last post by:
I would like to put program info in my applications' about screen such as compile date & time, lines of code, etc. Is there a way to do this automatically when I compile?
4
by: Maziar Aflatoun | last post by:
Hi, Can someone please tell me how I can set DateTime to 01/01/1970 (UTC). Doing the following DateTime dt1 = new DateTime(1970, 1,1); Debug.WriteLine("dt1(utc):"+...
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...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
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 ...

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.