473,320 Members | 1,900 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,320 software developers and data experts.

Strange reference issue

I posted this awhile back in the CF forum and got no answer, so I'm posting
it here today in hopes that a broader group of developers might nudge me in
the right direction.

I'm getting a weird message with a reference to an assembly I created, have
used in the past and then upgraded.

Warning: The dependency 'ReplSet, Version=1.0.1951.254, Culture=neutral' in
project 'CPN' cannot be copied to the run directory because it would
overwrite the reference 'ReplSet, Version=1.0.1991.23034, Culture=neutral'.

I've even done a search for all copies of ReplSet and none exist on my
system with a version number ending in .254. I do have the .23034 version
(which is the latest).

Nor can I find any reference to .254 in the project -- except when I try to
add .23034.

How can I track down where this reference to .254 is coming from?
Nov 21 '05 #1
2 1096
"Earl" <br******@newsgroups.nospam> schrieb
I posted this awhile back in the CF forum and got no answer, so I'm
posting it here today in hopes that a broader group of developers
might nudge me in the right direction.

I'm getting a weird message with a reference to an assembly I
created, have used in the past and then upgraded.

Warning: The dependency 'ReplSet, Version=1.0.1951.254,
Culture=neutral' in project 'CPN' cannot be copied to the run
directory because it would overwrite the reference 'ReplSet,
Version=1.0.1991.23034, Culture=neutral'.

I've even done a search for all copies of ReplSet and none exist on
my system with a version number ending in .254. I do have the .23034
version (which is the latest).

Nor can I find any reference to .254 in the project -- except when I
try to add .23034.

How can I track down where this reference to .254 is coming from?


This problem was making me go crazy too because I also didn't find an
assembly with the version number shown by VS anywhere. A very short time
ago, I think I found the problem: The assembly does not exist anymore, but
you must have an assembly that was compiled when that assembly with that
version was existing. This is because every assembly contains a list of
"referenced assemblies" including their version numbers. Solution: Compile
all assemblies that referenced the old version. Compile the assemblies
referencing the assemblies that you just have compiled...and so on. Short:
Compile *all* higher layers bottom up if the version changed in a lower
layer. Do this even if only the version changed but no content. You should
consider setting a fixed version number if there is no contradiction to your
versioning policy.

BTW, you can find out the assemblies referenced by an assembly by writing a
small tool that loads the assembly using reflection and than call the
assembly object's GetReferencedAssemblies method.

Armin

Nov 21 '05 #2
Thanks for your reply and insight Armin. I will work on this and let you
know the outcome.

"Armin Zingler" <az*******@freenet.de> wrote in message
news:uv*************@tk2msftngp13.phx.gbl...
"Earl" <br******@newsgroups.nospam> schrieb
I posted this awhile back in the CF forum and got no answer, so I'm
posting it here today in hopes that a broader group of developers
might nudge me in the right direction.

I'm getting a weird message with a reference to an assembly I
created, have used in the past and then upgraded.

Warning: The dependency 'ReplSet, Version=1.0.1951.254,
Culture=neutral' in project 'CPN' cannot be copied to the run
directory because it would overwrite the reference 'ReplSet,
Version=1.0.1991.23034, Culture=neutral'.

I've even done a search for all copies of ReplSet and none exist on
my system with a version number ending in .254. I do have the .23034
version (which is the latest).

Nor can I find any reference to .254 in the project -- except when I
try to add .23034.

How can I track down where this reference to .254 is coming from?


This problem was making me go crazy too because I also didn't find an
assembly with the version number shown by VS anywhere. A very short time
ago, I think I found the problem: The assembly does not exist anymore, but
you must have an assembly that was compiled when that assembly with that
version was existing. This is because every assembly contains a list of
"referenced assemblies" including their version numbers. Solution: Compile
all assemblies that referenced the old version. Compile the assemblies
referencing the assemblies that you just have compiled...and so on. Short:
Compile *all* higher layers bottom up if the version changed in a lower
layer. Do this even if only the version changed but no content. You should
consider setting a fixed version number if there is no contradiction to
your
versioning policy.

BTW, you can find out the assemblies referenced by an assembly by writing
a small tool that loads the assembly using reflection and than call the
assembly object's GetReferencedAssemblies method.

Armin

Nov 21 '05 #3

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

Similar topics

3
by: Bill C. | last post by:
Hi, I've got a simple console app that just reads an XML file into a DataSet then prints out a description of each table in the DataSet, including column names and row values for each column. ...
25
by: Neil Ginsberg | last post by:
I have a strange situation with my Access 2000 database. I have code in the database which has worked fine for years, and now all of a sudden doesn't work fine on one or two of my client's...
10
by: Arno R | last post by:
Hi all Yesterday I found a strange corruption-issue that I can't solve yet or actually point my finger at. I converted an A97 app to A2k. I have done this often enough so I didn't expect trouble...
1
by: Chris Magoun | last post by:
I suddenly received an unexpected error in my project. I have been working on this project for some time without this issue. Nothing has changed in the form that caused the exception. A little...
4
by: J. Jespersen | last post by:
Hi all, Have been using SqlDataSources for a while now. Reinstalled machine last week, now running Server 2003. Installed both SqlServer 2000 and 2005 with instance-names "sql2000" and...
1
by: Maileen | last post by:
Hi, I finished my application butonce again i have some strange behavior with XML/text functions... for example, here below is a function which worked perfectly till now and now generate an...
0
by: Wescotte | last post by:
<?php global $TABLE_GL_DATA; global $connect; $PREPARED_SQL = odbc_prepare($connect, "INSERT INTO $TABLE_GL_DATA VALUES (?,?,?,?,?,?,?)"); function Generate_GL_Data() {
12
by: StephQ | last post by:
I have a class Bounds with two constructors: class Bounds { private: list<SegmentupperLinearSpline; // Upper bound. list<SegmentlowerLinearSpline; // Lower bound. ....
4
by: Mr.SpOOn | last post by:
Hi, I'm trying the nose testing package. I've just started reading the tutorial and I had a problem with the first simple example. This is the test: def test_b(): assert 'b' == 'b' In the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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...

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.