Inventor 2017-AddIn - Project unloaded

Inventor 2017-AddIn - Project unloaded

angermaier
Enthusiast Enthusiast
586 Views
2 Replies
Message 1 of 3

Inventor 2017-AddIn - Project unloaded

angermaier
Enthusiast
Enthusiast
I just want to start writing an Inventor 2017-AddIn (under Windows 10x64) using the VS 2015 Express Wizard. In the Project Explorer it is shown, that the AddIn is not Available, because the Project was Unloaded. There's no was of reloading the Project through the context-menu entry. All the files in Visual-Studio 2015\Projects -Directory the were generated by the wizard. I am using Visual Studio 2015 Express Update 3. What do I need to do to correctly load and compile the project? Thank you very much for your help
0 Likes
587 Views
2 Replies
Replies (2)
Message 2 of 3

matt_jlt
Collaborator
Collaborator

Hi, there are a lots of reasons you could be getting this issue but I have listed a few below. I haven't used the Wizard for a while but you may need to fix some things. Also, not sure if you are making a registry free addin?

 

1. There is an error in the initialization of your addin (possible mistake in loading buttons / ribbons / commands)

2. Compiled the addin in an incorrect version of .net ( I use .NET 4.0 )

3. Having a space in the name of your addin .dll name (e.g. "my addin.dll" try instead "my_addin.dll")

4. If you have made multiple addins, make sure you haven't accidently created the same GUID / components with internal names as other ones) I have accidently copy paste a few things into other addins and created problems like this.

5. Make sure you have referenced the correct Inventor Interop (I'm targeting version 20 for Inventor 2016/2017)

 

 

Hope it helps you, Matt.

 

0 Likes
Message 3 of 3

angermaier
Enthusiast
Enthusiast
Hello Matt, thank you very much for your answer! I was on holidays and could only try your suggestions now after I came back. Unfortunately the Project was still unloaded after all I tried. Below I commented what I tried so far: > 1. There is an error in the initialization of your addin (possible mistake in loading buttons / ribbons / commands) So far it was just the empty template for the AddIn, that was created by the wizard, starting from scratch. So no buttons/ribbons/commands > 2. Compiled the addin in an incorrect version of .net ( I use .NET 4.0 ) The addin could not be compiled yet at all. I tried NET 4.0 (previously a younger .net-version), but still immediately after the wizard the unload-message is shown. > 3. Having a space in the name of your addin .dll name (e.g. "my addin.dll" try instead "my_addin.dll") I was using the standard name given by the wizard for tesing, that doesn't contain any spaces "InventorAddIn1", "InventorAddIn2". > 4. If you have made multiple addins, make sure you haven't accidently created the same GUID / components with internal names as other ones) I have accidently copy paste a few things into other addins and created problems like this. If I use the wizard to start an addin this shouldn't happen, right? I started from scratch to create an AddIn. 5. Make sure you have referenced the correct Inventor Interop (I'm targeting version 20 for Inventor 2016/2017) I could not yet change something there, since directly after I run the wizard, I get that project-unloaded message. Please excuse my late answer - your help is highly appeciated! Any idea, what else to try? Thank you very much! Tobias
0 Likes