Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
at System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result)
at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at System.Guid..ctor(String g)
at Ecng.Common.Converter.To(Object value, Type destinationType)
at Ecng.Common.Converter.To[T](Object value)
at StockSharp.Hydra.Core.Extensions.<GetList>b__0(String s) in c:\Hydra\Core\Extensions.cs:line 72
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at Ecng.Collections.CollectionHelper.AddRange[T](ICollection`1 source, IEnumerable`1 items)
at StockSharp.Hydra.Core.Extensions.GetList(Security security, String key) in c:\Hydra\Core\Extensions.cs:line 72
at StockSharp.Hydra.Core.Extensions.ContainsSource(Security security, String key, IMarketDataSource source) in c:\Hydra\Core\Extensions.cs:line 153
at StockSharp.Hydra.Core.Extensions.ContainsSource(Security security, Type dataType, IMarketDataSource source) in c:\Hydra\Core\Extensions.cs:line 137
at StockSharp.Hydra.Core.Extensions.ContainsSource[T](Security security, IMarketDataSource source) in c:\Hydra\Core\Extensions.cs:line 116
at StockSharp.Hydra.Core.TraderMarketDataSource.Start() in c:\Hydra\Core\TraderMarketDataSource.cs:line 74
at StockSharp.Hydra.Worker.Start(IEnumerable`1 securities) in c:\Hydra\Hydra\Worker.cs:line 257
at StockSharp.Hydra.MainWindow.Start(Boolean auto) in c:\Hydra\Hydra\MainWindow.xaml.cs:line 1012
at StockSharp.Hydra.MainWindow.StartStopClick(Object sender, RoutedEventArgs e) in c:\Hydra\Hydra\MainWindow.xaml.cs:line 735
at StockSharp.Hydra.MainWindow.OnUpdateUi(Object sender, EventArgs e) in c:\Hydra\Hydra\MainWindow.xaml.cs:line 676
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Вылетает при старте экспорта.. жалуется на вот эту строку:
Code
retVal.AddRange(str.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries).Select(s => s.To<Guid>()));