将 Exceptionless NuGet 包引用到 Xamarin 项目时出错

Error on referencing Exceptionless NuGet package to Xamarin projects

我在引用我的 Exceptionless 包时遇到问题。有没有人尝试过将 Exceptionless 引用到 Xamarin 项目?我在引用它时遇到错误。

问题:

  1. 我使用哪种 Exceptionless 项目类型?是控制台和服务应用程序吗?
  2. 我参考了什么包?例外还是Exceptionless.Portable?

错误信息:

Could not install package 'System.Security.Principal.Windows 4.0.0'. You are trying to install this package into a project that targets 'Xamarin.iOS,Version=v1.0', 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.

我已经实施了几个解决方案,none 现在对我有用。我尝试将该包引用到一个可移植的 class 库项目,但出现了同样的错误。希望有人以前尝试过这个并且可以帮助我解决问题。谢谢

这是由一位 Exceptionless 成员 Blake Niemyjski 回答的。谢谢!

问题解答:

  1. You'd need to install the Exceptionless package (Console and Service Applications).
  2. Just the latest Exceptionless package.


引用错误解决方法:

I'm on version 6.1.0 but the way I installed it to was the portable project they generate and I changed the profile to:

Then I was able to reference exceptionless. I know they added support for .net standard but I've yet to get that to work in any of my samples. Can you please try this and let me know.

全期 link here.