bryanhitc / lcu-sharp

An API wrapper for the League of Legends client.
MIT License
44 stars 10 forks source link

It needs System.Runtime 5.0.0.0 #19

Closed BULL3TB0T closed 3 years ago

BULL3TB0T commented 3 years ago

I can't add the LeagueApi to the Project. This is the error CS1705 Assembly 'LCUSharp' with identity 'LCUSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

I tried installing the latest runtime but didn't work.

bryanhitc commented 3 years ago

This library now targets .NET 5.0, meaning you must use a runtime compatible with it. Please see #16 and its associated PR for context. Let me know if you have any additional questions.