Hello ,
I´m new to create a RobotStudio AddIn. I downloaded RS6.0 and the RS 6.0 SDK / PC SDK 6.0. I´m using Visual Studio Express 2013. I created a new project using the RobotStudio Sample Add-In template and just compiled it. (.NetFramework 4.5). I placed the dll in the AddIn folder , however when starting RobotStudio the Add-In is not loaded. I get the following exception.
RobotStudio .NET exception: Exception has been thrown by the target of an invocation.
Base exception: TargetInvocationException
Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at RobotStudio.ExtensionManagement.Addin.TryLoad()
Inner exception: NullReferenceException
Object reference not set to an instance of an object.
at RobotStudioSampleAddin1.Class1.RegisterCommand(String id)
at RobotStudioSampleAddin1.Class1.AddinMain()
I´m using Windows 7 / 32 Bit and running a full version of Robotstudio