.NET

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

C# How make a dll

698 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: 9,051
Registered: ‎06-29-2007
Message 2 of 16 (687 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
cadplayer
Posts: 29
Registered: ‎11-23-2009
Message 3 of 16 (682 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: 9,051
Registered: ‎06-29-2007
Message 4 of 16 (673 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*
_gile
Posts: 2,084
Registered: ‎04-29-2006
Message 5 of 16 (658 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: 5,335
Registered: ‎10-12-2006
Message 6 of 16 (649 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
cadplayer
Posts: 29
Registered: ‎11-23-2009
Message 7 of 16 (637 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: 9,051
Registered: ‎06-29-2007
Message 8 of 16 (633 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: 269
Registered: ‎11-29-2008
Message 9 of 16 (625 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: 5,335
Registered: ‎10-12-2006
Message 10 of 16 (606 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.


Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.