[Build] Fix error about dummy assemby output path
authorWonyoung Choi <wy80.choi@samsung.com>
Tue, 11 Dec 2018 08:25:44 +0000 (17:25 +0900)
committerWonyoung Choi <wy80.choi@samsung.com>
Tue, 11 Dec 2018 08:25:44 +0000 (17:25 +0900)
tools/src/GenDummy/Program.cs

index e1d40c7abcbe3aeb5253ce9ac49ac0213fa47c21..0241b9e68ffd58d3d263fbd1bc9535711c06a47e 100644 (file)
@@ -55,7 +55,7 @@ namespace GenDummy
                 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} ...");
@@ -84,6 +84,7 @@ namespace GenDummy
             catch (Exception ex)
             {
                 Log.Error(ex.Message);
+                Log.Error(ex.StackTrace);
                 Environment.Exit(1);
             }
         }