-
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?
-
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?
>
>
-
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?
> >
> >
>
>
-
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.
>
>
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks