In short that may be the answer you are looking for. However, the longer
answer is that multifile assemblies don't really solve the common problem,
and that is shipping a single physical file that contains VB and C# code.
Using a multifile assembly you'll end up with a C# module file, a VB module
file, and an assembly that references both of these. All three files are
required to run the program. If you managed to instead create a VB library
assembly and simply reference that in your C# application, you'd only have
to ship two files.
There are obviously reasons for multifile assemblies, but until they make it
possible to merge all of the information into a single physical assembly, it
probably won't be much help.
--
Justin Rogers
DigiTec Web Consultants, LLC.
"Benny Mathew" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> Check out this article on Building a Multifile Assembly.
>
http://msdn.microsoft.com/library/de...leassembly.asp
>
> Regards
> Benny
>
> Nathan wrote:
>
> > I am working with a fellow developer on a small project. I started in
> > VB6, but after her C# training we decided to build the application in
> > .NET. Rather than rewrite the VB6 code, I continued in VB6 then
> > converted it to VB.NET using the upgrade wizard, while she started in
> > C#. The VB.NET project has one windows (UI) form an some intensive
> > background processing (a report engine) and the C# code has the rest
> > of the UI which updates an Access Database.
> >
> > The problem is we thought we could put both projects into VS.NET at
> > the same time and build a single EXE - but we can't get it working!
> > The C# project will not pick up the VB.NET form, so when we try and
> > compile it says it doesn't know what the form is defined as - we have
> > tried adding a reference and a dependancy, but neither has worked. Is
> > it possible to build a single Windows EXE using both C# and VB.NET
> > code? If so, what would the C# code look like that opens the VB.NET
> > form, and what do we have to do to the C# project to get it to see the
> > objects defined in the VB.NET form??
> >
> > If it's not possible, and we have to compile the VB.NET code into a
> > DLL, will the C# code still be able to open the form from the VB.NET
> > dll, or will we have to move the windows form into the C# project and
> > just leave the processing code (no UI) in the VB.NET dll??
> >
> > Any help would be appreciated!
>