Multifile Assembly with Compiled DLL?

X

xenophon

I have created a C# DLL with Visual Studio 2003. I now need to include
functionality from a compiled VB.NET DLL, but instead of including the
file I want to "build it" into my DLL so I only have to deploy a
single file.

I understand that I cannot use the IDE to make multifile assemblies.

How can I proceed?

Thanks.
 
F

Frans Bouma [C# MVP]

xenophon said:
I have created a C# DLL with Visual Studio 2003. I now need to include
functionality from a compiled VB.NET DLL, but instead of including the
file I want to "build it" into my DLL so I only have to deploy a
single file.

I understand that I cannot use the IDE to make multifile assemblies.

The command line compilers can combine 'modules' into a single
assembly. You first have to compile the code as a module on the command
line, then combine these modules as one assembly.

FB

--
 
X

xenophon

But what if the DLL is an already-compiled Release build and the
source is not available? What if it is an already-compiled Debug
release with an accompanying PDB?
 
P

Peter Huang [MSFT]

Hi

You may try to take a look at the link below to see if that is you want.
Building a Multifile Assembly
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconbuildingmulti-fileassembly.asp

Multifile Assembly Example
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconmultifileassemblyexample.asp

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top