Installing from NuGet broken

Topics: bug
Aug 5, 2011 at 1:41 AM

VS 2010, fresh project, nuget Quickgraph

-> using the basic example from the wiki

using QuickGraph;
            var edges = new SEdge<int>[] { new SEdge<int>(1, 2), new SEdge<int>(0, 1) };
            var graph = edges.ToAdjacencyGraph<intSEdge<int>>(edges);

 

The type XXX exists in both QuickGraph.dll and QuickGraph.Contracts.dll

Error 5 'QuickGraph.SEdge<int>[]' does not contain a definition for 'ToAdjacencyGraph' and the best extension method overload 'QuickGraph.GraphExtensions.ToAdjacencyGraph<TVertex,TEdge>(System.Collections.Generic.IEnumerable<TVertex>, System.Func<TVertex,System.Collections.Generic.IEnumerable<TEdge>>)' has some invalid arguments E:\git\Strive.NET\Source\Strive\Strive.Terrain\Class1.cs 17 25 Strive.Terrain

Error 7 Argument 2: cannot convert from 'QuickGraph.SEdge<int>[]' to 'System.Func<int,System.Collections.Generic.IEnumerable<QuickGraph.SEdge<int>>>' E:\git\Strive.NET\Source\Strive\Strive.Terrain\Class1.cs 17 65 Strive.Terrain