WaltN's picture

Error in NuGet Installation of OpenTK.GLControl.dll

I wanted to try an update to V 1.1 of an existing VS 2010 project using NuGet. I opened NuGet and searched for OpenTK.GLControl. I selected the official version and clicked Install. I was impressed when I saw that the dependency on OpenTK.dll was detected and installed. But ...

When it installed OpenTK.GLControl.dll, it did exactly what the log says: It installed OpenTK.dll in the OpenTK.GLControl package folder instead of OpenTK.GLControl.dll. See the log below:

------- Installing...OpenTK.GLControl 1.1.1579.5793 -------
Attempting to resolve dependency 'OpenTK (≥ 1.1.1579.5793)'.
Installing 'OpenTK 1.1.1579.5793'.
Added file 'OpenTK.dll' to folder 'OpenTK.1.1.1579.5793\lib\NET40'.
Added file 'OpenTK.1.1.1579.5793.nuspec' to folder 'OpenTK.1.1.1579.5793'.
Added file 'OpenTK.1.1.1579.5793.nupkg' to folder 'OpenTK.1.1.1579.5793'.
Successfully installed 'OpenTK 1.1.1579.5793'.
Installing 'OpenTK.GLControl 1.1.1579.5793'.
Added file 'OpenTK.dll' to folder 'OpenTK.GLControl.1.1.1579.5793\lib\NET40'.
Added file 'OpenTK.GLControl.1.1.1579.5793.nuspec' to folder 'OpenTK.GLControl.1.1.1579.5793'.
Added file 'OpenTK.GLControl.1.1.1579.5793.nupkg' to folder 'OpenTK.GLControl.1.1.1579.5793'.
Successfully installed 'OpenTK.GLControl 1.1.1579.5793'.
Adding 'OpenTK 1.1.1579.5793' to GLControlSimple.
Removed reference 'OpenTK.dll' from project 'GLControlSimple'
Added reference 'OpenTK' to project 'GLControlSimple'
Added file 'packages.config'.
Added file 'packages.config' to project 'GLControlSimple'
Successfully added 'OpenTK 1.1.1579.5793' to GLControlSimple.
Adding 'OpenTK.GLControl 1.1.1579.5793' to GLControlSimple.
Removed reference 'OpenTK.dll' from project 'GLControlSimple'
Added reference 'OpenTK' to project 'GLControlSimple'
Added file 'packages.config'.
Successfully added 'OpenTK.GLControl 1.1.1579.5793' to GLControlSimple.
==============================

Walt


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Thanks for reporting this, would you mind opening a bug report in https://github.com/opentk/opentk/issues?

I am gradually updating the nuget scripts, so I'll make sure this is fixed.

WaltN's picture

Done. I'm back after over a two-year absence and glad I could be of help.

Walt