Re: Forcing a DLL to use a particular .NET version

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



As far as I know, all libraries will run under the same version of the
framework as the application that is calling them.


"mz" <mzeiger@xxxxxxxxxxxxx> wrote in message
news:cw%Wf.86$Yu5.41@xxxxxxxxxxx
I have .NET frameworks 1.1 and 2.0 on the same server. I am going to create
a class which I will compile as a separate DLL to be used by a number of
different applications. I want the DLL to use the 2.0 framework even if
it's being called by a program running under the 1.1 framework. How can I
force the DLL to use the 2.0 Framework.

Thanks,

Mark Zeiger




.



Relevant Pages

  • Re: VS deploys not usefuyl dll! How to get rid?
    ... Make sure you don't have entries here pointing to the desktop framework, ... I added some libraries projects (dll) to the solution that were ... Now I have not any referencies to "non compact framework" libraries, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Framework version issues
    ... Then as you compiled the dll, ... was compiled with the v1.1 of the Framework. ... would be the case with compiling with either 2002 or 2003 versions of VS.NET ... If you don't have a test server, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: VS wont allow sharing CF and desktop projects with each others solutions
    ... You can add a reference to a Compact Framework compiled dll to a desktop ... > project which I specified would target the CF, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Code protection
    ... Did you try to obfuscate it first? ... I would suggest you to use the tools accesible to the framework. ... solution you encrypt the dll, meaning that the file in the HDD is not longer ... a DLL, it's a data file. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: C# assembly in .NET Delphi Projects
    ... the dcpil file is only required for Delphi ... the framework. ... For a C# assembly Delphi ... rebuilds it from the dll. ...
    (borland.public.delphi.non-technical)