Message 1 of 3
CS5001, Program 'program' does not contain a static 'Main' method
Not applicable
02-08-2010
04:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
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