Add-in Missing For A Few Users

Add-in Express™ Support Service
That's what is more important than anything else

Add-in Missing For A Few Users
 
Colin McGraw




Posts: 5
Joined: 2013-09-11
I have an add-in project with a WiX installer. On most systems it works fine and users see our custom ribbon and functionality.

However, there a couple of users who run the installer and see nothing in Office afterward. I have been able to verify on one of their systems that all the files installed in the default location, but you can't even see the add-in in File->Options->Add-ins.

Have other customers run into similar problems, or is there a list of common issues to reference?
Posted 11 Sep, 2013 14:40:18 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Colin,

By default, Add-in Express generated setup projects create a log file, see {My Documents}\Add-in Express\adxregistrator.log in the profile of the user who runs the installer. Could you please paste it here or send it to rhe support email address (see {Add-in Express|\readme.txt)?


Andrei Smolin
Add-in Express Team Leader
Posted 12 Sep, 2013 03:44:23 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Colin,

Thank you for sending use the log. It contains this exception:
Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

The cause of this exception is discussed on these pages:

- http://marcgravell.blogspot.co.nz/2012/09/iterator-blocks-missing-methods-and-net.html
- http://stackoverflow.com/questions/13748055/could-not-load-type-system-runtime-compilerservices-extensionattribute-from-as
- http://www.mattwrock.com/post/2012/02/29/What-you-should-know-about-running-ILMerge-on-Net-45-Beta-assemblies-targeting-Net-40.aspx


Andrei Smolin
Add-in Express Team Leader
Posted 13 Sep, 2013 02:46:17 Top
Colin McGraw




Posts: 5
Joined: 2013-09-11
Thanks!

We're not using ILMerge, which is the tool mentioned as the possible problem in the issue I'm running into.

Are you guys using ILMerge for the Office interop assemblies or something if I choose to support 2003-2013?

I discovered I could work around the problem by building in Framework 3.5, but the debugger doesn't seem to work when I do so.
Posted 16 Sep, 2013 11:58:57 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Colin,

We don't use ILMerge. The problem is different: your code is built on .NET 4.5 but it is run on .NET 4.0.

Colin McGraw writes:
I discovered I could work around the problem by building in Framework 3.5, but the debugger doesn't seem to work when I do so.


Please check http://www.add-in-express.com/docs/net-deploying-debugging-tips.php#breakpoints.


Andrei Smolin
Add-in Express Team Leader
Posted 17 Sep, 2013 06:24:50 Top
Colin McGraw




Posts: 5
Joined: 2013-09-11
What's odd is that I built in 4.5 and the problem users have 4.5 installed, but they are still experiencing the issue.

Thanks for the help at any rate, and the link about debugger config.
Posted 17 Sep, 2013 11:15:09 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hello Colin,

Please make sure that .NET Framework 4.5 is installed on the target machines. Also, you can try to reinstall 4.5 on the problematic machines.
Posted 18 Sep, 2013 04:36:40 Top