Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

Multifile Assembly with Compiled DLL?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
xenophon - 16 Jun 2005 15:01 GMT
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.
Frans Bouma [C# MVP] - 16 Jun 2005 19:35 GMT
> 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

Signature

------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------

xenophon - 02 Aug 2005 18:36 GMT
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?

>> 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
[quoted text clipped - 8 lines]
>
>        FB
"Peter Huang" [MSFT] - 03 Aug 2005 11:16 GMT
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

Signature

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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.