SAP in PCL

Jakob Aagesen 1 Reputation point
2021-02-20T11:00:38.917+00:00

Hi all
Is it possible to reference a Shared Access Project from a Portable Class Library?
I have started a Xamarin project and i would like to create a SAP to reference from the Xamarin.Forms project.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 21,725 Reputation points
    2023-08-01T18:45:53.99+00:00

    Use a Portable Class Library (PCL) or .NET Standard library for your shared code. These libraries can be referenced from both Xamarin.forms and platform-specific projects.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.