Well, that's not really recommended, because then you'll have references to
both the v1.0 and v1.1 versions of system.dll. If you then run your app on
the v1.0 CLR, you'll get both versions of system.dll loaded, and their types
will not be castable to each other.
I would recommend building/running your app against v1.1, since your
dependency requires it.
Suzanne Cook
My .NET CLR Loader blog:
http://blogs.gotdotnet.com/suzcook/
--
Please do not respond directly to this alias. This alias is for newsgroup
purposes only. This posting is provided "AS IS" with no warranties, and
confers no rights.
"Ravikanth[MVP]" <dvravikanth@hotmail.com> wrote in message
news:068501c358d9$2c95d3f0$a401280a@phx.gbl...[color=blue]
> Hi
>
> does your 1.1 dll using any other dlls. If so copy those
> dll also to 1.0 folder.
>
> -Ravikanth[MVP]
>
>[color=green]
> >-----Original Message-----
> >hey all,
> >i have a .dll file created using .NET 1.1
> >in my windows forms application at .NET 1.0, i'm trying[/color]
> to use it.[color=green]
> >i'm able to add it as a reference and getting[/color]
> intellisense help also.[color=green]
> >when i try to create an object of any class declared in[/color]
> this .dll, i[color=green]
> >got an exception :-
> >System.IO.FileNotFoundException: File or assembly name[/color]
> System, or one[color=green]
> >of its dependencies, was not found.
> >File name: "System"
> >
> >the error comes only at runtime when i try to create an[/color]
> object...?[color=green]
> >
> >is this because .NET 1.1 is not backward compatible..?
> >
> >TIA
> >
> >"Vini"
> >.
> >[/color][/color]