.DLL compiled with .NET 1.1 to be used in Web app done in .NET 2.0

Last post 04-04-2006 8:48 AM by adonis. 3 replies.

Sort Posts:

  • .DLL compiled with .NET 1.1 to be used in Web app done in .NET 2.0

    03-27-2006, 7:13 AM
    • Participant
      915 point Participant
    • Tryst
    • Member since 08-15-2004, 10:31 AM
    • Wales
    • Posts 358
    Hi all,

    If I have a bunch of business objects that where compiled in .NET version 1.1, would it be possible for my ASP.NET (done in .NET 2.0) application to pick up these objects (.dll file) and start to use them?

    (Would be great if some-one could provide some form of documentation on this)

    Thanks

    Tryst
  • Re: .DLL compiled with .NET 1.1 to be used in Web app done in .NET 2.0

    03-28-2006, 1:02 AM
    • Star
      14,393 point Star
    • ScottGu
    • Member since 06-05-2002, 8:36 PM
    • Redmond, WA
    • Posts 2,004
    • AspNetTeam
      Moderator

    Hi Tryst,

    This should work fine.  In general, you can use V1.1 assemblies with V2.0 applications.  The reverse, though, is not true.

    Hope this helps,

    Scott

  • Re: .DLL compiled with .NET 1.1 to be used in Web app done in .NET 2.0

    03-28-2006, 3:01 AM
    • Participant
      915 point Participant
    • Tryst
    • Member since 08-15-2004, 10:31 AM
    • Wales
    • Posts 358
    ok, cool.

    Thanks

    Tryst
  • Re: .DLL compiled with .NET 1.1 to be used in Web app done in .NET 2.0

    04-04-2006, 8:48 AM
    • Member
      260 point Member
    • adonis
    • Member since 08-07-2005, 2:00 AM
    • CA
    • Posts 52

    Comparative study on VS .Net 2003 and VS.Net 2005

    .Net Framework versions used are ver 1.1.4322.0 and ver 2.0.50215.0 respectively.
     

    Can be used in VS.Net 2003

    Can be used in VS.Net 2005

    Remarks

    Assemblies created     using VS.Net 2003

    Yes

    Yes

    Without any efforts

    Assemblies created using VS.Net 2005

    Directly cannot be used. (needs some work around to be done)

    Yes

    To target it to VS.Net 2003 we need to use MSBuild tool and some target files.

        As i cant attach the tool here & If u want to get the MSBuild tool & the procedure mail me at killer.adonis@gmail.com
     


    Regards

    Adonis
Page 1 of 1 (4 items)