This project has moved and is read-only. For the latest updates, please go here.

Custom AssignmentDelimiter bug

Mar 4, 2014 at 8:03 AM
Found bug.
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();

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

Please get from nuget