Hi Govert,
I have one more weird one -- I have an add-in that causes Excel to leave a ghost instance after closing Excel when I load the packed version ...but if I instead deploy the unpacked files, no ghost instance occurs. It's the 64-bit xll, and FYI that I do rename the packed file after packing it in case that matters.
I'm going to keep digging and will try to create and send a simple project that exhibits this, but wanted to post in case you are already aware of anything that may cause such behavior.
Below is my packing config to show the settings and libraries being packed.
Thanks,
Brian
<ExternalLibrary Path="My.Excel.AddIn.dll" LoadFromBytes="true" Pack="true" ExplicitExports="false" ExplicitRegistration="true" IncludePdb="false" />
<Reference Path="BouncyCastle.Cryptography.dll" Pack="true" />
<Reference Path="CsvHelper.dll" Pack="true" />
<Reference Path="DocumentFormat.OpenXml.dll" Pack="true" />
<Reference Path="DocumentFormat.OpenXml.Framework.dll" Pack="true" />
<Reference Path="ExcelDna.IntelliSense.dll" Pack="true" />
<Reference Path="ICSharpCode.SharpZipLib.dll" Pack="true" />
<Reference Path="Microsoft.Bcl.AsyncInterfaces.dll" Pack="true" />
<Reference Path="Microsoft.Bcl.HashCode.dll" Pack="true" />
<Reference Path="Microsoft.Exchange.WebServices.dll" Pack="true" />
<Reference Path="Microsoft.Extensions.DependencyInjection.Abstractions.dll" Pack="true" />
<Reference Path="Microsoft.Extensions.Logging.Abstractions.dll" Pack="true" />
<Reference Path="Microsoft.VisualStudio.Imaging.Interop.14.0.DesignTime.dll" Pack="true" />
<Reference Path="Microsoft.VisualStudio.Interop.dll" Pack="true" />
<Reference Path="Renci.SshNet.dll" Pack="true" />
<Reference Path="System.Buffers.dll" Pack="true" />
<Reference Path="System.Formats.Asn1.dll" Pack="true" />
<Reference Path="System.IO.Pipelines.dll" Pack="true" />
<Reference Path="System.Memory.dll" Pack="true" />
<Reference Path="System.Numerics.Vectors.dll" Pack="true" />
<Reference Path="System.Runtime.CompilerServices.Unsafe.dll" Pack="true" />
<Reference Path="System.Text.Encodings.Web.dll" Pack="true" />
<Reference Path="System.Text.Json.dll" Pack="true" />
<Reference Path="System.Threading.Tasks.Extensions.dll" Pack="true" />
<Reference Path="System.ValueTuple.dll" Pack="true" />
<Reference Path="My.Excel.AddIn.Windows.dll" Pack="true" />