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.Observe
re-open restart - broken by other fixes in the previous version. Add option to not restart. - Change
ExcelRtdServer.ConnectData
to be more careful about raising an update notice. Calls toTopic.UpdateNotify
during theConnectData
overload are now always ignored. If the topic value is updated (throughTopic.UpdateValue
) duringConnectData
, and the same value is returned fromConnectData
, then no spuriousUpdateNotify
is raised. If the value returned fromConnectData
differs from Topic.Value,UpdateNotify
will still be raised. - Allow
AccessViolation
exceptions to be caught under .NET 4.0 - change marshaling wrapper fromDynamicMethod
toMethodBuilder
. - Fix
QueueAsMacro
failure after paste live preview. - Fix
AssemblyResolve
re-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.