"My first Add-In" unloaded

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I created an add-in following this quide http://modthemachine.typepad.com/my_weblog/2008/10/converting-vba-auto-macros-to-an-add-in.html
As most (read: all) tutorials out there for beginners seem to be outdated I made few exceptions that Im not quite sure about:
1) I skipped "Editing the Name and Description of the Add-In" part.
2) In "Cleaning Up" part I left out following line: Marshal.ReleaseComObject(m_appEvents)
After Build I copied dll file to inventor bin folder and manifest file to C:\ProgramData\Autodesk\Inventor 2015\Addins
I registred dll (allthough it seems that it is not nessecary because it is automatically registred on Add-In creation?)
Everything works fine on this PC.
Now when I try to use this same Add-In on different PC. Also copying dll and manifest files and registering dll with RegAsm.exe. Add-In shows up "UNLOADED".
I used "Autodesk 2015 AddIn" Template and framework 4.0
Add-In works with this PC (the one that created the Add-In):
Windows 8 64bit
Visual Basic 2010 Express
Inventor 2014 & 2015 (works on both)
The other PC:
Windows 7 64bit
Inventor 2014
I assume that the problem is in registering DLL file?
(is there any good material about registering DLL properly that is not 10 years old. When do I have to register dll? Any preparations needed before DLL can be registrated? RegAsm.exe or RegSvcs.exe.. ?)
Or I left out something important?