Click here to Skip to main content
12,634,982 members (30,484 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
How can i convert my Class library file to dll file in c#.
Posted 6-Jan-13 18:33pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

A class library IS a dll file. Did you look in the output directory ? There's a dll there.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

There is no "convert". Especially if you already have "class library".

And, in .NET, there is no essential difference between "DLL" and "EXE". It's just a name pattern and nothing else. "EXE" files have an entry point, but you can use them in exact same way as "DLL". Essentially, this is also a class library, a bit specializes.

The central object of .NET is "Assembly", not "EXE" or "DLL".

With Visual Studio, you can create a class library if you choose the application option "Class Library", in the very first tab, "Application" of your project properties. And you can change this option any time. By default, the main (and the only one, with Visual Studio) executable module of your assembly will be named *.DLL, but you can name it in any other way, it just does not matter.

This is all you need.

—SA
  Permalink  
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

when you build you application then at time DLL created
just check your application's BIN Folder, there is DLL.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161208.2 | Last Updated 7 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100