class library
A project that compiles to a .dll of reusable types with no entry point, referenced by applications and other libraries.
In more detail
Its output type is Library, so it cannot be run on its own. A solution typically holds one or more applications plus class libraries for shared code such as contracts and application services.
Related terms
- solution — A file (.sln or the newer .slnx) that groups related .NET projects, such as an API, its libraries and its tests, so they can be opened and built together.
- OutputType — The project property that says whether the build produces a runnable program (Exe) or a library (Library) for other projects to reference.
- assembly — The compiled unit of a .NET program: a file (usually a .dll) containing intermediate language plus metadata describing every type inside it.
Taught in
- Solutions, Projects, and Target Frameworks — Modern .NET Core, C# & Enterprise Microservices