By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,838 Members | 2,222 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,838 IT Pros & Developers. It's quick & easy.

Build dll w/ Personal Edition?

P: n/a
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!
Nov 15 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"Chuck Conlow" <lv******@earthlink.net> wrote in message
news:iR*****************@newsread2.news.pas.earthl ink.net...
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
Chuck
In Fabulous Las Vegas!

Nov 15 '05 #2

P: n/a
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
"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in
message news:%2****************@TK2MSFTNGP10.phx.gbl...

"Chuck Conlow" <lv******@earthlink.net> wrote in message
news:iR*****************@newsread2.news.pas.earthl ink.net...
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

Chuck
In Fabulous Las Vegas!


Nov 15 '05 #3

P: n/a
It's an oversight. Read this thread:

http://groups.google.com/groups?hl=e...3DN%26tab%3Dwg

--
Eric Gunnerson

Visit the C# product team at http://www.csharp.net
Eric's blog is at http://weblogs.asp.net/ericgu/

This posting is provided "AS IS" with no warranties, and confers no rights.
"Chuck Conlow" <lv******@earthlink.net> wrote in message
news:iR*****************@newsread2.news.pas.earthl ink.net...
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!

Nov 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.