Mixing dotnet 2.0 and dotnet 1.1 assemblies..



Hello,

I have a ASP.NET application which consists of multiple assemblies. One
assembly contains some base classes say MyTypes.dll. Other assemblies
have classes which inherit from these base classes. MyTypes.dll is
installed in GAC. This application was running fine on ASP.NET 1.1
framework.

Now, I want to move my application to ASP.NET 2.0. However, due to
release schedules, I don't want to port all the assemblies to 2.0 right
away and instead have an incremental approach. I want to first move
MyTypes.dll to ASP.NET 2.0 and then move rest of the assemblies to
ASP.NET 2.0 over the period of time.

When, I attempt this, I get type load failure errors on accessing my
application. Is there any way by which I can instruct ASP.NET 1.1 pages
to use the MyTypes.dll compiled with ASP.NET 2.0?

The virtual directories for my application are configured with ASP.NET
2.0. However the code behind is compiled using ASP.NET 1.1 and is
trying to use types from MyTypes.dll which is compiled with ASP.NET
2.0.

Any help will be appreciated.

Thanks.
-Prasad

.



Relevant Pages

  • Re: using clause with a "variable" assembly
    ... use the specific namespace declared in your assembly. ... > We have numerous auto-generated assemblies that represent specific ... > base classes with common implementations. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: using clause with a "variable" assembly
    ... different generations of my base classes but have the *same* namespace, ... could I actually use X and Y assemblies simultaneously within my program? ... >> base classes with common implementations. ...
    (microsoft.public.dotnet.languages.csharp)
  • using clause with a "variable" assembly
    ... We have numerous auto-generated assemblies that represent specific database ... but each assembly uses commonly-named base classes ... with common implementations. ... a specific "using" directive to nominate a particular namespace in order to ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Tool to find un-used methods from assemblies
    ... William Stacey [MVP] ... | are not called in any of my assemblies. ... | which are marked as virtual in base classes then I want to remove the ... | virtual keyword from the method signature in the base class. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Tool to find un-used methods from assemblies
    ... For example, if you had a Dog object, and you didn't call it's Bark ... are not called in any of my assemblies. ... which are marked as virtual in base classes then I want to remove the ... virtual keyword from the method signature in the base class. ...
    (microsoft.public.dotnet.languages.csharp)

Loading