.NET

Reply
Active Contributor
Posts: 29
Registered: ‎11-23-2009
Message 1 of 16 (597 Views)

C# How make a dll

597 Views, 15 Replies
04-11-2012 06:55 AM

Hi!

 

I wondering to get dll from cs: Can somebody tell me how compile a C#-code in a dll-file. I know for using Visual Studio 2010 goes automatically. But is there another way?

 

Sorry I´m absolut beginners in c#

*Expert Elite*
Alfred.NESWADBA
Posts: 8,562
Registered: ‎06-29-2007
Message 2 of 16 (586 Views)

Re: C# How make a dll

04-11-2012 08:18 AM in reply to: cadplayer

Hi,

 

what ide do you use if not VisualStudio?

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Active Contributor
Posts: 29
Registered: ‎11-23-2009
Message 3 of 16 (581 Views)

Re: C# How make a dll

04-11-2012 08:27 AM in reply to: cadplayer
Visual C# express and visual studio trial
version
Grüsse nach Österreich. Nicht mehr gesehen auf cad.de
*Expert Elite*
Alfred.NESWADBA
Posts: 8,562
Registered: ‎06-29-2007
Message 4 of 16 (572 Views)

Re: C# How make a dll

04-11-2012 08:44 AM in reply to: cadplayer

Hi,

 

there are more intro-helps for vb.net, e.g. >>>this link<<< does a detailed description for first apps with VB.NET

 

>>>here<<< you find a video created by Fenton Webb (one of the AutoCAD development gurus), it starts at "Hello World" and goes deeper and deeper, at least a great introduction.

 

HTH; - alfred -

 

PS: Danke für die Grüße :smileywink:

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
*Expert Elite*
Posts: 1,991
Registered: ‎04-29-2006
Message 5 of 16 (557 Views)

Re : C# How make a dll

04-11-2012 01:24 PM in reply to: cadplayer

Hi,

 

You can have a look at AutoCAD.Net Training.zip, (both C# and VB).

You'll find a C# version of "My First Plug-in Training" codes here.

Gilles Chanteau
*Expert Elite*
dgorsman
Posts: 4,717
Registered: ‎10-12-2006
Message 6 of 16 (548 Views)

Re: C# How make a dll

04-11-2012 03:04 PM in reply to: cadplayer

"Sorry I´m absolut beginners in c#"

 

Don't forget the basic C# tutorials in the Visual Studio help and the examples scattered through the MSDN online help.  Those should give you a good grounding in the basics which are essential prior to tackling the AutoCAD interface.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


Active Contributor
Posts: 29
Registered: ‎11-23-2009
Message 7 of 16 (536 Views)

Re: C# How make a dll

04-11-2012 11:10 PM in reply to: cadplayer

Great stuff to learn c#. What´s the diffrent between Visual C# 2010 Express and Visual Studio 2010. Must I buy licens for using C# on Autocad workflow or it´s enough to begin with Express version. The dll-file som creates in Visual Studio from your C#-project I need later for appload in Autocad. Questions is can I get dll-file also from C#Express applikation.

Thanks for your help.

-Dirk-

*Expert Elite*
Alfred.NESWADBA
Posts: 8,562
Registered: ‎06-29-2007
Message 8 of 16 (532 Views)

Re: C# How make a dll

04-12-2012 12:03 AM in reply to: cadplayer

Hi,

 

>> What´s the diffrent between Visual C# 2010 Express and Visual Studio 2010

Price :smileywink:

And with VS2010 you can develop with more than one language, some options are missing in Express ... that you don't really need (within the first months or years) if you have an template solution to start (available for downloads on multiple places).

Some differences are listed >>>here<<<.

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Valued Mentor
KerryBrown
Posts: 259
Registered: ‎11-29-2008
Message 9 of 16 (524 Views)

Re: C# How make a dll

04-12-2012 04:17 AM in reply to: cadplayer

 

For a little more comprehensive resolution

 

http://lmgtfy.com/?q=difference+visual+studio+express+and+professional+%2B+Autocad

//-------------------------------------------------------

class keyThumper<T> : Lazy<T>;      another  Swamper

*Expert Elite*
dgorsman
Posts: 4,717
Registered: ‎10-12-2006
Message 10 of 16 (505 Views)

Re: C# How make a dll

04-12-2012 07:43 AM in reply to: KerryBrown

Something thats buried a little deeply in the features is the fact that Microsoft explicitly allows users to use the free Express editions to create software for production work or even sale, as long as they aren't building a clone of Microsofts major products.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community