Adil Hussain
Adil Hussain

Reputation: 32103

Portable Class Library project - reference assemblies not installed?

I'm using Xamarin Studio Version 4.2.3 on a Mac (Starter Edition; Mono 3.2.6; Xamarin.Android Version 4.12.1; Xamarin.iOS Version 7.2.02).

I created a blank solution. I added an Android application project and an iPhone application project. Both build and run okay. Now I've added a Portable Class Library project which I want to link to from my application projects. However! My Portable Class Library project is showing up an error in my References folder for the .NET Portable Subset reference, as follows:

Framework not installed: .NETPortable,Version=v4.0,Profile=Profile136

How do I resolve this??

Additionally, when I open the Project Options window and navigate to the General section, the only Target Frameworks listed are:

No Xamarin.Android and no Xamarin.iOS...

Upvotes: 1

Views: 2432

Answers (3)

Adil Hussain
Adil Hussain

Reputation: 32103

I installed the MDK (whatever that is??) from the following directory...

http://download.xamarin.com/MonoFrameworkMDK/Macx86/MonoFramework-MDK-3.2.6.macos10.xamarin.x86.pkg

... and that fixed things for me. No need for an uninstall and reinstall of my Xamarin setup.

Note that I had to quit and restart Xamarin Studio for the change to take effect. I also restarted my Mac for good measure!

Upvotes: 2

Anubhav Ranjan
Anubhav Ranjan

Reputation: 1588

Please check you have the Mono MDK, not the MRE.

Upvotes: 3

valdetero
valdetero

Reputation: 4652

That's weird. I don't have Xbox as an option on my Mac. I have it as an option on Windows (Xamarin Studio & Visual Studio). What edition of Xamarin do you have installed?

PCL Options

Maybe you need to reinstall it?

My machine:

=== Xamarin Studio ===
Version 4.2.3 (build 60)
Runtime:
Mono 3.2.6 ((no/9b58377)
GTK+ 2.24.23 theme: Raleigh
GTK# (2.12.0.0)
Package version: 302060000

=== Apple Developer Tools ===
Xcode 5.1 (5084)

=== Xamarin.iOS ===
Version: 7.2.0.2 (Business Edition)
Hash: 58c3efa

=== Xamarin.Android ===
Version: 4.12.1 (Business Edition)

=== Xamarin.Mac ===
Xamarin.Mac: Not Installed

Upvotes: 0

Related Questions