question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

References break in ExcelDna.Registration when using ExcelDna.Integration v1.1.0-beta1

See original GitHub issue

My application requires a signed version of ExcelDNA.Integration so I tried upgrading to the v1.1.0-beta1 release on Nuget.

As soon as I did that I started getting errors. I am using the registration library to manually register functions;

registrations.Where(X => X.FunctionAttribute.Name == “XXXXXXXXX”).RegisterFunctions();

Every reference to ‘FunctionAttribute’ now shows the following error; Severity Code Description Project File Line Suppression State Error CS0012 The type 'ExcelFunctionAttribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'ExcelDna.Integration, Version=1.0.7056.37028, Culture=neutral, PublicKeyToken=null'. XXXXX.DataConnect.AddIn C:\Users\XXXXX\source\repos\XXXXX-DataConnect\XXXXX.DataConnect.AddIn\Functions.cs 20 Active

I am currently using;

ExcelDna.Registration v1.0.0.0 ExcelDna.IntelliSense v1.2.0.0 ExcelDna.Integration v1.1.0.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
drobertson123commented, Jun 15, 2020

@augustoproiete I have loaded the new assemblies from Nuget and so far everything looks good. I will update if I see any issues.

I wanted to say thanks for you pushing this out so fast. My butt was kind of on the line since the assembly signing issue was blocking a deploy and my director had a lot of focus on this project.

I know you rarely get any insight into how this is used but your fix is allowing me to deploy an Excel Addin that is used to monitor renewables power generation across North America. We expect the Addin to be deployed to roughly 4000 systems company-wide over the next few weeks.

This is good work and we appreciate it.

0reactions
augustoproietecommented, Mar 5, 2020

Pre-release NuGet packages referencing ExcelDna.Integration v1.1.0-beta1 with assemblies strong-named (1) published to nuget.org:


(1) ExcelDna.Registration.FSharp was not strong-name signed due to a bug in the FSharp compiler. See PR Excel-DNA/Registration#29 for details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not load ExcelDna.Integration
I noticed that ExcelDna.Integration.dll does appear in the output folder when the first project is present in the solution, and it disappears ...
Read more >
Registration helpers for Excel-DNA
This library implements helper functions to assist and modify the Excel-DNA function registration, by applying various transformations before the functions ...
Read more >
Blog | Excel-DNA
PackageReference and SDK-style project files​. The main ExcelDna.AddIn NuGet package now supports references in SDK-style project files. For new ...
Read more >
How to make ExcelDna functions from Nuget.org package ...
In order to register new functions at run-time you'll have to use the Registration extension. Here is an example of how to use...
Read more >
ExcelDna.Registration 1.6.0
Excel-DNA Registration is an enhancement for Excel-DNA.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found