Creating and Using Multifile Assemblies
page 1 of 7
Published: 13 Oct 2003
Abstract
You've heard about them, but have you used them? This article will tell you how and when to use multifile assemblies.
by J. Ambrose Little
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 27375/ 194

Introduction

Originally Published: 5 July 2003

One of the lesser-talked-about features of .NET is what is commonly referred to as a "multifile assembly."  They are often mentioned briefly in passing in articles and books, but few rarely actually demonstrate how to create them and even fewer discuss using them.  In this article, we will do both.  First, we'll examine some reasons that you might want to use multifile assemblies.  Then, we'll cover a few of the options available in creating them, and finally, we'll take a look at how you use them and some of the considerations to keep in mind when deciding whether or not to use them.

In order to demonstrate the concepts involved, I have created a Visual Studio.NET 2003 solution with three projects--VBLibrary, CSLibrary, and Tester.  These are, respectively, a small VB.NET class library project containing one .vb file that has one class with one shared method, a small C# class library project containing an AssemblyInfo.cs file, which has assembly metadata attributes, and another .cs file that has a sample cryptography class, and lastly, a small C# console application that is used to demonstrate usage of the multifile assembly produced from the first two projects. 

 


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 4 and 8 and type the answer here:

User Comments

Title: sehr gut   
Name: Me
Date: 10/11/2005 7:45:42 AM
Comment:
Kurze aber gute Einführung, da einmal mehr die Schulungsunterlagen nicht so ganz korrekt waren.
Title: very good article and explanantion   
Name: Jon
Date: 8/12/2005 12:18:56 AM
Comment:
I don't use Visual Studio for .net development, so this is excellent information for my work.

Thanks
Title: fd   
Name: sp
Date: 7/6/2005 7:08:13 AM
Comment:
good
Title: Good quick explanation of the al   
Name: Tom
Date: 9/28/2004 1:06:37 PM
Comment:
I was looking for a quick explanation of the assembly linker and I found this through a search on the web. It was concise and well written. Thanks.

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 12/4/2008 3:51:15 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search