I'm working on migrating our addins from ArcMap to ArcGIS Pro 3.0.3. Currently I'm trying to replace EPPPlus with ClosedXML. it's not working as part of the addin. I can get it to run fine in a standalone app, so believe it may be related to dependencies somehow. Has anyone else tried this? I'm using a pro window, but moved the test code up the button handling before the window appears and it still fails.
It fails during the saveAs, and a file is created, but it is corrupt and non-salvageable.