Recently we upgraded our systems to Inventor 2011 on Windows 7, from 2010 on XP Pro. (Obviously the add-in ran fine there). I also downloaded and installed VB 2010 Express and migrated the add-in project. I rebuilt the solution on VB2010 (running AS Administrator) and got no errors. The Add-in shows in the regisrty, but does not appear in the add-in manager. I did not run the .bat file to register the add-in, I just let VB do it when it built the solution.
Is there something about the new system I dont know?
Solved! Go to Solution.
Solved by tclayton. Go to Solution.
Are you working on a 64bit machine?
Yes, I forgot to mention that earlier, the previous (XP) machine and the new one are both 64-bit
These were originally written on VB 2008 Express, then migrated to VB 2010 Express. Like I said, they ran on a 64-bit machine before.
Additionally I've tried registering the Addin using the .bat file. Error message below
RegAsm |: error RA0000 : Failed to load 'C:\VB2010 Projects\Projects\EventMonitor\EventMonitor\bin\EventMonitor.dll' because it is not a valid .NET assembly
Press any key to continue...
I think I've solved the issue, VB Express 2010 apparently works in a .NET Framework that either Windows 7 or Inventor 2011 doesn't care for.
I uninstalled VB 2010, deleted the migrated project files and registered the older ones built in VB 2008 Express. They run
I had the same issue migrating to Express2010 and found out its because 2010 uses framework 4
here is what i did to register my old 2008 dll's after migrating them to 2010.
@echo off
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe /codebase "C:\MyAddins\MyAddins.dll"
Pause
This works fine for all my migratet Express 2008 projects.
Only disadvantage is that if you migrate to 2010 you need to install framework 4 on all machines where you want to install your addins? and all win Xp computer must be upgrated to sp3?
Hope this helps you.
Regards Kent boettger.