LoginSignup
0
1

More than 5 years have passed since last update.

How to build c# class library into dll format

Posted at

In visual studio we can create c# class library and reference it in an external project very easy. It can be exported as a Shared Project which I already described here or as a dll file.

So to build the class library project into dll, first of all we have to change the output type to Class Library.
Right Click on the project directory and choose Properties
qitta.png
From the Output Type selection, choose Class Library
qitta.png
We can choose to build either for x64 or x86. It's depend on the target we want to build for. So now I'm building for x64 target
qitta.png
Seem like the configuration is set up, now we can proceed with the build.
Right Click on the project directory and choose Build
qitta.png
Wait until the build process is completed and then we can get the dll class library from this following directory:
/ProjectFolder/bin/x64/Debug/

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1