If you use the Registration extension, you need a line like that for the packed add-ins to work correctly.
Is this a problem for you?
-Govert
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/81c61c4d-b702-4963-a2cf-5f0b9fad2debn%40googlegroups.com.


If you use the Registration extension, you need a line like that for the packed add-ins to work correctly.
If you have an error when you remove it, then I suggest you don’t remove it from the .dna file.
-Govert
From: exce...@googlegroups.com <exce...@googlegroups.com> On Behalf Of Nam Vu
Sent: Wednesday, February 1, 2023 1:14 PM
To: Excel-DNA <exce...@googlegroups.com>
Subject: Re: [ExcelDna] Addin build error when using registration

To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/1d7058e3-8b8a-46dd-968c-3249313b2d09n%40googlegroups.com.
I downloaded your project, and everything built and worked correctly on my machine.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/b51dcfe6-f936-4335-9a67-0b351c5fc53cn%40googlegroups.com.
Oh I see – you are also using ExcelDna.IntelliSense, and must pack this library too:
<ExternalLibrary Path="97LabforExcel.dll" ExplicitExports="false" ExplicitRegistration="true" LoadFromBytes="true" Pack="true" IncludePdb="false" />
<Reference Path="ExcelDna.Registration.dll" Pack="true" />
<Reference Path="ExcelDna.IntelliSense.dll" Pack="true" />
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/96fd94a7-aa1d-46ed-936d-3fc4f32f075an%40googlegroups.com.