Skip to content

Commit 501b857

Browse files
FabianFabian
Fabian
authored and
Fabian
committed
Amended configuration
1 parent b03c441 commit 501b857

File tree

3 files changed

+63
-34
lines changed

3 files changed

+63
-34
lines changed

ExcelScript/AddinFunctions/Register.cs

+1-7
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,7 @@ public static object Register(
3939

4040
return "Registered.";
4141
}
42-
43-
[ExcelFunction]
44-
public static object __DEBUG__TEXT(Excel.Range r)
45-
{
46-
return r.Address;
47-
}
48-
42+
4943
private static ExcelFunctionRegistration ToExcelFunctionRegistration(IScript script, string FunctionName)
5044
{
5145
var paramExprs = script

ExcelScript/ExcelScript-AddIn.dna

+60-26
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,64 @@
11
<DnaLibrary Name="ExcelScript Add-In" RuntimeVersion="v4.0">
22
<ExternalLibrary Path="ExcelScript.dll" LoadFromBytes="true" Pack="true" ExplicitRegistration="true" />
3-
<Reference Path="System.Reflection.Metadata.dll" Pack="true" />
4-
<Reference Path="System.Collections.Immutable.dll" Pack="true" />
5-
<Reference Path="System.Console.dll" Pack="true" />
6-
<Reference Path="System.Diagnostics.FileVersionInfo.dll" Pack="true" />
7-
<Reference Path="System.Diagnostics.StackTrace.dll" Pack="true" />
8-
<Reference Path="System.IO.FileSystem.dll" Pack="true" />
9-
<Reference Path="System.IO.FileSystem.Primitives.dll" Pack="true" />
10-
<Reference Path="System.Security.Cryptography.Algorithms.dll" Pack="true" />
11-
<Reference Path="System.Security.Cryptography.Encoding.dll" Pack="true" />
12-
<Reference Path="System.Security.Cryptography.Primitives.dll" Pack="true" />
3+
<Reference Path="CommonUtilities.dll" Pack="true" />
4+
<Reference Path="ExcelApi.dll" Pack="true" />
5+
<Reference Path="ExcelDna.IntelliSense.dll" Pack="true" />
6+
<Reference Path="ExcelDna.Registration.dll" Pack="true" />
7+
<Reference Path="Interop.UIAutomationClient.dll" Pack="true" />
8+
<Reference Path="Irony.dll" Pack="true" />
9+
<Reference Path="log4net.dll" Pack="true" />
10+
<Reference Path="Microsoft.Build.dll" Pack="true" />
11+
<Reference Path="Microsoft.Build.Engine.dll" Pack="true" />
12+
<Reference Path="Microsoft.Build.Framework.dll" Pack="true" />
13+
<Reference Path="Microsoft.Build.Tasks.Core.dll" Pack="true" />
14+
<Reference Path="Microsoft.Build.Utilities.Core.dll" Pack="true" />
15+
<Reference Path="Microsoft.CodeAnalysis.CSharp.dll" Pack="true" />
16+
<Reference Path="Microsoft.CodeAnalysis.CSharp.Features.dll" Pack="true" />
17+
<Reference Path="Microsoft.CodeAnalysis.CSharp.Scripting.dll" Pack="true" />
18+
<Reference Path="Microsoft.CodeAnalysis.CSharp.Workspaces.dll" Pack="true" />
19+
<Reference Path="Microsoft.CodeAnalysis.dll" Pack="true" />
20+
<Reference Path="Microsoft.CodeAnalysis.Features.dll" Pack="true" />
21+
<Reference Path="Microsoft.CodeAnalysis.Scripting.dll" Pack="true" />
22+
<Reference Path="Microsoft.CodeAnalysis.VisualBasic.dll" Pack="true" />
23+
<Reference Path="Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll" Pack="true" />
24+
<Reference Path="Microsoft.CodeAnalysis.Workspaces.Desktop.dll" Pack="true" />
25+
<Reference Path="Microsoft.CodeAnalysis.Workspaces.dll" Pack="true" />
26+
<Reference Path="NetOffice.dll" Pack="true" />
27+
<Reference Path="Ninject.dll" Pack="true" />
28+
<Reference Path="Ninject.Extensions.Logging.dll" Pack="true" />
29+
<Reference Path="Ninject.Extensions.Logging.Log4Net.dll" Pack="true" />
30+
<Reference Path="ObjectStorage.dll" Pack="true" />
31+
<Reference Path="ObjectStorageAbstractions.dll" Pack="true" />
32+
<Reference Path="OfficeApi.dll" Pack="true" />
33+
<Reference Path="RoslynScriptGlobals.dll" Pack="true" />
34+
<Reference Path="RoslynScripting.dll" Pack="true" />
35+
<Reference Path="ScriptingAbstractions.dll" Pack="true" />
36+
<Reference Path="stdole.dll" Pack="true" />
37+
<Reference Path="System.AppContext.dll" Pack="true" />
38+
<Reference Path="System.Collections.Immutable.dll" Pack="true" />
39+
<Reference Path="System.Composition.AttributedModel.dll" Pack="true" />
40+
<Reference Path="System.Composition.Convention.dll" Pack="true" />
41+
<Reference Path="System.Composition.Hosting.dll" Pack="true" />
42+
<Reference Path="System.Composition.Runtime.dll" Pack="true" />
43+
<Reference Path="System.Composition.TypedParts.dll" Pack="true" />
44+
<Reference Path="System.Console.dll" Pack="true" />
45+
<Reference Path="System.Diagnostics.FileVersionInfo.dll" Pack="true" />
46+
<Reference Path="System.Diagnostics.StackTrace.dll" Pack="true" />
47+
<Reference Path="System.IO.Compression.dll" Pack="true" />
48+
<Reference Path="System.IO.FileSystem.dll" Pack="true" />
49+
<Reference Path="System.IO.FileSystem.Primitives.dll" Pack="true" />
50+
<Reference Path="System.Reflection.Metadata.dll" Pack="true" />
51+
<Reference Path="System.Runtime.InteropServices.RuntimeInformation.dll" Pack="true" />
52+
<Reference Path="System.Security.Cryptography.Algorithms.dll" Pack="true" />
53+
<Reference Path="System.Security.Cryptography.Encoding.dll" Pack="true" />
54+
<Reference Path="System.Security.Cryptography.Primitives.dll" Pack="true" />
1355
<Reference Path="System.Security.Cryptography.X509Certificates.dll" Pack="true" />
14-
<Reference Path="System.Text.Encoding.CodePages.dll" Pack="true" />
15-
<Reference Path="System.Threading.Thread.dll" Pack="true" />
16-
<Reference Path="System.Xml.XmlDocument.dll" Pack="true" />
17-
<Reference Path="System.Xml.XPath.dll" Pack="true" />
18-
<Reference Path="System.Xml.XPath.XDocument.dll" Pack="true" />
19-
<Reference Path="Microsoft.CodeAnalysis.CSharp.dll" Pack="true" />
20-
<Reference Path="Microsoft.CodeAnalysis.CSharp.Scripting.dll" Pack="true" />
21-
<Reference Path="Microsoft.CodeAnalysis.dll" Pack="true" />
22-
<Reference Path="Microsoft.CodeAnalysis.Scripting.dll" Pack="true" />
23-
<Reference Path="RoslynScripting.dll" Pack="true" />
24-
<Reference Path="System.AppContext.dll" Pack="true" />
25-
<Reference Path="ExcelDna.IntelliSense.dll" Pack="true" />
26-
<Reference Path="UIAComWrapper.dll" Pack="true" />
27-
<Reference Path="Interop.UIAutomationClient.dll" Pack="true" />
28-
<Reference Path="XLParser.dll" Pack="true" />
29-
<Reference Path="Irony.dll" Pack="true" />
56+
<Reference Path="System.Text.Encoding.CodePages.dll" Pack="true" />
57+
<Reference Path="System.Threading.Thread.dll" Pack="true" />
58+
<Reference Path="System.Xml.XmlDocument.dll" Pack="true" />
59+
<Reference Path="System.Xml.XPath.dll" Pack="true" />
60+
<Reference Path="System.Xml.XPath.XDocument.dll" Pack="true" />
61+
<Reference Path="UIAComWrapper.dll" Pack="true" />
62+
<Reference Path="VBIDEApi.dll" Pack="true" />
63+
<Reference Path="XLParser.dll" Pack="true" />
3064
</DnaLibrary>

ExcelScript/ExcelScript.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</Reference>
3737
<Reference Include="ExcelDna.Integration, Version=0.33.5730.40390, Culture=neutral, processorArchitecture=MSIL">
3838
<HintPath>..\packages\ExcelDna.Integration.0.33.9\lib\ExcelDna.Integration.dll</HintPath>
39-
<Private>False</Private>
39+
<Private>True</Private>
4040
</Reference>
4141
<Reference Include="ExcelDna.IntelliSense, Version=1.0.0.1547, Culture=neutral, processorArchitecture=MSIL">
4242
<HintPath>..\packages\ExcelDna.IntelliSense.1.0.0\lib\net40\ExcelDna.IntelliSense.dll</HintPath>
@@ -315,6 +315,7 @@
315315
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
316316
<PropertyGroup>
317317
<PostBuildEvent>xcopy "$(SolutionDir)\packages\ExcelDna.AddIn.0.33.9\tools\ExcelDna.xll" "$(TargetDir)ExcelScript-AddIn.xll*" /C /Y
318+
xcopy "$(SolutionDir)\packages\ExcelDna.AddIn.0.33.9\tools\ExcelDna64.xll" "$(TargetDir)ExcelScript-AddIn64.xll*" /C /Y
318319
xcopy "$(SolutionDir)\Resources\Examples.xlsm*" "$(TargetDir)Examples.xlsm*" /C /Y
319320
xcopy "$(TargetDir)ExcelScript-AddIn.dna*" "$(TargetDir)ExcelScript-AddIn64.dna*" /C /Y
320321
xcopy "$(TargetDir)ExcelScript-AddIn.xll.config*" "$(TargetDir)ExcelScript-AddIn64.xll.config*" /C /Y

0 commit comments

Comments
 (0)