Excel-DNA v0.34.6
Version 0.34 introduces a much improved build procedure for add-ins created using the NuGet package (thanks to a fantastic work by @augustoproiete !) This replaces the error-prone post-build steps we had with a custom build helper and allows easier build output customization.
Various bug fixes and smaller improvements are also included in this version:
- Add
ExplicitExports="false"to NuGet .dna file template - Fix getting Application from
ProtectedViewWindow - Add attempts to get Application object from all windows of class
EXCEL7. - Fix
ExcelAsyncUtil.Observere-open restart - broken by other fixes in the previous version. Add option to not restart. - Change
ExcelRtdServer.ConnectDatato be more careful about raising an update notice. Calls toTopic.UpdateNotifyduring theConnectDataoverload are now always ignored. If the topic value is updated (throughTopic.UpdateValue) duringConnectData, and the same value is returned fromConnectData, then no spuriousUpdateNotifyis raised. If the value returned fromConnectDatadiffers from Topic.Value,UpdateNotifywill still be raised. - Allow
AccessViolationexceptions to be caught under .NET 4.0 - change marshaling wrapper fromDynamicMethodtoMethodBuilder. - Fix
QueueAsMacrofailure after paste live preview. - Fix
AssemblyResolvere-entrancy race condition.
The easiest way to create an Excel-DNA add-in is by creating a class library project in Visual Studio and then installing the ExcelDna.AddIn NuGet package.