Office VSTO Plugin not emitting any events
See original GitHub issuePlease 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:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome! Happy it works with Office VSTO. Thanks for the update
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 👍