Hi all,
Does anyone know if the non public method RunCommand is no longer a method in the Editor object? The below code line now returns Nothing in AutoCAD 2015, but is fine in 2014. Any ideas?
Dim runCommand As MethodInfo = GetType(Editor).GetMethod("RunCommand", BindingFlags.Instance Or BindingFlags.NonPublic Or BindingFlags.Public)
Thanks,
Ted
EDIT:
I was accidentally referencing 2014 DLLs in my project and this was another project created using the wizard. I had to create a new project because the 2015 DLLs need the project to target .NET 4.5. When I changed the old project from .NET 4 to 4.5 I got some ambiguity errors which I think are a result of using the AutoCAD wizard.