简体   繁体   中英

Add System-package to Xamarin PCL project

I have multiple PCL projects and one iOS project in my solution. When I click

References -> Edit

References in the iOS project, i get a list of multiple packages that i could add, including eg System.Json. In the PCL projects, this list doesn't contain the System-packages. Is it possible to add System-packages like System.Json to a PCL project?

Thanks!

The System... DLL:s are generally intended for a specific platform target, so No, you cannot normally add these to your PCL project.

If you are specifically looking for JSON functionality, you might want to consider using Json.NET , which is available for PCL.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM