From what little you've mentioned, my guess is that you created a
WindowsApplication (.exe) project, not a ClassLibrary (.dll) project.
Have you been working with C# and .NET long?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
wrote in message news:6332176@discussion.autodesk.com...
I have a problem getting my program to work in C #.
The source code is an original Autodesk code and I implemented the resource
files acmgd.dll and acdbmgd.dll in my project.
However I always get an Compiler error: CS5001, Program 'program' does not
contain a static 'Main' method suitable for an entry point.
Since I use CommandMethod() I thought I needn't the static Main() method.
Can anyone help me with this problem?
kind regards
Edited by: MartinSi on Feb 8, 2010 12:40 PM