1
I made a program in C# in Visual Studio 2017, but by default, when I compile the code, it creates a file .exe
, but I would like the code to compile a file .dll
. How can I do that?
Example:
I created a program called ccleaner
.
When I squeeze CTRL + SHIFT + B
(command to compile the project), it creates an executable in the following directory:
C:\Visual Studio 2017\Projects\ccleaner\ccleaner\bin\Debug\ccleaner.exe
But what I want to create is:
C:\Visual Studio 2017\Projects\ccleaner\ccleaner\bin\Debug\ccleaner.dll
Ta, what about it? What do I do next? I already came compiling as dll by default?
– Francisco
updated, if the output type is class library, yes, it will be compiled as dll
– Rovann Linhalis