简体   繁体   中英

Xamarin - Add PCL project to SAP?

In the free book "Creating Mobille Apps with Xamarin.Forms" It states:

If you've created a Xamarin.Forms solution with a Shared Asset Project, you can add a new PCL project to the solution by selecting the Class Library (Xamarin.Forms Portable) template.

How would I go about doing this? I've added reference to each of the platform projects.

It is said that you can refer a PCL project when you use a SAP. But, very honestly I dont see the use of adding both SAP and PCL. Its normally either one of them. But If you need to add aa PCL project to the exisitng project, you should refer them in the native project.

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