Creating and Using Multifile Assemblies
page 1 of 7
Published: 13 Oct 2003
Unedited - Community Contributed
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): 33616/ 60

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

User Comments

Title: very good article and explanantion   
Name: Jon
Date: 2005-08-12 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: 2005-07-06 7:08:13 AM
Comment:
good
Title: Good quick explanation of the al   
Name: Tom
Date: 2004-09-28 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.






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


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-25 4:26:04 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search