Hello everyone!
I've a problem running .dll I made.. I'm following a course on udemy, but for me it doens't load anything.. Anyone can tell me what's the problem?
I've a solution with that class:
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Runtime;
[code]
namespace ControlsDemo
{
class ControlsDemoUtil
{
[CommandMethod("Test")]
public void Demo()
{
MainForm mf = new MainForm();
mf.Show();
}
}
}
when I load the DLL with netload, keyword "Test" is not recognized (It's not even there!)
I compiled using as references AcCoreMgd, AcDbMgd and AcMgd with version 23.1 (I'm running Autocad 2020)
I don't understand what I'm missing, I already did a DLL following the AutoCAD tutorial and this worked just fine (it was a while ago..).
I don't get where this simple few rows code fails.. If I don't find out Iill not able to go ahead with the tutorial ....