Closed TetteDev closed 5 years ago
Can confirm.
Causes context.BaseDirectory
to become \
which causes that exception as \
is not a valid URI
Replacing line 92 with
context.BaseDirectory = Path.Combine(Environment.CurrentDirectory, parameters.Project.BaseDirectory.TrimEnd(Path.DirectorySeparatorChar) + "." + Path.DirectorySeparatorChar);
as user @hollow87 recommended fixed this issue!
Describe the bug Encounter this error when trying to protect an exectuable.
To Reproduce Calling the cli program like this
var psi = new ProcessStartInfo(Path.Combine(Application.StartupPath, "Confuser.CLI.exe")) { Arguments = args, UseShellExecute = false, CreateNoWindow = false }; Process.Start(psi);
the arguments passed are
-o <my outputpath> <filename of file I want to protect
The exact arguments can be seen at the top of the screenshotScreenshots![image](https://user-images.githubusercontent.com/6103339/45908107-1154a100-bdfb-11e8-96e8-a47b11aac4c2.png)
Encountered the same issue with the non-fork version of confuser too