将 SignalR.Client Nuget 包添加到 Monogame Android 项目时出现问题
Issues adding SignalR.Client Nuget Package to a Monogame Android Project
你好 Stack Overflow 社区
我的问题就是您在标题中看到的问题,我无法将信号 R 客户端包放入我在 Visual Studio 中的项目中。尝试这样做会导致此错误。
Severity Code Description Project File Line
Error Could not install package 'Microsoft.AspNet.SignalR.Client 2.2.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v4.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0
我需要这个包,并且一直在尝试各种解决方法,但还没有成功。任何提示或信息将不胜感激。
I tried to add SignalR to an Android project and I got the very same error. I >think this could do the trick, try installing this component ( >components.xamarin.com/view/signalr ) in your android project (you will need to >remove newtonsoft json if it´s already installed) – xleon
这只是 xleons 答案的重新发布,因此我可以将问题标记为已回答我是堆栈溢出的新手,所以我希望这是合适的。
感谢@xleon 的帮助这正是我正在寻找的解决方案
你好 Stack Overflow 社区
我的问题就是您在标题中看到的问题,我无法将信号 R 客户端包放入我在 Visual Studio 中的项目中。尝试这样做会导致此错误。
Severity Code Description Project File Line Error Could not install package 'Microsoft.AspNet.SignalR.Client 2.2.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v4.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0
我需要这个包,并且一直在尝试各种解决方法,但还没有成功。任何提示或信息将不胜感激。
I tried to add SignalR to an Android project and I got the very same error. I >think this could do the trick, try installing this component ( >components.xamarin.com/view/signalr ) in your android project (you will need to >remove newtonsoft json if it´s already installed) – xleon
这只是 xleons 答案的重新发布,因此我可以将问题标记为已回答我是堆栈溢出的新手,所以我希望这是合适的。
感谢@xleon 的帮助这正是我正在寻找的解决方案