When adding a new portable class Library project using visual studio 2012, in the add target window I can't find xamarin.ios and xamarin.android.
Here is what you need to do. Follow the thread here, if you hit any issues.
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile104\SupportedFrameworks
Create a new file in the folder named 'MonoTouch.xml' and put in the following content
<?xml version="1.0" encoding="UTF-8"?> <Framework MinimumVersion="4.0" MaximumVersion="*" Profile="*" Identifier="MonoTouch" DisplayName="MonoTouch"/>
Create a new file in the folder named 'MonoAndroid.xml' and put in the following content
<?xml version="1.0" encoding="UTF-8"?> <Framework MaximumVersion="*" MinimumVersion="1.6" Profile="*" Identifier="MonoAndroid" DisplayName="Mono for Android"/>
Restart Visual Studio if it is still open
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With