Build dll w/ Personal Edition?

  • Thread starter Thread starter Chuck Conlow
  • Start date Start date
C

Chuck Conlow

Greetings.

I'm using the Personal (I think that's what it's called) edition of VS C#
and I want to build a .dll, which is not an option presented in the IDE.

I *think* I can build one from the command line, but am unsure of the
syntax. Any pointers? Assume only one .cs file (library.cs).

Thanks for any help!

Chuck
In Fabulous Las Vegas!
 
Chuck Conlow said:
Greetings.

I'm using the Personal (I think that's what it's called) edition of VS C#
and I want to build a .dll, which is not an option presented in the IDE.

I *think* I can build one from the command line, but am unsure of the
syntax. Any pointers? Assume only one .cs file (library.cs).

Thanks for any help!
assuming you don't need extra references
csc /target:Library library.cs

if you do, its
csc /target:Library /r:<dllName> library.cs

use csc /? to read up on the various switches
 
As easier way is to open the .csproj file in Notepad and change the compile
target to "Library" instead of "winExe".
VS will show the compile target to be blank in the IDE, but it will compile
to a DLL.

- Pete
 
Back
Top