OK. I've gong through the Lab1 tutorial to create the HelloWorld program.
I'm working with AutoCAD 2008. My OS is Vista Ultimate Edition. I'm using Microsoft Visual C# 2008.
I've run BUILD on the HelloWorld program and there were no errors. I've run NETLOAD and loaded the .dll without incident. But when I try to run the HelloWorld command, I get an "unknown Command" error.
Later I installed the "Enhanced AutoCAD .NET Project Application Wizard" and created the HelloWorld project again. Now I can get the program to run in Debug mode. It opens AutoCAD and when I run HelloWorld from the command line, it prints "Hello World" just like it's supposed to. But when I try start a new AutoCAD session and try to NETLOAD the .dll and run the command HelloWorld, I still get the "unknown command" error.
Any ideas? Why won't the built .dll work?
And to top it off, I've lost a bunch of other commands in AutoCAD like all my "Layer II" toolbar commands and things like CUI. They all come back with the "unknown command" error. Could this be related?
Thanks for any help you can provide. What other information do you need?
Anthony Coletti