Below are the steps to make PCL work in Visual Studio.
*Make sure you install in same order
Steps to setup PCL for Visual Studio
Note: If you have already installed Xamarin for Windows, we need to reinstall Xamarin.Android to get the SupportedFramework files.
*Make sure you install in same order
Steps to setup PCL for Visual Studio
- Download and install .NET framework 4.5.1
- Download and install Mono MDK
- Download and install PortableLibraryTools2 (It contains)
- PCL 4.0 profiles: 104, 131, 14, 18, 19, 1, 23, 24, 2, 36, 37, 3, 41, 42, 46, 47, 4, 5, 6, 88, 95, 96
- PCL 4.5 profiles: 7
- PCL 4.0 and 4.5
- MSBuild targets
- Download and install Microsoft .NET Portable Library Reference Assemblies 4.6 (It contains)
- PCL 4.0 profiles: 5, 6, 14, 19, 24, 37, 42, 47, 136, 147, 158
- PCL 4.5 profiles: 7, 48, 78
- PCL 4.6 profiles: 44
- Extract the PortableReferenceAssemblies.zip (from C:\Program Files (x86)\Microsoft .NET Portable Library Reference Assemblies 4.6\PortableReferenceAssemblies.zip) into the PCL reference assemblies directory C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable.
- Download and install/reinstall Xamarin for Windows
Note: If you have already installed Xamarin for Windows, we need to reinstall Xamarin.Android to get the SupportedFramework files.