@govert govert released this Jun 18, 2017 · 115 commits to master since this release

Assets 3

Version 0.34 introduces a much improved build procedure for add-ins created using the NuGet package (thanks to a fantastic effort by @caioproiete !) 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 to Topic.UpdateNotify during the ConnectData overload are now always ignored. If the topic value is updated (through Topic.UpdateValue) during ConnectData, and the same value is returned from ConnectData, then no spurious UpdateNotify is raised. If the value returned from ConnectData differs from Topic.Value, UpdateNotify will still be raised.
  • Allow AccessViolation exceptions to be caught under .NET 4.0 - change marshaling wrapper from DynamicMethod to MethodBuilder.
  • 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.