Is there a way to generate a DLL file from Visual Studio Express without explicitly creating a DLL project?

Is there a way to generate a DLL file from Visual Studio Express without explicitly creating a DLL project?

EDIT: Maybe my thinking process led me astray, but I was trying to configure NUnit and thought I needed a DLL to run it ... Please correct me if I am wrong.

+2
source share
2 answers

Yes, you can change the type of properties Project | Application | Output to a Windows application, a console application, or a class library, so choosing Class Library will output the DLL.

I'm trying to figure out why you want to do this though?

+2
source

How do you understand that? What exactly are you after?

You can create an exe project and change the type of output (project properties) ... or you can use csc /target:library on the command line ...

+1
source

Source: https://habr.com/ru/post/1396790/


All Articles