How to create an add-in for InventorServer 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
How can you create an add-in for InventorServer 2025, which is used by Vault Professional Jobserver (which uses Inventor Interoperability)?
I tried using the default Template for creating an Inventor add-in, but it seems that Inventor Interoperability still uses .Net Framework instead .Net Core 8.0.
Then I tried setting it up with .Net Framework 4.8, but it fails to Activate the Add-In.
It's being found by InventorServer when looping through the Add-Ins.
But when I try to activate it, I get this error from Visual Studio:
Exception thrown: 'System.InvalidCastException' in mscorlib.dll
Specified cast is not valid.
The Activate Sub is entirely empty and no variables are assigned, so I don't what it's trying to cast and where it fails.
I'm not trying to cast to Inventor.Application for example.
When attaching the debugger to VaultInventorServer, I can see it's loading my .dll, but almost directly it will get unloaded again. It doesn't trigger breakpoints in Visual Studio.