Zip only went 1000 days...

Added Create Note Files
Changed to Path.Combine
This commit is contained in:
2022-05-26 11:15:45 -07:00
parent 0987ee8b80
commit 81472165f7
7 changed files with 66 additions and 14 deletions

View File

@ -13,10 +13,10 @@ internal static class HelperILMerge
StringBuilder stringBuilder = new();
string[] successChecks = new string[] { "success" };
string[] errorChecks = new string[] { "Error", "Conflict", "error:" };
FileInfo ilMerge = new("C:/Users/phares/AppData/Local/IFXApps/ILMerge/ILMerge.exe");
string[] dllFiles = Directory.GetFiles(workingDirectory, "*.dll", SearchOption.TopDirectoryOnly);
string errorFile = Path.Combine(workingDirectory, string.Concat(Path.GetFileName(workingDirectory), ".err"));
string primaryFile = Path.Combine(workingDirectory, string.Concat(Path.GetFileName(workingDirectory), ".dll"));
string[] dllFiles = Directory.GetFiles(workingDirectory, "*.dll", SearchOption.TopDirectoryOnly);
FileInfo ilMerge = new(@"C:\Users\phares\AppData\Local\IFXApps\ILMerge\ILMerge.exe");
FileInfo fileInfo = new(Path.Combine(workingDirectory, ilMerge.Name));
if (!fileInfo.Exists)
_ = ilMerge.CopyTo(fileInfo.FullName);