So I am currently in Google Nuget Hell at the moment with respect to using their OAuth2 Protocol. The interesting thing is the binding error does not occur while running the code in a console app, it only shows up after I compiled into a class library and tried to use it from there. Evidently the error also shows up when compiling for Winforms.

I followed all the steps from this stack overflow post as well as this one to include making a completely new project and re-downloading all the associated NUGET packages.

I am currently in the process of getting all the applicable source code files and I am just going to rebuild them manually against the appropriate System.Net libraries, however I was just wondering if anyone else has experienced this or perhaps knows of an easier process while I plug away.

Additionally, and the main question of this post, why would it work in the console app, but not in a class library. What changes with the bindings?