Govert van Drimmelen
Govert van Drimmelen
If there is an Excel crash while your add-in is being called, then Excel will show the "running into problems" message. If you then disable the add-in (which might not...
This is a horrible .NET mess - the bad version gets pulled in by anything that needs System.Windows.Extensions, and that's a lot of packages. After much nagging they fixed it...
It's expected that every build puts it back in the output directory. My original entry above has an example of a target you can add to the project file to...
OK - I now see the Target doesn't work for my test project either. Does it make a difference if you add this property to the project: ``` true ```...
I don't know where the error comes from when you don't have System.Drawing.Common.dll in the output. I guess I still don't understand the problem right.
From what I've seen, you must make it so that there is no System.Drawing.Common in the output. One culprit was System.Configuration.ConfigurationManager v 6.0.1 (or anything that pulls it in). You...
Excel-DNA does not need anything.
(Beyond net6.0-windows) though it does target and load the 'Desktop' runtime.
In your add-in you can set up an exception handler that is called for any UDF function exceptions. ```csharp using System.Diagnostics; using ExcelDna.Integration; public class AddIn : IExcelAddIn { public...