如何将 json.net 添加到 Xamarin Forms、原生项目或 PCL?

How to add json.net to Xamarin Forms, on the native projects or on the PCL?

我正在使用 Xamarin Forms 开发一个应用程序,我需要将 json.net 添加到 Nugat 的项目中(我认为)我需要在每个本机项目上这样做还是可以在PCL 项目

谢谢 Shimon

您应该只需要将它添加到您的核心 PCL 项目中。