We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 273a22a + 7b1155e commit 16d0629Copy full SHA for 16d0629
1 file changed
Source/ExcelDnaPack/PackProgram.cs
@@ -38,8 +38,22 @@ 2. in the same directory as the ExcelDnaPack.exe file.
38
found next to FirstAddin.dna.
39
Other assemblies are packed if marked with Pack=""true"" in the .dna file.
40
";
41
-
42
- static void Main(string[] args)
+
+ static int Main(string[] args)
43
+ {
44
+ try
45
46
+ Pack(args);
47
+ return Environment.ExitCode;
48
+ }
49
+ catch (Exception ex)
50
51
+ Console.WriteLine(ex.ToString());
52
+ return 1;
53
54
55
56
+ static void Pack(string[] args)
57
{
58
// string testLib = @"C:\Work\ExcelDna\Version\ExcelDna-0.23\Source\ExcelDnaPack\bin\Debug\exceldna.xll";
59
// ResourceHelper.ResourceLister rl = new ResourceHelper.ResourceLister(testLib);
0 commit comments