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

Located assembly's manifest def does not match the assembly reference...

I'm getting an error that should be easy but I don't understand the info
structure well enough to know what's going wrong.

I've been slowly adding classes and projects to a solution for a while.
There's a single test exe and a number of of# library classes. I needed to
move two of the projects down one directory from their original position and
did so my making the appropriate directory, copying the source to that
directory, deleting the original from the solution, adding the moved copy to
the solution and then modified the various project properties so that the
post copy command put the assemblies in the proper place, the relative path
to the key files was adjusted and the project references were changed to use
the new projects instead of the old one. The project build successfully.
However, when the test app runs and tries to create an Account class, an
exception is thrown because "The located assembly's manifest definition with
name 'BCGI.Business.Security.Common' does not match the assembly reference.'

The test code calls into a function that resides in Account, one of the
projects that was moved, and Account references the
BCGI.Business.Security.Common assembly. I've gone through the various
projects, deleted and then re-added the references but the problem doesn't
go away.

1) How do I fix the problem?
2) What does moving two projects have to do with changing the requested
version numbers?
3) How does the system know what version numbers it is looking for?

--
Richard Lewis Haggard
www.Haggard-And-Associates.com
Feb 13 '06 #1
3 2537
Richard Lewis Haggard wrote:
I'm getting an error that should be easy but I don't understand the
info structure well enough to know what's going wrong.

I've been slowly adding classes and projects to a solution for a
while. There's a single test exe and a number of of# library
classes. I needed to move two of the projects down one directory from
their original position and did so my making the appropriate
directory, copying the source to that directory, deleting the
original from the solution, adding the moved copy to the solution and
then modified the various project properties so that the post copy
command put the assemblies in the proper place, the relative path to
the key files was adjusted and the project references were changed to
use the new projects instead of the old one. The project build
successfully. However, when the test app runs and tries to create an
Account class, an exception is thrown because "The located assembly's
manifest definition with name 'BCGI.Business.Security.Common' does
not match the assembly reference.'

The test code calls into a function that resides in Account, one of
the projects that was moved, and Account references the
BCGI.Business.Security.Common assembly. I've gone through the various
projects, deleted and then re-added the references but the problem
doesn't go away.

1) How do I fix the problem?
2) What does moving two projects have to do with changing the
requested version numbers?
3) How does the system know what version numbers it is looking for?


is BCGI.Business.Security.Common a signed assembly? If so, please
check the version number by right-clicking the dll, -> properties ->
version tab and compare that with the version number shown in the
references in the project in vs.net.

FB

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Feb 14 '06 #2
Yes, it is a signed assembly. The versions are the same. The version number
from the DLL's properties is the same as the version that is displayed in
the reference section of the failing assembly.
--
Richard Lewis Haggard
www.Haggard-And-Associates.com
"Frans Bouma [C# MVP]" <pe******************@xs4all.nl> wrote in message
news:xn***************@news.microsoft.com...
Richard Lewis Haggard wrote:
I'm getting an error that should be easy but I don't understand the
info structure well enough to know what's going wrong.

I've been slowly adding classes and projects to a solution for a
while. There's a single test exe and a number of of# library
classes. I needed to move two of the projects down one directory from
their original position and did so my making the appropriate
directory, copying the source to that directory, deleting the
original from the solution, adding the moved copy to the solution and
then modified the various project properties so that the post copy
command put the assemblies in the proper place, the relative path to
the key files was adjusted and the project references were changed to
use the new projects instead of the old one. The project build
successfully. However, when the test app runs and tries to create an
Account class, an exception is thrown because "The located assembly's
manifest definition with name 'BCGI.Business.Security.Common' does
not match the assembly reference.'

The test code calls into a function that resides in Account, one of
the projects that was moved, and Account references the
BCGI.Business.Security.Common assembly. I've gone through the various
projects, deleted and then re-added the references but the problem
doesn't go away.

1) How do I fix the problem?
2) What does moving two projects have to do with changing the
requested version numbers?
3) How does the system know what version numbers it is looking for?


is BCGI.Business.Security.Common a signed assembly? If so, please
check the version number by right-clicking the dll, -> properties ->
version tab and compare that with the version number shown in the
references in the project in vs.net.

FB

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------

Feb 14 '06 #3
I finally just blew everything thing away and manually rebuilt the entire
solution from ground zero. That works. Thanks for the help anyway.
--
Richard Lewis Haggard
www.Haggard-And-Associates.com
"Richard Lewis Haggard" <HaggardAtWorldDotStdDotCom> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Yes, it is a signed assembly. The versions are the same. The version
number from the DLL's properties is the same as the version that is
displayed in the reference section of the failing assembly.
--
Richard Lewis Haggard
www.Haggard-And-Associates.com
"Frans Bouma [C# MVP]" <pe******************@xs4all.nl> wrote in message
news:xn***************@news.microsoft.com...
Richard Lewis Haggard wrote:
I'm getting an error that should be easy but I don't understand the
info structure well enough to know what's going wrong.

I've been slowly adding classes and projects to a solution for a
while. There's a single test exe and a number of of# library
classes. I needed to move two of the projects down one directory from
their original position and did so my making the appropriate
directory, copying the source to that directory, deleting the
original from the solution, adding the moved copy to the solution and
then modified the various project properties so that the post copy
command put the assemblies in the proper place, the relative path to
the key files was adjusted and the project references were changed to
use the new projects instead of the old one. The project build
successfully. However, when the test app runs and tries to create an
Account class, an exception is thrown because "The located assembly's
manifest definition with name 'BCGI.Business.Security.Common' does
not match the assembly reference.'

The test code calls into a function that resides in Account, one of
the projects that was moved, and Account references the
BCGI.Business.Security.Common assembly. I've gone through the various
projects, deleted and then re-added the references but the problem
doesn't go away.

1) How do I fix the problem?
2) What does moving two projects have to do with changing the
requested version numbers?
3) How does the system know what version numbers it is looking for?


is BCGI.Business.Security.Common a signed assembly? If so, please
check the version number by right-clicking the dll, -> properties ->
version tab and compare that with the version number shown in the
references in the project in vs.net.

FB

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------


Feb 16 '06 #4

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

Similar topics

0
by: Bob Rock | last post by:
Hello, I'm getting the following error when I update a referenced assembly, but not recompile my client application project: "The located assembly's manifest definition with name 'xxxxxx' does...
1
by: Elad Volpin | last post by:
Hi, I have struggled for several hours with this issue until I've understood and solved my problem. However, my solution isn't necessarily an optimal one, and worse - I think that my...
12
by: Pollux | last post by:
I'm having trouble doing someting apparently simple. I'm still not very familiar with Visual Studio 2003, so apologies if I've missed something obvious. Basically my problem is the following. I...
0
by: Lady_A | last post by:
Hi, I get this exception on trying to use a COM C++ X.dll. I have a c# app which calls another C# assembly which is supposed to use this COM dll. I have gone out of my way to change the...
1
by: cowznofsky | last post by:
does not match the assembly reference. That's the error I get when trying to compile any of my projects. I'm in VS2005. I think it has something to do with the .NET version. I had recently...
0
by: =?Utf-8?B?Q29saXZpZXI=?= | last post by:
If anyone can help me with this I would really appreciate it: I have an assembly into which I have linked a manifest file as a Win32 resource. This is necessary since I want to use a class in this...
2
by: Monty | last post by:
I'm sure I'm missing something very obvious here, but... I have an ASP.Net web application project (VS2005) that is compiled into a single DLL. I created a setup and deployment package and set it...
0
by: JB | last post by:
I have an ASP project written years ago that I have recently started to try and update. It was written by someone who used to work here before me, and the source code I have is in a major mess. ...
2
by: Febria | last post by:
Dear, all... I have some problem with my application. I used UltraWebGrid component in my web application. Unfortunately, when I tried to run the web, the error page displayed: The located...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...

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.