<DnaLibrary Name="AVAFinancialTools Add-In" RuntimeVersion="v4.0"> <ExternalLibrary Path="AVAFinancialTools.dll" LoadFromBytes="true" Pack="true" /> <Reference Path="ExcelDna.IntelliSense.dll" Pack="true" /></DnaLibrary>
System.ComponentModel.Win32Exception: The parameter is incorrect
at ResourceHelper.ResourceUpdater.RemoveResource(String typeName, String name)
at ExcelDnaPack.PackProgram.Pack(String[] args)
at ExcelDnaPack.PackProgram.Main(String[] args)--
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 post to this group, send email to exce...@googlegroups.com.
Visit this group at https://groups.google.com/group/exceldna.
For more options, visit https://groups.google.com/d/optout.
I stand corrected. I thought it worked, but when I try moving AVAToolkit-AddIn-packed.dll to someone else's machine the function works but Intellisense doesn't. Can I have a few ideas of things to try?
--
<DnaLibrary Name="IntelliTest Add-In" RuntimeVersion="v4.0"> <ExternalLibrary Path="IntelliTest.dll" LoadFromBytes="true" Pack="true" /> <Reference Path="ExcelDna.IntelliSense.dll" Pack="true" /> <Reference Path="UIAComWrapper.dll" Pack="true" /> <Reference Path="Interop.UIAutomationClient.dll" Pack="true" /> </DnaLibrary>
using System;using System.Collections.Generic;using System.Linq;using System.Text;using ExcelDna.Integration;using ExcelDna.IntelliSense;
namespace AVAToolkit{ public class MainToolkit : IExcelAddIn {
public void AutoOpen() {
IntelliSenseServer.Register();
}
public void AutoClose() {
}
[ExcelFunction(Description = "My first .NET function")] public static string HelloDnaWithIntellisense( [ExcelArgument(Name = "nameVar", Description = "A name parameter")] string name) { return "Hello " + name; } }}
<DnaLibrary Name="AVAToolkit Add-In" RuntimeVersion="v4.0"> <ExternalLibrary Path="AVAToolkit.dll" LoadFromBytes="true" Pack="true" /> <Reference Path="ExcelDna.IntelliSense.dll" Pack="true" /> <Reference Path="UIAComWrapper.dll" Pack="true" /> <Reference Path="Interop.UIAutomationClient.dll" Pack="true" /></DnaLibrary>