locked
My Add In Keeps Disabling RRS feed

  • Question

  • I am sure this may have been asked before.

    But if I test my add on VirtualBox and sometimes Parallels on a Mac, it sometimes disables.

    If I run on a windows machine it seems to run fine?

    Is it to do with the setup?

    Wednesday, December 2, 2015 4:43 PM

Answers

  • Hi James,

    As Eugene has stated is it listed in inactive add ins?

    I would not advise using things like VirtualBox, VMWare Fusion or Parallels for testing out .Net Add Ins. If you are using a Mac, try and stick to Bootcamp. The problem with using those is you don't always get the expected result as a whole host of things come into the equation.

    I am sure these issues have become more frequent.

    It is probably best to stick to Windows machines or Bootcamp. You can usually pick up cheaper laptops these days.

    Remember to test on a range of Windows OS's and get others to test to get a maximised quality assurance overview.

    Jim

    • Marked as answer by Jamie Kohn Friday, December 11, 2015 1:53 PM
    Thursday, December 3, 2015 1:43 AM

All replies

  • Hello Jamie,

    Do you see the add-in listed in the inactive add-ins list in Excel?

    Microsoft Office applications can disable VSTO Add-ins that behave unexpectedly. If an application does not load your VSTO Add-in, the application might have hard disabled or soft disabled your VSTO Add-in.

    Hard disabling can occur when an VSTO Add-in causes the application to close unexpectedly. It might also occur on your development computer if you stop the debugger while the Startup event handler in your VSTO Add-in is executing.

    Soft disabling can occur when a VSTO Add-in produces an error that does not cause the application to unexpectedly close. For example, an application might soft disable a VSTO Add-in if it throws an unhandled exception while the Startup event handler is executing.

    When you re-enable a soft-disabled VSTO Add-in, the application immediately attempts to load the VSTO Add-in. If the problem that initially caused the application to soft disable the VSTO Add-in has not been fixed, the application will soft disable the VSTO Add-in again. Read more about that in the How to: Re-enable a VSTO Add-in That Has Been Disabled article.

    Do you get any UI errors?

    By default, if an add-in attempts to manipulate the Microsoft Office user interface (UI) and fails, no error message is displayed. However, you can configure Microsoft Office applications to display messages for errors that relate to the UI. You can use these messages to help determine why a custom Ribbon does not appear, or why a Ribbon appears but no controls appear. See How to: Show Add-in User Interface Errors for more information.


    Wednesday, December 2, 2015 5:06 PM
  • Hi James,

    As Eugene has stated is it listed in inactive add ins?

    I would not advise using things like VirtualBox, VMWare Fusion or Parallels for testing out .Net Add Ins. If you are using a Mac, try and stick to Bootcamp. The problem with using those is you don't always get the expected result as a whole host of things come into the equation.

    I am sure these issues have become more frequent.

    It is probably best to stick to Windows machines or Bootcamp. You can usually pick up cheaper laptops these days.

    Remember to test on a range of Windows OS's and get others to test to get a maximised quality assurance overview.

    Jim

    • Marked as answer by Jamie Kohn Friday, December 11, 2015 1:53 PM
    Thursday, December 3, 2015 1:43 AM
  • Thanks for the replies.

    I will check out those resources Eugene. But I will probably stick to Windows machines for now.

    Thursday, December 3, 2015 2:15 PM