Compiling to single DLL


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Compiling to single DLL

  1. #1
    Ed Courtenay Guest

    Compiling to single DLL

    OK, let's say I have two classes one written in VB.NET and the other in C#
    (we'll call 'em vbClass and csClass); they both exist in the same namespace
    and the vbClass inherits csClass.

    How can I package the two together into one distributable DLL?



  2. #2
    Jonathan Allen Guest

    Re: Compiling to single DLL

    You can't. The best you can hope for is to put them in the same assembly.

    --
    Jonathan Allen


    "Ed Courtenay" <ed.courtenay@issolutions.co.uk> wrote in message
    news:3a82cf91@news.devx.com...
    > OK, let's say I have two classes one written in VB.NET and the other in C#
    > (we'll call 'em vbClass and csClass); they both exist in the same

    namespace
    > and the vbClass inherits csClass.
    >
    > How can I package the two together into one distributable DLL?
    >
    >




  3. #3
    Bill McCarthy Guest

    Re: Compiling to single DLL

    Actually you can, just the IDE currently doesn't support it. The trick is
    too use ILDASM to disassemble each dll, the use ILASM to rebuild the IL into
    one dll.


    "Jonathan Allen" <greywolfcs@bigfoot.com> wrote in message
    news:3a830d4d@news.devx.com...
    > You can't. The best you can hope for is to put them in the same assembly.
    >
    > --
    > Jonathan Allen
    >
    >
    > "Ed Courtenay" <ed.courtenay@issolutions.co.uk> wrote in message
    > news:3a82cf91@news.devx.com...
    > > OK, let's say I have two classes one written in VB.NET and the other in

    C#
    > > (we'll call 'em vbClass and csClass); they both exist in the same

    > namespace
    > > and the vbClass inherits csClass.
    > >
    > > How can I package the two together into one distributable DLL?
    > >
    > >

    >
    >




  4. #4
    Jonathan Allen Guest

    Re: Compiling to single DLL

    Show-off

    --
    Jonathan Allen




    "Bill McCarthy" <Bill_McC@iprimus.com.au> wrote in message
    news:3a834cf7@news.devx.com...
    > Actually you can, just the IDE currently doesn't support it. The trick is
    > too use ILDASM to disassemble each dll, the use ILASM to rebuild the IL

    into
    > one dll.
    >
    >






  5. #5
    Ed Courtenay Guest

    Re: Compiling to single DLL

    Very cool! (And it works... Methinks a utility to handle this process may
    have to be started....


    "Bill McCarthy" <Bill_McC@iprimus.com.au> wrote in message
    news:3a834cf7@news.devx.com...
    > Actually you can, just the IDE currently doesn't support it. The trick is
    > too use ILDASM to disassemble each dll, the use ILASM to rebuild the IL

    into
    > one dll.
    >
    >
    > "Jonathan Allen" <greywolfcs@bigfoot.com> wrote in message
    > news:3a830d4d@news.devx.com...
    > > You can't. The best you can hope for is to put them in the same

    assembly.
    > >
    > > --
    > > Jonathan Allen
    > >
    > >
    > > "Ed Courtenay" <ed.courtenay@issolutions.co.uk> wrote in message
    > > news:3a82cf91@news.devx.com...
    > > > OK, let's say I have two classes one written in VB.NET and the other

    in
    > C#
    > > > (we'll call 'em vbClass and csClass); they both exist in the same

    > > namespace
    > > > and the vbClass inherits csClass.
    > > >
    > > > How can I package the two together into one distributable DLL?
    > > >
    > > >

    > >
    > >

    >
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center