My manifest loading a reference twice

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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

.



Relevant Pages

  • Re: Some interop Questions - C# to unmanaged DLL
    ... I am having trouble trying to get the manifest part correct. ... The unmanaged DLL is a non MFC dynamic linked library ... Is there any way to access a static function in a class via the ... | The compiler does not like the class reference ... ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Clickonce file association
    ... In fact I a reference to it at ... deployment manifest. ... In the VS2008 Command Prompt, type the following command to re-sign the ...
    (microsoft.public.dotnet.general)
  • Re: Manifest/CRT version problems
    ... If I turn off auto-gen of the manifest, remove the .363 reference, and then manually add it to my project everything works just fine. ... I've rebuilt the entire executable clean after reinstalling VS2005. ...
    (microsoft.public.vc.language)
  • Re: Some interop Questions - C# to unmanaged DLL
    ... You don't have to set a reference to the manifest file, ... is set "Embed Manifest " to true in your project settings(see Manifest ... | The unmanaged DLL is a non MFC dynamic linked library ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ASCII code
    ... Did you know that the compiler inserts the ... >> reference even if you remove it? ... .assembly extern Microsoft.VisualBasic ...
    (microsoft.public.dotnet.languages.vb)