- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Addin loads when debugging in VS but not regularly
Hi all,
I have a problem that I have not encountered before. I have an addin that will load and function when I'm debugging in Visual Studio, but it does not load when I'm not debugging.
When running inventor regularly, the add-in does not load. When I check loaded in the add-in manager, it unloads again without any errors..
Any ideas?
TIA
Free apps: Smart Leader | Part Visibility Utility | Mate Origins
Paid apps: Frame Stiffener Tool | Constrain Plane Toggle | Property Editor Pro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello @basautomationservices,
I've encountered this behaviour once. For my case , this was related to using incorrect references for my add-in project.
Basicaly I was developing the add-in on my computer with a certain Autodesk.Inventor.Interop version.
When I deployed to other computers, it had the same effect. The issue was they didn't have the specific version of the Autodesk.Inventor.Interop dll I was using on MY computer.
To fix it I just set all the references local copy to True, so any computer has it. This just paste the reference to your bin project so it always sticks to the add-in.
I recommand having a look at all the references of your project to see if they are set up correctly.
Kind regards,
FINET L.
If this post solved your question, please kindly mark it as "Solution"
If this post helped out in any way to solve your question, please drop a "Like"- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @FINET_Laurent ,
I remembered a long time ago I had a problem because I was using multiple different versions of one single (of my own) DLL, this I checked.
What you're saying could be the problem, I've recently been switching between 2023/2024 versions.
Will have a look later to see if I can find it.
Thanks for pointing me in this direction, will post the outcome here.
Free apps: Smart Leader | Part Visibility Utility | Mate Origins
Paid apps: Frame Stiffener Tool | Constrain Plane Toggle | Property Editor Pro