Andre Herrmann
Posts: 9
Joined: 2022-11-05
|
Hey,
I’m using Addin-Express 10.2.
I recently added EV signing to an Excel addin project. The deployment and installation process works perfectly fine. The addin installs and runs without any errors.
Unfortunately, developing new features and debugging the project from within Visual Studio is not running smoothly. If I register my Addin from within Visual Studio, I can confirm that the Addin was registered by opening Excel. This works fine. The Addin is running.
But if I press the “Start“ (Debug) button from within Visual Studio, Excel opens with the addin inactivated. It says not loaded due to runtime error.
It is the exact same issue as described in this post: https://www.add-in-express.com/forum/read.php?FID=5&TID=16642
I’ve got another project that is not using EV signing, which works perfectly fine when I register it and debug it from within Visual Studio.
So there are 2 questions:
- Is there a special setting that I'm missing to enable smooth debugging?
- If not is there a way to develop and debug the addin without signing it during development (as this seems to be causing the issue)?
Best regards
Andre |
|
Andrei Smolin
Add-in Express team
Posts: 19029
Joined: 2006-05-11
|
Hello Andre,
Check if adxloader.log provides a clue.
Regards from Poland (GMT+2),
Andrei Smolin
Add-in Express Team Leader |
|
Andre Herrmann
Posts: 9
Joined: 2022-11-05
|
Hey Andrei,
here is the adxloader.log after trying to start from within visual studio:
13:03:47:362 7456 44196 Start.
13:03:47:362 7456 44196 The minimum supported Office version is 16
13:03:47:362 7456 44196 The host's version is 16.0.17726.20126
13:03:47:362 7456 44196 Creating a new instance of the add-in loader.
13:03:47:362 7456 44196 Loading mscoree.dll
13:03:47:362 7456 44196 INFO: Assembly codebase - ...
13:03:47:363 7456 44196 INFO: Assembly version - 0.0.4.0.
13:03:47:363 7456 44196 Success.
13:03:47:363 7456 44196 Loading the configuration from the system registry.
13:03:47:363 7456 44196 Getting the latest CLR version.
13:03:47:363 7456 44196 The latest CLR version is 'v4.0.30319'.
13:03:47:363 7456 44196 The configuration has been loaded successfully.
13:03:47:363 7456 44196 Runtime version: v4.0.30319.
...
13:03:47:363 7456 44196 Attempting to create a new instance of the managed add-in class: CLR - v4.0.30319
13:03:47:363 7456 44196 Loading CLR: v4.0.30319.
13:03:47:363 7456 44196 Calling CLRCreateInstance method.
13:03:47:363 7456 44196 Success.
13:03:47:363 7456 44196 Calling GetRuntime method.
13:03:47:364 7456 44196 Success.
13:03:47:364 7456 44196 Checking if the hosting API of .NET Framework v4.0 beta is installed.
13:03:47:495 7456 44196 The hosting API is up to date.
13:03:47:495 7456 44196 Calling SetDefaultStartupFlags method.
13:03:47:495 7456 44196 Success.
13:03:47:495 7456 44196 Calling GetInterface method for the CorRuntimeHost interface.
13:03:47:495 7456 44196 Success.
13:03:47:495 7456 44196 Starting CLR...
13:03:47:495 7456 44196 Success.
13:03:47:495 7456 44196 Getting the CLR version.
13:03:47:495 7456 44196 The CLR v4.0.30319 has been initialized successfully.
13:03:47:514 7456 44196 Hash verification failed |
|
Andrei Smolin
Add-in Express team
Posts: 19029
Joined: 2006-05-11
|
Hello Andre,
Does building the project produce any warning? Make sure warnings are shown.
If you create a new empty project and sign it with that certificate, would it produce the same issue?
Regards from Poland (GMT+2),
Andrei Smolin
Add-in Express Team Leader |
|