Addin not Loading at Startup

Addin not Loading at Startup

Anonymous
Not applicable
325 Views
2 Replies
Message 1 of 3

Addin not Loading at Startup

Anonymous
Not applicable
The attached addin is generated using the Inventor 10 vb.net project wizrd. When I run this in Vb.Net 2003 it registers in Inventor 10 as an addin and loads on startup. Howver if I take this project to another machine and load it into Sharpdevelop 2.0 (a free VS 2005 compliant system based on .Net 2) then run it the addin registers (it is visible in the addin manager) but when Inventor 10 loads the addin is not loaded. Also selecting the Loaded checkbox will not load the addin. Any ideas why this might be. Is it .a Net 2 issue? (I have tried manually registering the dll using "regasm invaddin2.dll /tlb:invaddin2.tlb /codebase" which has always worked with vb.Net 2003 projects
0 Likes
326 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Unfortunately, we do not yet support the AddIn wizards for VS 2005. The
wizards are specifically designed to install for VS 2003 + .NET framework
1.1 (and lower version). We still have to add support for VS 2005 which we
hope to in an upcoming release.

Sorry for the bad news.

-Venkatesh Thiyagarajan.

wrote in message news:5183788@discussion.autodesk.com...
The attached addin is generated using the Inventor 10 vb.net project wizrd.
When I run this in Vb.Net 2003 it registers in Inventor 10 as an addin and
loads on startup. Howver if I take this project to another machine and load
it into Sharpdevelop 2.0 (a free VS 2005 compliant system based on .Net 2)
then run it the addin registers (it is visible in the addin manager) but
when Inventor 10 loads the addin is not loaded. Also selecting the Loaded
checkbox will not load the addin. Any ideas
why this might be. Is it .a Net 2 issue? (I have tried manually registering
the dll using "regasm invaddin2dll /tlb:invaddin2.tlb /codebase" which has
always worked with vb.Net 2003 projects
0 Likes
Message 3 of 3

Anonymous
Not applicable
The problem here is probably that though the add-in wants .NET 2.0, Inventor
is explicitly told to use .NET 1.1. So, the .NET 2.0-based code fails to
run. It's technically possible to change the Inventor.exe.config file to
remove the restriction, but this has not been tested, and could lead to bad
behavior elsewhere in Inventor.
Jeff

"Venkatesh Thiyagarajan (Autodesk)"
wrote in message news:5185071@discussion.autodesk.com...
Unfortunately, we do not yet support the AddIn wizards for VS 2005. The
wizards are specifically designed to install for VS 2003 + .NET framework
1.1 (and lower version). We still have to add support for VS 2005 which we
hope to in an upcoming release.

Sorry for the bad news.

-Venkatesh Thiyagarajan.

wrote in message news:5183788@discussion.autodesk.com...
The attached addin is generated using the Inventor 10 vb.net project wizrd.
When I run this in Vb.Net 2003 it registers in Inventor 10 as an addin and
loads on startup. Howver if I take this project to another machine and load
it into Sharpdevelop 2.0 (a free VS 2005 compliant system based on .Net 2)
then run it the addin registers (it is visible in the addin manager) but
when Inventor 10 loads the addin is not loaded. Also selecting the Loaded
checkbox will not load the addin. Any ideas
why this might be. Is it .a Net 2 issue? (I have tried manually registering
the dll using "regasm invaddin2dll /tlb:invaddin2.tlb /codebase" which has
always worked with vb.Net 2003 projects
0 Likes