
Hi Nassir,
What version of Excel-DNA are you using?
This issue should be resolved in the current pre-release versions (v 1.7.0-rc4 is the latest) where we use the .deps.json file to determine which dependencies to pack.
-Govert
From: exce...@googlegroups.com <exce...@googlegroups.com> On Behalf Of Nassir Kassanaly
Sent: Monday, June 12, 2023 4:55 PM
To: Excel-DNA <exce...@googlegroups.com>
Subject: [ExcelDna] ExcelDNA .net 6 project style, referenced nuget package are not packed in the xll.
Hello,
I am using entity framework in my add-in (nuget ref), but i am getting error like this when runing :

If i manually add the dll in the dna file the issue is resolved, but i have do to de the same for every other ref dlls..
Is there a way to autopack references nuget package?
Thanks.
--
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/fb47dee0-6b18-4191-851e-932efc0de2a0n%40googlegroups.com.

You can enable to option to see “Pre-realse” versions.
Or just edit the .csproj file and change the version number to 1.7.0-rc4.
-Govert
From: exce...@googlegroups.com <exce...@googlegroups.com> On Behalf Of Nassir Kassanaly
Sent: Monday, June 12, 2023 5:10 PM
To: Excel-DNA <exce...@googlegroups.com>
Subject: Re: [ExcelDna] ExcelDNA .net 6 project style, referenced nuget package are not packed in the xll.
Hello Govert,
Thanks for the quick reply.
I am using the latest version available in

To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/46596784-2522-4c8c-a3bf-ad51190f4a18n%40googlegroups.com.