Nic*_*iff 2 c# xamarin xamarin.forms
我有一个 Xamarin Forms 项目,大多数时候我想安装一个 nuget 包,我有一个错误说:
Install-Package : Could not install package 'Microcharts 0.7.1-pre'. You are trying to install this package into a project that targets
'.NETPortable,Version=v4.5,Profile=Profile259', but the package does not contain any assembly references or content files that are compatible with that framework.
Run Code Online (Sandbox Code Playgroud)
我假设我可以通过更改项目 .net 框架目标来解决这个问题。但是当我去更改它时,我收到一条错误消息,说它无法更改目标,因为这意味着将 nuget 升级到 3.0 而它不能这样做。
所以我的问题是:哪个是更改目标框架的最佳方式(也是最简单的),所以我在使用 nuget 包时遇到的问题较少。
| 归档时间: |
|
| 查看次数: |
2564 次 |
| 最近记录: |