MultiFile Assembly

B

BuddyHome

Hello,

I want to build the following code into one multifile
assembly.

MyApp.exe
MyAppDll1.dll
MyAppDl12.dll

I want to create a new MyApp2.exe which has MyAppDll1.dll
and MyAppDll2.dll and MyApp.exe within it.

How do I do this with multifile assembly?
 
Y

Ying-Shen Yu[MSFT]

Hi,

To make a multifile assembly, you need first compile your code into Module
instead of assembly, then create the multi-file assembly using Al.exe. Note
to meet the reference dependency, you need first compile the
Namespace/Types referenced by other modules, then compile the modules with
references to other modules with /addmodule compiler option. There is an
example for how to create a multi-file assembly in .NET Framework document:
<Multifile Assembly Example>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconmultifileassemblyexample.asp

Please reply this thread, if you have anything unclear on this issue.
Thanks!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft community Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, please remove the word "online"
before sending mail.
 

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