"Patrick Steele [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In article <#(E-Mail Removed)>, (E-Mail Removed)
> says...
> > Basically, my real question is "Can an assembly house code from multiple
> > languages or must each assembly contain code from only one language?" I
> > would like to create a single assembly that has code from a C# project
and
> > also from a VB project. Impossible?
>
> Pretty much. You can mix "modules" from different languages into an
> assembly -- but you won't have one physical assembly. You'll have an
> assembly file that defines an manifest only, and then each compiled
> module file. "Module" is a target type available to the command line
> compilers -- I'm not sure if you can create modules from VS.NET.
You can build a module in a C++ project because you are allowed to specify
the command line. Unfortunately, other languages hide the command line, and
only offer a subset through the property pages, they don't offer
/target:module as an option. If you want to have a project with multiple
modules they you can create a Makefile project, but of course that means
that you must deal with makefiles (and that really defeats the idea of
having a project!)
Richard
--
My email address
(E-Mail Removed) is encrypted with ROT13 (see
www.rot13.com)