how - create dll file in c#




use class (3)

How can I create a dll file in C#?


Answers

Assuming you are using Visual Studio as your IDE:

  1. Create a new Class Library Project (File => New Project => Class Library)
  2. Right click new project, select "Build"

DLL file will be found in a sub-folder of the new project (likely \bin\Debug)


File menu -> New Project -> choose your Programing language (Visual C#/VB etc.) -> Windows -> Class Library.

After the project has been created, make use of Build menu -> Build Solution (or Build [Project Name]) to compile the project.

You may find out the dll in the folder: project folder\bin\debug(or release)


If you are happy with the xlsx format, try my codeplex GitHub project. EPPlus. Started it with the source from ExcelPackage, but today it's a total rewrite. Supports ranges, cell styling, charts, shapes, pictures, namesranges, autofilter and a lot of other stuff.





c# dll