Sorry if wrong category. How do I create a custom assembly?  
Author Message
Denvas





PostPosted: .NET Base Class Library, Sorry if wrong category. How do I create a custom assembly? Top

Hi all,

I'm not sure if this is the right category.

I'm using VB.Net 2.0.

I don't know how hard this is, but I'd like to create my own assembly like the System.Windows.Forms.etc. I'm creating a custom control, but I also want to create object types. For example, I'd like to do the following:

MyApp.MyCtl
MyApp.MyFormats.Add(MyFormat)

Does NET just create namespaces within namespaces to achieve their heirarchy, or is there something more

Thanks,
Dennis




.NET Development7  
 
 
Sean Hederman





PostPosted: .NET Base Class Library, Sorry if wrong category. How do I create a custom assembly? Top

Pretty much any Visual Basic project creates an assembly. If you're creating controls and objects, then simply choosing Windows Control Library will be sufficient. An assembly contains types which are organised in namespaces, but many assemblies can contain the same namespaces, although not the same types. The creation of classes is fundamental to .NET, any code you write is inside an object type.



 
 
Denvas





PostPosted: .NET Base Class Library, Sorry if wrong category. How do I create a custom assembly? Top

Thanks for the explanation. I figured I was making it more complicated than necessary.

- Denvas