Re: HELP - how to reference 2 different versions of the SAME DLL in a VS.NET 2005 Windows App project??

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



On Jul 14, 9:39 pm, mark_vogt <mark_v...@xxxxxxxxxxx> wrote:
Greetings all,

Here's an interesting problem that (oddly) has never happened to me
before:
======================================================
A. I just purchased 2 different controls from the same 3rd party
developer.

B. Each of the controls requires adding a reference to a base class
DLL called
KineticaRT.Controls.DLL.

C. Control #1 appears to demand only version 1.2.0.0 of this base
DLL;

D. Control #2 appear to demand only version 1.00.2848.5685 of this
base DLL;

E. When I add (in VS.NET2005) a reference to v1.2.0.0 of the DLL, I
get no problems for Control #1, but Control #2 still demands I "add a
reference" for v1.00.2848.5685

{here's the challenge...}

F. When I add a reference to v1.00.2848.5685 of the DLL, I get the
error message that "An assembly with that name has already been added
to your project".

:-|

Can anyone provide with any insights on how I can reference BOTH these
versions of the SAME DLL in my project, in so doing make BOTH the
controls function, and get my project to build?

TIA,
- Mark

Can you rename the dll before adding it to your project, making a
MyDll1.dll and MyDll2.dll? Then when you do the import you can specify
an alias for the namespace inorder to seperate the two versions.

Also, have you contacted the vendor on this? Most vendors have some
sort of support system.

Thanks,

Seth Rowe

.



Relevant Pages

  • Re: Remote Desktop and Terminal Services
    ... Have looked inside both the DLL and ActiveX but nothing jumped (function ... remote desktop, terminal services, or net meeting)? ... Both programs maintain a link to independent vendor servers... ... to dll or control or for that matter even Windows vs non-Windows. ...
    (microsoft.public.security)
  • Re: Ajax Control Toolkit Install for VS2008
    ... Did you use "add reference" to add the ajaxcontroltoolkit dll? ... Then the lastest version of ajaxcontroltoolkit is 3.0.0512, ... Ajax Control Toolkit Install for VS2008 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: an issue using ExpandableObjectConverter
    ... Otherwise it uses just one copy from the reference path of the project ... > In this situation you probably have two copies of your dll loaded. ... >> argument that is supposed to be of my own Style class. ... >> is used as the type of several properties in my custom control. ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)
  • Re: confused with .net
    ... Referencing a dll in the project just means that the project references it for compiling and deploying, it doesn't automatically add it to the toolbox. ... All you need to do now is to add a reference to the toolbox. ... I haven't used the VWD express version, but in the full version you simply open a page, go to the toolbox, rightclick on an area that you want to add controls to, select choose items, then browse to the dll for the control. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Remote Desktop and Terminal Services
    ... go to the directory where his DLL was located in order to verify the DLL ... To me this is TOTAL control!! ... on Win9x at least AFAIK. ... Both programs maintain a link to independent vendor servers... ...
    (microsoft.public.security)