I have a whc files with relative output paths set to the same directory as where the whc file is, for example
<SourceFiles>
<string>.\MagScope_UserManual.docx</string>
</SourceFiles>
There seems to be a small bug in how the absolute paths are calculated since running this from the commandline with "ChmProcessor.exe" my.whc /g /y" results in an error, see below. Workaround is to invoke it from another directory, so ""ChmProcessor.exe" path/to/my.whc /g /y" works just fine.
"Path cannot be the empty string or all whitespace."
Stack trace:
at System.IO.Directory.SetCurrentDirectory(String path)
at ChmProcessorLib.ChmProject.MakePathsAbsolute(String filePath)
at ChmProcessorLib.ChmProject.Open(String filePath)
at ChmProcessor.ChmProcessorForm.AbrirArchivo(String archivo)
at ChmProcessor.ChmProcessorForm..ctor(String filePath)
Class:
System.ArgumentException
Data:
System.Collections.ListDictionaryInternal
Source:
mscorlib
Target site:
Void SetCurrentDirectory(System.String)
Right. Will be fixed on 1.7 version. Thank you
Diff: