microsoft / automatic-graph-layout

A set of tools for graph layout and viewing
Other
1.36k stars 304 forks source link

When i try to install GraphViewerGDI nuget package got error #240

Closed yasirerkam closed 4 years ago

yasirerkam commented 4 years ago

"Install-Package : Could not install package 'AutomaticGraphLayout.GraphViewerGDI 1.1.7'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author."

Maybe adding 'lib/net45' target can fix this issue?

<package>
  <metadata>
    ...
  </metadata>
  <files>
    <file src="bin\Release\*.*" target="lib/net45" />
  </files>
</package>
yasirerkam commented 4 years ago

ok i found GraphViewerGDI project using .net47 (GraphLayout/tools/GraphViewerGDI/GraphViewerGDI.nuspec). changind my project to .net47 fix the problem but please specify "GraphViewerGDI use .net47" in README.md file.