Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

PCLs won't build in Xamarin Studio for Mac

$
0
0

We're trying to get a simple proof of concept app working across iOS and Android with MvvmCross using a PCL for our viewmodels, but I'm having trouble getting PCLs to build on my Mac. I know PCL support is a little shaky right now, but we're starting a major new project for our company and we really want to give MvvmCross a shot.

I've replicated the problem with a brand new PCL project created from Xamarin Studio. In this case, the build fails with the following error:

/Users/josh/Workspace/Scratch/HelloPcl/HelloPcl/HelloPcl.csproj (Build) ->
    /Library/Frameworks/Mono.framework/Versions/3.0.12/lib/mono/4.0/Microsoft.Common.targets (GetReferenceAssemblyPaths target) ->

   /Library/Frameworks/Mono.framework/Versions/3.0.12/lib/mono/4.0/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETPortable,Version=v4.0,Profile=Profile3'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.

I'm on the Alpha channel, running Xamarin Studio 4.1.4, and I have Mono 3.0.12 set as my default .NET Runtime.

What can I do to try to troubleshoot this?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>