My manifest loading a reference twice

C

commanderjason

im getting the ol' Could not load file or assembly
'ComponentArt.Charting.WebChart, Version=2007.1.1052.2,
Culture=neutral, PublicKeyToken=9bc9f846553156bb' or one of its
dependencies. The located assembly's manifest definition does not
match the assembly reference.

as you can see the .net framework wants to use version 2007.1.1052.2
of my 3rd party dll.

I recently upgraded the 3rd party dll and expect .net to try and use
2007.1.1126.2

I have tried everything, removing / readding the reference, checking
the gacutil (which does not list this assembly)
even unloading iis and anything that is running the project before
removing/readding this reference.

Upon viewing my manifest for the project i see that this reference is
being loaded twice

..assembly extern ComponentArt.Charting.WebChart
{
.publickeytoken = (9B C9 F8 46 55 31 56
BB ) // ...FU1V.
.ver 2007:1:1126:2
}

this looks good, i see the version i want in the manifest, scroll a
bit further and i find this

..assembly extern ComponentArt.Charting.WebChart as
ComponentArt.Charting.WebChart_19
{
.publickeytoken = (9B C9 F8 46 55 31 56
BB ) // ...FU1V.
.ver 2007:1:1052:2
}

why is this in there? it is the wrong version, with the same
publickeytoken and some kind or renamed reference to WebChart_19

Im guessing this is my problem, but this 4 lines of text seems
impossible to get rid of...

Any ideas would be very helpful

thanks
 
C

commanderjason

i fixed my issue, it turns out there were other projects in the same
solution still referencing the old version, why other projects where
treading on this one is anyones guess
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top