473,490 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Assembly References

Hi

I have an application that tries to load another assembly. When it tries I
get the following error message:

"Additional information: The located assembly's manifest definition with
name [Assembly Name] does not match the assembly reference."

Can anyone think of any obvious reasons why this error is occurring. I've
used ildasm.exe to check the manifest but can't see any obvious problems.

Regards

Trevor Hardwick
Nov 22 '05 #1
5 1612
You are referencing to a strong-named assembly and that assembly has been
rebuilt.

--
Regards,

Felix Wang

"Trevor Hardwick" <tr****@leavemealone.com> wrote in message
news:#7**************@TK2MSFTNGP09.phx.gbl...
Hi

I have an application that tries to load another assembly. When it tries I get the following error message:

"Additional information: The located assembly's manifest definition with
name [Assembly Name] does not match the assembly reference."

Can anyone think of any obvious reasons why this error is occurring. I've
used ildasm.exe to check the manifest but can't see any obvious problems.

Regards

Trevor Hardwick

Nov 22 '05 #2
Too elaborate a little bit more:

If you are using VS.Net to develop that strong-named assembly, everytime it
is rebuilt, its version get incremented (by default). If you have another
application referencing the assembly outside VS.Net, the application will
detect that the assembly does not match the record in its manifest.

--
Regards,

Felix Wang

"Felix Wang" <v-*****@offline.microsoft.com> wrote in message
news:eB**************@TK2MSFTNGP09.phx.gbl...
You are referencing to a strong-named assembly and that assembly has been
rebuilt.

--
Regards,

Felix Wang

"Trevor Hardwick" <tr****@leavemealone.com> wrote in message
news:#7**************@TK2MSFTNGP09.phx.gbl...
Hi

I have an application that tries to load another assembly. When it tries
I
get the following error message:

"Additional information: The located assembly's manifest definition with
name [Assembly Name] does not match the assembly reference."

Can anyone think of any obvious reasons why this error is occurring.

I've used ildasm.exe to check the manifest but can't see any obvious problems.
Regards

Trevor Hardwick


Nov 22 '05 #3
We have the files under source control. The build tree was deleted then
recreated from the files in source control. I don't see how the version
numbers can change. The build works on all mchines except one.

Regards

Trevor Hardwick

"Felix Wang" <v-*****@offline.microsoft.com> wrote in message
news:ed**************@tk2msftngp13.phx.gbl...
Too elaborate a little bit more:

If you are using VS.Net to develop that strong-named assembly, everytime it is rebuilt, its version get incremented (by default). If you have another
application referencing the assembly outside VS.Net, the application will
detect that the assembly does not match the record in its manifest.

--
Regards,

Felix Wang

"Felix Wang" <v-*****@offline.microsoft.com> wrote in message
news:eB**************@TK2MSFTNGP09.phx.gbl...
You are referencing to a strong-named assembly and that assembly has been
rebuilt.

--
Regards,

Felix Wang

"Trevor Hardwick" <tr****@leavemealone.com> wrote in message
news:#7**************@TK2MSFTNGP09.phx.gbl...
Hi

I have an application that tries to load another assembly. When it

tries
I
get the following error message:

"Additional information: The located assembly's manifest definition with name [Assembly Name] does not match the assembly reference."

Can anyone think of any obvious reasons why this error is occurring.

I've used ildasm.exe to check the manifest but can't see any obvious problems.
Regards

Trevor Hardwick



Nov 22 '05 #4
Let's look into the GAC of that particular machine and see whether we have
another version of the assembly in the GAC.

--
Regards,

Felix Wang

"Trevor Hardwick" <tr****@leavemealone.com> wrote in message
news:#y**************@TK2MSFTNGP09.phx.gbl...
We have the files under source control. The build tree was deleted then
recreated from the files in source control. I don't see how the version
numbers can change. The build works on all mchines except one.

Regards

Trevor Hardwick

"Felix Wang" <v-*****@offline.microsoft.com> wrote in message
news:ed**************@tk2msftngp13.phx.gbl...
Too elaborate a little bit more:

If you are using VS.Net to develop that strong-named assembly, everytime

it
is rebuilt, its version get incremented (by default). If you have another
application referencing the assembly outside VS.Net, the application will detect that the assembly does not match the record in its manifest.

--
Regards,

Felix Wang

"Felix Wang" <v-*****@offline.microsoft.com> wrote in message
news:eB**************@TK2MSFTNGP09.phx.gbl...
You are referencing to a strong-named assembly and that assembly has

been rebuilt.

--
Regards,

Felix Wang

"Trevor Hardwick" <tr****@leavemealone.com> wrote in message
news:#7**************@TK2MSFTNGP09.phx.gbl...
> Hi
>
> I have an application that tries to load another assembly. When it

tries
I
> get the following error message:
>
> "Additional information: The located assembly's manifest definition with > name [Assembly Name] does not match the assembly reference."
>
> Can anyone think of any obvious reasons why this error is occurring.

I've
> used ildasm.exe to check the manifest but can't see any obvious

problems.
>
> Regards
>
> Trevor Hardwick
>
>



Nov 22 '05 #5
I have the exact same problem, I am using a strong named assembly. And
the problem only occurs on a single xp machine out of around 50
tested. I have checked the GAC and the same versions are in there.

Moving the files between machines they work elsewhere.

A rebuild does not help.

I have also tried reinstalling the framework.

This is an interop library, I have tried adding a reference to it in
VB6 on the troubled machine. As soon as it tries to create the object
it fails with the manifest error
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 22 '05 #6

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

Similar topics

3
9386
by: Mountain Bikn' Guy | last post by:
This code (adapted from the examples in the docs) doesn't make complete sense to me. I have it working, but I'm wondering why I need to declare an assembly reference in 2 places. TIA. Dave ...
3
1409
by: Gary McGill | last post by:
I have a C# solution with a dozen or so projects. There are references between the projects, and these were all added as "Project" references. Everything's been working fine for months, but...
10
3415
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
2
2293
by: Brad | last post by:
I have one of those seemingly simple questions that evades/confuses me. I've created an assembly with bass classes (classes meant to be inherited in other assemblys). In a secondary assembly (my...
4
2871
by: Christopher C. Bernholt | last post by:
We have a solution which contains 2 projects. The first project is a windows control and it references an assembly. The second project is a test windows application used to test the windows...
2
1842
by: john | last post by:
Maybe I haven't had that "a-ha" moment yet, but I think the new approach to web projects is a step in the wrong direction. My main beef is that control over the assembly generation process has...
3
2542
by: Richard Lewis Haggard | last post by:
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....
3
4380
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
1
3148
by: Richard Lewis Haggard | last post by:
I'm having a problem with what appears to be some sort of confusion with references. I have a single solution with a dozen projects which has been working quite nicely for a while. The references...
1
3201
by: Dan Holmes | last post by:
Assembly a = Assembly.LoadFrom(@"c:\sandbox\iaf.net\serverinstall\IVS.WMS.Category.Server.dll"); Type t = a.GetTypes(); The GetTypes fails with this message: "System.TypeLoadException: Could...
0
7108
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
6967
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
7181
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...
1
6847
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...
0
7352
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...
1
4875
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
3078
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
1383
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
618
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.