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

Build errors whith two identical assembliey names

I have a project where I load some of my assemblies dynamically, I'm using
a venders product where he loads some assemblies dynamically. He loads two
assemblies that both share a common name; however have different public keys
and version numbers. I receive an error when I compile the my assembly (the
dynamic one) it tells me to us the vendors other version of the product,
Which is completely wrong since the items I need aren't even in that
assembly. I have tried both methods of loading his assembly dynamically
thru reflections, neither worked. One thing that did work around the
problem is that I added his dynamically loaded assembly into the GAC, after
I did this I was able to get past this error. Obviously this is a
deployment problem for us since it's not our product and we don't want to go
messing around with other peoples assemblies.

Jun 27 '08 #1
8 1364
Alexander,

This is a problem for the supplier of the product as he has not rigth signed
his product.

Cor

"Alexander Llew Wykel" <Al*************@AWSoftwareWorks.comschreef in
bericht news:AC**********************************@microsof t.com...
>I have a project where I load some of my assemblies dynamically, I'm using
a venders product where he loads some assemblies dynamically. He loads two
assemblies that both share a common name; however have different public
keys and version numbers. I receive an error when I compile the my
assembly (the dynamic one) it tells me to us the vendors other version of
the product, Which is completely wrong since the items I need aren't even
in that assembly. I have tried both methods of loading his assembly
dynamically thru reflections, neither worked. One thing that did work
around the problem is that I added his dynamically loaded assembly into the
GAC, after I did this I was able to get past this error. Obviously this is
a deployment problem for us since it's not our product and we don't want to
go messing around with other peoples assemblies.
Jun 27 '08 #2
Here is my reply from my vender:

Hi Alex,

that is impossible, ... i have not seen that thread as yet, but the
conclusion you say is wrong.

if you take a look at my assembky's identity, i.e. fom teh treelistview
install package of combobox, it will be like so:
Binarymission.BinaryComboBox, Version=2.1.257.<build>, Culture=neutral,
PublicKeyToken=5cb4c20959280c09

If you look up the identiy of the dll that is in your retail version install
of combobox, it will be like so:

Binarymission.BinaryComboBox, Version=2.1.257.<build>, Culture=neutral,
PublicKeyToken=5cb4c20959280c09

They will match completely, including the public token.

Also, if the signing was not correct, the CLR / run-time would not even load
it in teh first place - and will fail and throw FileLoadException, since its
compted assembly hash won;t match with the decrypted has of the assembly from
the assembly's digest.

The only issue in your setup is that two differnet versions of the combobox
dlls are being used in the same solution (albeit across different projects).

To prove this theaoy, run my demo application, and it will work fine with
the combobox.
if the signing was wrong, it is imppossible to work with teh demo and not
work with yours.

--
Alexander L. Wykel
AW Software Works

"Cor Ligthert[MVP]" wrote:
Alexander,

This is a problem for the supplier of the product as he has not rigth signed
his product.

Cor

"Alexander Llew Wykel" <Al*************@AWSoftwareWorks.comschreef in
bericht news:AC**********************************@microsof t.com...
I have a project where I load some of my assemblies dynamically, I'm using
a venders product where he loads some assemblies dynamically. He loads two
assemblies that both share a common name; however have different public
keys and version numbers. I receive an error when I compile the my
assembly (the dynamic one) it tells me to us the vendors other version of
the product, Which is completely wrong since the items I need aren't even
in that assembly. I have tried both methods of loading his assembly
dynamically thru reflections, neither worked. One thing that did work
around the problem is that I added his dynamically loaded assembly into the
GAC, after I did this I was able to get past this error. Obviously this is
a deployment problem for us since it's not our product and we don't want to
go messing around with other peoples assemblies.

Jun 27 '08 #3
Ther Exact Error in Visual Studio is:

Target ResolveProjectReferences:
Target ResolveAssemblyReferences:
Consider app.config remapping of assembly "Binarymission.BinaryComboBox,
Culture=neutral, PublicKeyToken=5cb4c20959280c09" from Version
"2.1.257.37476" [] to Version "2.1.2769.2131" [C:\Program Files\Binarymission
Technologies Ltd\BinaryComboBox .NET Version 2.1 (for .NET
2.0)\Binarymission.BinaryComboBox.dll] to solve conflict and get rid of
warning.
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft. Common.targets :
warning MSB3247: Found conflicts between different versions of the same
dependent assembly.
Done building target "ResolveAssemblyReferences" in project
"AutoDeveloper.csproj".

--
Alexander L. Wykel
AW Software Works

"Alexander Llew Wykel" wrote:
I have a project where I load some of my assemblies dynamically, I'm using
a venders product where he loads some assemblies dynamically. He loads two
assemblies that both share a common name; however have different public keys
and version numbers. I receive an error when I compile the my assembly (the
dynamic one) it tells me to us the vendors other version of the product,
Which is completely wrong since the items I need aren't even in that
assembly. I have tried both methods of loading his assembly dynamically
thru reflections, neither worked. One thing that did work around the
problem is that I added his dynamically loaded assembly into the GAC, after
I did this I was able to get past this error. Obviously this is a
deployment problem for us since it's not our product and we don't want to go
messing around with other peoples assemblies.
Jun 27 '08 #4
Comments from the Software Vendor:

that is impossible, ... i have not seen that thread as yet, but the
conclusion you say is wrong.

if you take a look at my assembky's identity, i.e. fom teh treelistview
install package of combobox, it will be like so:
Binarymission.BinaryComboBox, Version=2.1.257.<build>, Culture=neutral,
PublicKeyToken=5cb4c20959280c09

If you look up the identiy of the dll that is in your retail version install
of combobox, it will be like so:

Binarymission.BinaryComboBox, Version=2.1.257.<build>, Culture=neutral,
PublicKeyToken=5cb4c20959280c09

They will match completely, including the public token.

Also, if the signing was not correct, the CLR / run-time would not even load
it in teh first place - and will fail and throw FileLoadException, since its
compted assembly hash won;t match with the decrypted has of the assembly from
the assembly's digest.

The only issue in your setup is that two differnet versions of the combobox
dlls are being used in the same solution (albeit across different projects).

To prove this theaoy, run my demo application, and it will work fine with
the combobox.
if the signing was wrong, it is imppossible to work with teh demo and not
work with yours.

Sundar

--
Alexander L. Wykel
AW Software Works

"Alexander Wykel" wrote:
Here is my reply from my vender:

Hi Alex,

that is impossible, ... i have not seen that thread as yet, but the
conclusion you say is wrong.

if you take a look at my assembky's identity, i.e. fom teh treelistview
install package of combobox, it will be like so:
Binarymission.BinaryComboBox, Version=2.1.257.<build>, Culture=neutral,
PublicKeyToken=5cb4c20959280c09

If you look up the identiy of the dll that is in your retail version install
of combobox, it will be like so:

Binarymission.BinaryComboBox, Version=2.1.257.<build>, Culture=neutral,
PublicKeyToken=5cb4c20959280c09

They will match completely, including the public token.

Also, if the signing was not correct, the CLR / run-time would not even load
it in teh first place - and will fail and throw FileLoadException, since its
compted assembly hash won;t match with the decrypted has of the assembly from
the assembly's digest.

The only issue in your setup is that two differnet versions of the combobox
dlls are being used in the same solution (albeit across different projects).

To prove this theaoy, run my demo application, and it will work fine with
the combobox.
if the signing was wrong, it is imppossible to work with teh demo and not
work with yours.

--
Alexander L. Wykel
AW Software Works

"Cor Ligthert[MVP]" wrote:
Alexander,

This is a problem for the supplier of the product as he has not rigth signed
his product.

Cor

"Alexander Llew Wykel" <Al*************@AWSoftwareWorks.comschreef in
bericht news:AC**********************************@microsof t.com...
>I have a project where I load some of my assemblies dynamically, I'm using
>a venders product where he loads some assemblies dynamically. He loads two
>assemblies that both share a common name; however have different public
>keys and version numbers. I receive an error when I compile the my
>assembly (the dynamic one) it tells me to us the vendors other version of
>the product, Which is completely wrong since the items I need aren't even
>in that assembly. I have tried both methods of loading his assembly
>dynamically thru reflections, neither worked. One thing that did work
>around the problem is that I added his dynamically loaded assembly into the
>GAC, after I did this I was able to get past this error. Obviously this is
>a deployment problem for us since it's not our product and we don't want to
>go messing around with other peoples assemblies.
>
Jun 27 '08 #5
Alexander,

I assume that you have set a reference, then I would clear those references
and set it new.

Cor

"Alexander Wykel" <aw****@nospam.nospamschreef in bericht
news:D6**********************************@microsof t.com...
Ther Exact Error in Visual Studio is:

Target ResolveProjectReferences:
Target ResolveAssemblyReferences:
Consider app.config remapping of assembly
"Binarymission.BinaryComboBox,
Culture=neutral, PublicKeyToken=5cb4c20959280c09" from Version
"2.1.257.37476" [] to Version "2.1.2769.2131" [C:\Program
Files\Binarymission
Technologies Ltd\BinaryComboBox .NET Version 2.1 (for .NET
2.0)\Binarymission.BinaryComboBox.dll] to solve conflict and get rid of
warning.
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft. Common.targets :
warning MSB3247: Found conflicts between different versions of the same
dependent assembly.
Done building target "ResolveAssemblyReferences" in project
"AutoDeveloper.csproj".

--
Alexander L. Wykel
AW Software Works

"Alexander Llew Wykel" wrote:
>I have a project where I load some of my assemblies dynamically, I'm
using
a venders product where he loads some assemblies dynamically. He loads
two
assemblies that both share a common name; however have different public
keys
and version numbers. I receive an error when I compile the my assembly
(the
dynamic one) it tells me to us the vendors other version of the product,
Which is completely wrong since the items I need aren't even in that
assembly. I have tried both methods of loading his assembly dynamically
thru reflections, neither worked. One thing that did work around the
problem is that I added his dynamically loaded assembly into the GAC,
after
I did this I was able to get past this error. Obviously this is a
deployment problem for us since it's not our product and we don't want to
go
messing around with other peoples assemblies.
Jun 27 '08 #6
I tried everything beleive me.

This is the problem:

Target ResolveProjectReferences:
Target ResolveAssemblyReferences:

Consider app.config remapping of assembly "Binarymission.BinaryComboBox,
Culture=neutral, PublicKeyToken=5cb4c20959280c09" from Version
"2.1.257.37476" [] to Version "2.1.2769.2131" [C:\Program Files\Binarymission
Technologies Ltd\BinaryComboBox .NET Version 2.1 (for .NET
2.0)\Binarymission.BinaryComboBox.dll] to solve conflict and get rid of
warning.

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft. Common.targets :
warning MSB3247: Found conflicts between different versions of the same
dependent assembly.

--
Alexander L. Wykel
AW Software Works

"Cor Ligthert[MVP]" wrote:
Alexander,

I assume that you have set a reference, then I would clear those references
and set it new.

Cor

"Alexander Wykel" <aw****@nospam.nospamschreef in bericht
news:D6**********************************@microsof t.com...
Ther Exact Error in Visual Studio is:

Target ResolveProjectReferences:
Target ResolveAssemblyReferences:
Consider app.config remapping of assembly
"Binarymission.BinaryComboBox,
Culture=neutral, PublicKeyToken=5cb4c20959280c09" from Version
"2.1.257.37476" [] to Version "2.1.2769.2131" [C:\Program
Files\Binarymission
Technologies Ltd\BinaryComboBox .NET Version 2.1 (for .NET
2.0)\Binarymission.BinaryComboBox.dll] to solve conflict and get rid of
warning.
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft. Common.targets :
warning MSB3247: Found conflicts between different versions of the same
dependent assembly.
Done building target "ResolveAssemblyReferences" in project
"AutoDeveloper.csproj".

--
Alexander L. Wykel
AW Software Works

"Alexander Llew Wykel" wrote:
I have a project where I load some of my assemblies dynamically, I'm
using
a venders product where he loads some assemblies dynamically. He loads
two
assemblies that both share a common name; however have different public
keys
and version numbers. I receive an error when I compile the my assembly
(the
dynamic one) it tells me to us the vendors other version of the product,
Which is completely wrong since the items I need aren't even in that
assembly. I have tried both methods of loading his assembly dynamically
thru reflections, neither worked. One thing that did work around the
problem is that I added his dynamically loaded assembly into the GAC,
after
I did this I was able to get past this error. Obviously this is a
deployment problem for us since it's not our product and we don't want to
go
messing around with other peoples assemblies.
Jun 27 '08 #7
Alexander,

This is for sure not my hobby, but dit you try the GACUtil already.

http://msdn.microsoft.com/en-us/libr...2c(VS.80).aspx

Cor
"Alexander Wykel" <aw****@nospam.nospamschreef in bericht
news:4D**********************************@microsof t.com...
>I tried everything beleive me.

This is the problem:

Target ResolveProjectReferences:
Target ResolveAssemblyReferences:

Consider app.config remapping of assembly "Binarymission.BinaryComboBox,
Culture=neutral, PublicKeyToken=5cb4c20959280c09" from Version
"2.1.257.37476" [] to Version "2.1.2769.2131" [C:\Program
Files\Binarymission
Technologies Ltd\BinaryComboBox .NET Version 2.1 (for .NET
2.0)\Binarymission.BinaryComboBox.dll] to solve conflict and get rid of
warning.

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft. Common.targets :
warning MSB3247: Found conflicts between different versions of the same
dependent assembly.

--
Alexander L. Wykel
AW Software Works

"Cor Ligthert[MVP]" wrote:
>Alexander,

I assume that you have set a reference, then I would clear those
references
and set it new.

Cor

"Alexander Wykel" <aw****@nospam.nospamschreef in bericht
news:D6**********************************@microso ft.com...
Ther Exact Error in Visual Studio is:

Target ResolveProjectReferences:
Target ResolveAssemblyReferences:
Consider app.config remapping of assembly
"Binarymission.BinaryComboBox,
Culture=neutral, PublicKeyToken=5cb4c20959280c09" from Version
"2.1.257.37476" [] to Version "2.1.2769.2131" [C:\Program
Files\Binarymission
Technologies Ltd\BinaryComboBox .NET Version 2.1 (for .NET
2.0)\Binarymission.BinaryComboBox.dll] to solve conflict and get rid of
warning.
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft. Common.targets :
warning MSB3247: Found conflicts between different versions of the same
dependent assembly.
Done building target "ResolveAssemblyReferences" in project
"AutoDeveloper.csproj".

--
Alexander L. Wykel
AW Software Works

"Alexander Llew Wykel" wrote:

I have a project where I load some of my assemblies dynamically, I'm
using
a venders product where he loads some assemblies dynamically. He
loads
two
assemblies that both share a common name; however have different
public
keys
and version numbers. I receive an error when I compile the my
assembly
(the
dynamic one) it tells me to us the vendors other version of the
product,
Which is completely wrong since the items I need aren't even in that
assembly. I have tried both methods of loading his assembly
dynamically
thru reflections, neither worked. One thing that did work around the
problem is that I added his dynamically loaded assembly into the GAC,
after
I did this I was able to get past this error. Obviously this is a
deployment problem for us since it's not our product and we don't want
to
go
messing around with other peoples assemblies.
Jun 27 '08 #8
The GACUtility solved the problem but is not how the vendor's component
works, they dynamically load thier assemblies, There are two assemblies with
the same name. The vendor won't fix the problem.

--
Alexander L. Wykel
AW Software Works

"Cor Ligthert[MVP]" wrote:
Alexander,

This is for sure not my hobby, but dit you try the GACUtil already.

http://msdn.microsoft.com/en-us/libr...2c(VS.80).aspx

Cor
"Alexander Wykel" <aw****@nospam.nospamschreef in bericht
news:4D**********************************@microsof t.com...
I tried everything beleive me.

This is the problem:

Target ResolveProjectReferences:
Target ResolveAssemblyReferences:

Consider app.config remapping of assembly "Binarymission.BinaryComboBox,
Culture=neutral, PublicKeyToken=5cb4c20959280c09" from Version
"2.1.257.37476" [] to Version "2.1.2769.2131" [C:\Program
Files\Binarymission
Technologies Ltd\BinaryComboBox .NET Version 2.1 (for .NET
2.0)\Binarymission.BinaryComboBox.dll] to solve conflict and get rid of
warning.

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft. Common.targets :
warning MSB3247: Found conflicts between different versions of the same
dependent assembly.

--
Alexander L. Wykel
AW Software Works

"Cor Ligthert[MVP]" wrote:
Alexander,

I assume that you have set a reference, then I would clear those
references
and set it new.

Cor

"Alexander Wykel" <aw****@nospam.nospamschreef in bericht
news:D6**********************************@microsof t.com...
Ther Exact Error in Visual Studio is:

Target ResolveProjectReferences:
Target ResolveAssemblyReferences:
Consider app.config remapping of assembly
"Binarymission.BinaryComboBox,
Culture=neutral, PublicKeyToken=5cb4c20959280c09" from Version
"2.1.257.37476" [] to Version "2.1.2769.2131" [C:\Program
Files\Binarymission
Technologies Ltd\BinaryComboBox .NET Version 2.1 (for .NET
2.0)\Binarymission.BinaryComboBox.dll] to solve conflict and get rid of
warning.
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft. Common.targets :
warning MSB3247: Found conflicts between different versions of the same
dependent assembly.
Done building target "ResolveAssemblyReferences" in project
"AutoDeveloper.csproj".

--
Alexander L. Wykel
AW Software Works

"Alexander Llew Wykel" wrote:

I have a project where I load some of my assemblies dynamically, I'm
using
a venders product where he loads some assemblies dynamically. He
loads
two
assemblies that both share a common name; however have different
public
keys
and version numbers. I receive an error when I compile the my
assembly
(the
dynamic one) it tells me to us the vendors other version of the
product,
Which is completely wrong since the items I need aren't even in that
assembly. I have tried both methods of loading his assembly
dynamically
thru reflections, neither worked. One thing that did work around the
problem is that I added his dynamically loaded assembly into the GAC,
after
I did this I was able to get past this error. Obviously this is a
deployment problem for us since it's not our product and we don't want
to
go
messing around with other peoples assemblies.

Jun 27 '08 #9

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

Similar topics

3
by: Kunle Odutola | last post by:
I have a database that tracks players for children's sports clubs. I have included representative DDL for this database at the end of this post. A single instance of this database supports...
10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
3
by: WC Justice | last post by:
I need to build an UPDATE statement that copies the values of roughly 40 fields from a table that stores standard or default values into a table of specific contracts. There are 8 or so fields in...
8
by: Ares Lagae | last post by:
When adopting the coding style of the standard C++ library, you often run into naming problems because class names are lower case, and member functions do not have get/set prefixes. For example:...
3
by: Jerry Boone | last post by:
I have a development unit running XP Pro and I cannot get it to build a web project without restarting IIS. There errors in the task list are.... ! Could not copy temporary files to the output...
3
by: annoir | last post by:
I am trying to create a stored procedure using the DB2 Connect Development Center. I am able to create the project, connect to the remote database on the mainframe and create the stored procedure....
15
by: Charles Law | last post by:
In the build output appears ========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ========== However, the compiler does not generate any errors, and the Errors list is empty. This is an...
0
by: =?Utf-8?B?Y2FzaGRlc2ttYWM=?= | last post by:
Hi, I was working on a debug version of my site last night and everything was going smoothly. I added some comments in the code but when I tried to run it (it was running fine before I added...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...

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.