question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Office VSTO Plugin not emitting any events

See original GitHub issue

Please mark the type framework used:

  • ASP.NET MVC
  • ASP.NET Web API (OWIN)
  • ASP.NET Core
  • WPF
  • WinForms
  • Xamarin
  • Other:

Please mark the type of the runtime used:

  • .NET Framework
  • Mono
  • .NET Core
  • Version: 4.6.1

Please mark the NuGet packages used:

  • Sentry
  • Sentry.Serilog
  • Sentry.NLog
  • Sentry.Log4Net
  • Sentry.Extensions.Logging
  • Sentry.AspNetCore
  • Version: 2.1.4

When I run application in debug or release mode in vs studio, i receive all the events (either from CaptureException or CaptureMessage).

But when I run the app once it’s deployed using ClickOnce, same code doesn’t emit any event. I have checked with fiddler and nothing is happening on the network.

Tried different codes, from doing this everywhere:

using (Sentry.Init('mydsnhere'))
{
Sentry.CaptureMessage('Startup');
}

To simply initializing this one in the startup method:

Sentry.Init('mydsnhere'))
Sentry.CaptureMessage('Startup');

And everywhere else calling simply:

Sentry.CaptureMessage('Othermethod');

Nothing of them work once deployed…

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bruno-garciacommented, Nov 26, 2020

Awesome! Happy it works with Office VSTO. Thanks for the update

0reactions
Herz3hcommented, Nov 26, 2020

Uhm thank you for your help attempt. Unfortunately didn’t have time to test. So this week, I just removed Raven as it was installed along with Sentry, and updated Sentry. Now it’s working fine 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSTO itemadd Event not firing consistently
I created an Outlook addin that does several things. One of the features is that it takes all sent items and adds them...
Read more >
Troubleshoot development errors with Office Add-ins
Here's a list of common issues you may encounter while developing an Office Add-in. Tip. Clearing the Office cache often fixes issues ...
Read more >
Troubleshooting Add-ins are missing in Office
The troubleshooting steps described reference Templafy VSTO add-ins, ... If the add-in is not in the list, go to 'disabled Items' as shown ......
Read more >
Office add-in development: troubleshooting tips
The record The managed add-in class has been created successfully means the constructor of the module was called and no error has occurred....
Read more >
Add-in Disabled in Excel - Microsoft - SAS Communities
Solved: We are running Office 365 Pro Plus and the SAS Add-in 7.1 for Microsoft Office (32-bit). We have had a few reports...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found