Tuesday, June 24, 2014

Portable Class Library(PCL) setup for Visual Studio

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
  • 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
  • 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.

Note: If you have already installed Xamarin for Windows, we need to reinstall Xamarin.Android to get the SupportedFramework files.

4 comments:

  1. Thanks a lot for this topic. I would also make a comment.
    Please find the comments for
    http://forums.xamarin.com/discussion/12105/pcl-in-xamarin-studio
    it's said that PLT should be installed with /buildmachine flag.
    I think it's important.

    ReplyDelete