DirectoryInfo inputDirInfo = new DirectoryInfo(options.InputPath);
FileInfo[] inputFiles = inputDirInfo.GetFiles("*.dll", SearchOption.AllDirectories);
- Regex rgx = new Regex("^" + options.InputPath.Replace("\\", "\\\\"));
+ Regex rgx = new Regex("^" + options.InputPath.Replace("\\", "\\\\").Replace("+", "\\+"));
foreach (var f in inputFiles)
{
Log.Info($"Processing {f.FullName} ...");
catch (Exception ex)
{
Log.Error(ex.Message);
+ Log.Error(ex.StackTrace);
Environment.Exit(1);
}
}