My First Plug-in ... How to register my dll so it works in Inventor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have went through the entire tutorial for the "My first plug-in Training". While in VB.NET, I could run the code from there and it would work in Inventor. Now I would like to run the code from inside Inventor (without VB.NET). I tried to build the .dll and then register it (using C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /codebase MyFirstInventorPlugin.dll) but that only gave me an error.
Could this be because in Lesson2, rather than starting with a "Autodesk Inventor Addin" template, we started with a "Windows Form Application"?
I found this blog "Migrate .Net Add-Ins to registry free" which describes how to do this... (i think). Going through this blog, I get stuck on step 3. I can't find where in VB.Net to add this "Post-build event command line" string. There is nothing like this on the Complie Tab of the Properties.
I am using Visual Basic Express 2010. Surely, there has got to be an easier way to do this than what I have hacked out here.
Any help or insight on getting my code into Inventor would be helpful.
Thanks,
Kirk