I have a MonoMac project(and related projects in the sln, shared from another solution) which works perfectly fine on both Debug & Release & Build server.
The Target Frameworks on projects are ".Net Framework 4.5.1". Note its not "Mono/.Net 4.5".
Now when I select "bundle mono with the app" option in my MonoMac project, it fails to build.
" Error MM1403: Directory /Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5.1 could not be found. Target framework '4.5.1' is unusable to package the application. (MM1403) "
Indeed the folder 4.5.1 is missing. I see only folders 2.0, 3.5, 4.0 & 4.5.
I installed the latest mono from Nov 17th 2015 to see if it creates a 4.5.1 folder, which it did not.
How can I go about resolving this issue?
Side Note - If I change the project target framework to "Mono/.Net 4.5"(all projects), it builds, because that folder is present in the machine.
But then the app will not launch, so that doesn't help.
Also I cannot just change all projects to Mono/.Net 4.5, since some of them are shared.
If .net 4.5.1(or folder) is missing from my system, then how come it runs perfectly when I run the project from Xamarin?
And why is it not able to bundle the dlls from wherever Xamarin uses to run the app?
Xamarin Studio V5.10(Build 871) on Mac 10.10.4