How do i create an assembly...

How do i create an assembly so that i can include it in code i.e.

What is required

Example:
using System;
using System.etc...;
using My.Own.Assembly;

I would like to keep my objects into an assembly (dll) and call them for usage...

help...



Answer this question

How do i create an assembly...

  • Wayne Sepega

    Hi,

    Assembly is created automaticaly for each project in your solution. "AssemblyInfo.cs" file.

    If you're asking about creating and using DLL files then James is correct...

    cheers.

  • hazz

    Assuming you are using Visual Studio:
    File/Add Project/New Project...

    From the dialog, select "Class Library". Put the code you want in that assemply into that library.

    In your app, add a reference to the new class library (A project refence would be easiest)



  • How do i create an assembly...