Compiling Zentity RRS feed

  • Question

  • While building the solution in Visual Studio I get this error :

    Error 686 'System.Collections.ObjectModel.ObservableCollection<Zentity.VisualExplorer.VisualExplorerService.Node>' does not contain a definition for 'ToList' and the best extension method overload 'System.Linq.Enumerable.ToList<TSource>(System.Collections.Generic.IEnumerable<TSource>)' has some invalid arguments C:\Zentity_Main\Product\Zentity.VisualExplorer\Controller.cs 1045 17 Zentity.VisualExplorer

    Along with other 4 errors similar to these one. Does anyone has any idea of what could be the solution to this problem? (B.T.W. There doesn't seem to be any references problem)

    Wednesday, July 13, 2011 3:07 AM

All replies

  • Can you provide the code excerpt.

    This error is not in the Zentity “original” source code.

    This might not be helpful I guess, but here is a correct use of Observable collection tolist

    ObservableCollection<string> obs = new ObservableCollection<string>();





                List<string> ls = obs.ToList<string>();


    If you can provide me the code excerpt or tell me what you are wanting to do will help me to provide a useful answer.


    Wednesday, July 13, 2011 7:39 AM