This project has moved. For the latest updates, please go here.

Custom AssignmentDelimiter bug

Mar 4, 2014 at 7:03 AM
Hi.
Found bug.
Example:
If set AssignmentDelimiter = ':'
then this args -path:"d:\1\" not valid parse (return "d")

For fix
In "CmdLineObject.cs"
In class "CmdLineObject"
In method "private string[] SplitArgsByDelimiter(string[] args)"
should be replaced
args = args.SelectMany(a => a.Split(delimiters, StringSplitOptions.RemoveEmptyEntries)).ToArray();

with
            args = args.SelectMany(a => a.Split(delimiters, 2, StringSplitOptions.RemoveEmptyEntries)).ToArray();
Developer
Mar 5, 2014 at 12:27 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Developer
Mar 5, 2014 at 12:43 PM
Thank you for your comment. Fixed in BizArk.Core 2.0.13

Please get from nuget