• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor Customization

    Reply
    Mentor
    bsee1
    Posts: 172
    Registered: ‎11-14-2011
    Accepted Solution

    Registry free addin won't load

    490 Views, 6 Replies
    06-06-2012 12:10 PM

    I've created a sletched symbol addin using the new registry free template, but I can't get it to load.  I'll list what I've already tried. Can someone help point out what the problem might be?

     

    Here's a link to show what I see in inventor: https://dl.dropbox.com/u/46698764/ms6%20wont%20load.PNG

     

    • The addin builds with no errors in Visual Studio
    • I've double checked that the manifest file is embedded in the dll
    • The .addin file has the correct path to the dll file
    • The .addin file is located with the rest of the .addin files inside the Inventor programdata addins folder
    • The dll is located in the inventor 2012 install folder inside the bin folder
    • The addin is set to load on startup

    Is there some kind of log that might show why an addin didn't load?  

    *****************************
    Win7 x64 - 16gb ram
    i7 3610qm
    FirePro M4000

    Inventor 2013
    ETO 6.1
    Please use plain text.
    Distinguished Contributor
    Posts: 152
    Registered: ‎07-28-2007

    Re: Registry free addin won't load

    06-13-2012 10:29 PM in reply to: bsee1

    Hi,

     

    I'm almost positive your problem is coming from the fact that you have spaces in your addin name. Try replacing them with an underscore.

     

    I had the same problem and it took me ages to work out why it wouldn't load. It was very frustrating.

     

    Regards, Matt.

    Please use plain text.
    Mentor
    bsee1
    Posts: 172
    Registered: ‎11-14-2011

    Re: Registry free addin won't load

    06-14-2012 05:24 AM in reply to: matt_jlt

    I just removed all the spaces in the dll name, and anywhere else it was referenced in the code.  I also removed the spaces from the .addin file and config files.  It still didn't work.

     

    Any other ideas? I'm really looking for some kind of error log. Inventor can see the addin, but somethign must be going wrong when it tries to load.  I don't know where to look for an error log for registry free addins.

    *****************************
    Win7 x64 - 16gb ram
    i7 3610qm
    FirePro M4000

    Inventor 2013
    ETO 6.1
    Please use plain text.
    Mentor
    FarrenYoung
    Posts: 246
    Registered: ‎07-13-2009

    Re: Registry free addin won't load

    06-14-2012 11:58 AM in reply to: bsee1

    If you haven't already, you should make sure your dll is built for .Net framework 3.5 and not 4.0

    --Farren

    ************************************************************************************
    If this post helps, please click the "thumbs up" to give kudos
    If this post answers your question, please click "Accept as Solution"
    ************************************************************************************
    Please use plain text.
    Mentor
    bsee1
    Posts: 172
    Registered: ‎11-14-2011

    Re: Registry free addin won't load

    06-14-2012 01:42 PM in reply to: FarrenYoung

    Thank you. That solved half of my problem.  Now that I have it working, I'll leave this here for anyone else that has trouble.

     

    To build a registry free addin, start here:http://modthemachine.typepad.com/my_weblog/2012/02/migrate-net-add-ins-to-registry-free.html

     

    • Make sure your addin contains no spaces
    • Develop using .NET 3.5
    • Your .addin file must not contain blank lines

    If you develop with .NET 4, Inventor will see your addin, but not load it

    If your .addin file has blank lines, Inventor will not even see your addin

    *****************************
    Win7 x64 - 16gb ram
    i7 3610qm
    FirePro M4000

    Inventor 2013
    ETO 6.1
    Please use plain text.
    New Member
    Posts: 1
    Registered: ‎09-08-2012

    Re: Registry free addin won't load

    09-08-2012 12:02 PM in reply to: bsee1

    I am having the same problem. I checked the items from the previous posts with on luck.

    the Lab_10_Complete_AddIn_Add_To_Ribbon works just fine. I am working in C#. Inventor sees the Addin but will not load it. and in the "Debug" window I get a yellow ! icon on the break point.

    I noticed when debuging the Autodesk sample that inventor pauses during it's load until the addin is built. On mine it just starts like normal ( ie. my addin isn't loading). I have tried several different attemps at a simple addin using both VB.net and C#. Following the tutorials on Mod the Machine with the same result. Any clues?

    Win 7 Ult. x64 VS2010.

    Please use plain text.
    Valued Mentor
    Posts: 422
    Registered: ‎06-14-2005

    Re: Registry free addin won't load

    09-19-2012 11:02 AM in reply to: FarrenYoung

    FarrenYoung wrote:

    If you haven't already, you should make sure your dll is built for .Net framework 3.5 and not 4.0


    Is there a way to be able to ues .net 4.0 in Inventor 2012?

    -------------------------------------------------------------------------
    Inventor Professional 2012 SP1 (25 seats with subscription)
    Windows 7 64 bit
    Lenovo D20, 12 GB RAM, Intel Xeon X5687 3.6 GHz, SSD
    Quadro 4000, driver 8.17.12.9573, dual monitors
    SpacePilot, driver version 6.15.3 Firmware 3.12
    Please use plain text.