473,770 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Build dll w/ Personal Edition?

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
3 1543

"Chuck Conlow" <lv******@earth link.net> wrote in message
news:iR******** *********@newsr ead2.news.pas.e arthlink.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
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******** ********@TK2MSF TNGP10.phx.gbl. ..

"Chuck Conlow" <lv******@earth link.net> wrote in message
news:iR******** *********@newsr ead2.news.pas.e arthlink.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
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******@earth link.net> wrote in message
news:iR******** *********@newsr ead2.news.pas.e arthlink.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
15228
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000 Personal disk from the SQL Server 2000 Enterprise kit as this is reported here on the MSDN web site to be the version that is supported on Windows XP. In fact so many of you kind people confess to having succeeded in doing it. I have tried...
0
2651
by: Bill S. | last post by:
We have a Sql Server 2000 Personal Edition CD that came with a system we bought with SQL Server Standard Edition and other application software. The CD sleeve does not have a CD key on the back. I suspect that someone put the CD in the wrong sleeve, but I am not sure. Does the Personal Edition CD usually come in a sleeve with the CD key on it?
1
1279
by: iconsa | last post by:
Hello, Could i start work with personal edition then move all data to enterprise edition ? i've to design and code on workgroup environment then implement to windows server 2003. Do i just cut & paste data ? TIA Pong
2
2252
by: Aquila Deus | last post by:
Hi all! I just read DB2 UDE's license and found that it only restricts the use of Personal Developer Edition but not the Personal Edition. Does this mean I can use it for *any* purpose?
5
7824
by: azgoddess1 | last post by:
During the installation I get these error messages: ***** SQL1390C The environment variable DB2Instance is not defined or is invalid An error ocured while loading the command "C:\Program Files\IBM\SQLLIB\bin\db2.exe CREATE TOOLS CATALOG SYSTOOLS USE EXISITING DATABASE DWCTRLDB FORCE" to initialize and\or migrate the DB2 tools catalog database. The return value is "5104".
0
1435
by: db2expert | last post by:
I am running Windows NT and Installing DB2 Connect Personal Edition Version 8.1 for Windows OS on 32 Bit Systems. Receiving the following error message: In order to install the Product "DB2 Connect Personal Edition", the user running the installation must have at a minimum the authority of a member of the user group "Users". I am able to regedit and have verified that I have verified that I have
3
1364
by: gregory_may | last post by:
Is it possible to Obfuscate the Release build of my application as part of the compile/automatically? Thanks!
11
3315
by: Brad | last post by:
To DB2 Personal Developer Edition GIS users: How do I acquire a spatial extender license key for the DB2 PDE? I expected to be able to use it right out of the box. Brad
2
4452
by: sohail28 | last post by:
Hello, I want to Buy "SQL Server 2000 Personal Edition", from online or reseller etc., I fed up of searching for SQL Server 2000 Personal Edition, in online & in Software Market. Any one can help me from where can i get this Software package. Any URL or Company name who sells this Software. I want a original one with License No. And one more Query: Are Standard, Enterprise, Developer, Personal Edition are one & the same,
0
9617
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10257
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10037
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8931
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.