Creating a .dll file in C#.Net

.net, c#, dll, file

Solution

You need to make a class library and not a Console Application. The console application is translated into an `.exe` whereas the class library will then be compiled into a `dll` which you can reference in your windows project.

- Right click on your Console Application -> Properties -> Change the Output type to Class Library

Problem

I had created a project which is C# console application project for which I need to call this project dll in another windows application project. I had built the project in visual studio 2010 and checked for `.dll` file in bin\debug folder, but it is not created. But a manifest file and `.exe` file havebeen created. Please help me out how to create the `.dll` in this case?

Original source

Related problems