Skip to content

PCL Project support

DDReaper edited this page Apr 30, 2013 · 2 revisions

Two recent initiatives with MonoGame add PCL support, to be able to open the source projects that use PCL projects in either Xamarin studio (v2.0.3+) or Visual Studio you need to install the PCL project targets for Mono Frameworks.

This is a very simple task or which full instructs and the .target XML files are contained in the "PCL Targets" folder in source.

Install instructions

Place .XML files from the "PCL Targets" folder (currently hosted on http://bit.ly/12gT7Iv for now) in the following folder on your development machine to include Mono framework support for PCL assemblies: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETPortable\v4.0\Profile\Profile2\SupportedFrameworks

(Note on some machines it may need to be in a different profile, try the following if it DOESN'T work) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETPortable\v4.0\Profile\Profile104\SupportedFrameworks

**Note Shortcuts exist in the "PCL Targets" folder in source that point to these directories specifically

32 Bit development machines addendum

If you are running on a 32 bit development machine replace "Program Files (x86)" folder name with "Program Files" to target the correct destination.

**Note Hopefully these workarounds are temporary until Xamarin release their PCL support officially

Clone this wiki locally