Excel-DNA / ExcelDna

Excel-DNA - Free and easy .NET for Excel. This repository contains the core Excel-DNA library.
https://excel-dna.net
zlib License
1.26k stars 270 forks source link

-packed.xll not generated #660

Closed francotiveron closed 6 months ago

francotiveron commented 6 months ago

According to the readme.txt file:

After building your project you will find (at least) the following files in your output directory (typically bin\Debug or bin\Release):

  • .dll & .pdb - the normal outputs from compiling your library.
  • -AddIn.xll - the 32-bit native add-in loader for the unpacked add-in.
  • -AddIn.dna - a copy of the add-in master file for the 32-bit unpacked add-in.
  • -AddIn64.xll - the 64-bit native add-in loader for the unpacked add-in.
  • -AddIn64.dna - a copy of the add-in master file for the 64-bit unpacked add-in.
  • -AddIn-packed.xll - the 32-bit packed (all-in-one) redistributable add-in.
  • -AddIn64-packed.xll - the 64-bit packed (all-in-one) redistributable add-in.

I have create minimal F# project

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net6.0-windows</TargetFramework>
    <GenerateDocumentationFile>true</GenerateDocumentationFile>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="Library.fs" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="ExcelDna.AddIn" Version="1.8.0-alpha1" />
  </ItemGroup>

</Project>

---
module MyFunctions

open ExcelDna.Integration

[<ExcelFunction(Description="My first .NET function")>]
let HelloDna name =
    "Hello " + name

F5 Debug works as expected, but no -packed.xll files are generated in the output directory

image

francotiveron commented 6 months ago

they are under publish (but it should specified in the readme)