BenFradet / RiotSharp

C# wrapper for the Riot Games API
http://benfradet.github.io/RiotSharp/
MIT License
300 stars 145 forks source link

Build solution gives an error #686

Closed Zeeebas closed 3 years ago

Zeeebas commented 3 years ago

I tried to build the repo but it gives these errors. I am fairly sure I am doing something wrong. Could someone help me out?

image

xXLAOKOONXx commented 3 years ago

In the readme you can find an explaination on how to build your own nuget package. After creation you can use the nuget in your other projects then. The issues you have I have never seen before. But it looks like following the nuget guide should help. If not maybe try to delete the project and clone it again.

Zeeebas commented 3 years ago

Running dotnet pack /p:Configuration=Release in the Developer command prompt gives for even more errors.

image

I tried running these on my PC, (other visual studios 2019) and it works fine. So I guess it's a local thing...

Edit: I made it work and installed the newest .nupkg file on my PC. I created a local nuget feed on my laptop and transferred the .nugkg file and installed it on my laptop.

This was my first time doing this so it was a bit of a struggle...

xXLAOKOONXx commented 3 years ago

Nice. If you want to update the nuget later on it is not simply exchanging the nuget file. But you should deinstall and install it.