Untappd.Net
Untappd.Net copied to clipboard
Error adding reference to Untappd.Net.dll
Hi, do you have a simple sample app that utilizes Untappd.Net? I compiled your wrapper fine but when trying to add a reference to Untappd.Net.dll I get the error:
Microsoft Visual Studio
A reference to 'bin\Debug\Untappd.Net.dll' could not be added. The project targets '.NETCore' while the file reference targets '.NETFramework'. This is not a supported scenario.
Is that because I am targeting a UWP project when I should instead be using a WinForm/.NetFramework project? I am using Visual Studio 2017.
Thanks, Rick
Hi rick,
in dotnet people typically do not download source code, but instead import packages from nuget
This project only targets the full framework, so as of now you could not use this in a UWP, or net core project. This project was made years before .net core, and really UWP was a consideration for developers.
I could port this project to .NET Standard, which would let you import it, but you would probably have to wait a few days. If you feel confident enough in dotnet, you could submit a PR porting the library, however you would have to port the code that currently uses restsharp to use HttpClient as restsharp does not support .net core as of now.
You would also have to re-write the builds to support core as well...