This project is read-only.
35

Closed

Allow packages to support Mono for Android

description

Mono for Android projects use a target framework identifier of MonoAndroid. NuGet restricts the list of framework names to the ones it knows of, so it's not currently possible to create a NuGet package that will install in a Mono for Android project.

The simplest fix for this is to add the following line to the _knownIdentifiers initialization in src\Core\Utility\VersionUtility.cs:
{ "MonoAndroid", "MonoAndroid" },
Then, a package can put Mono for Android libraries in a lib/MonoAndroid2.2 folder.
Closed Mar 4, 2013 at 6:26 AM by deepakverma

comments

dotnetjunky wrote Nov 24, 2012 at 3:15 AM

Do you want to send a pull request?

stuartlodge wrote Nov 24, 2012 at 8:27 AM

Can we add simple folders for monotouch and monomac too?

dotnetjunky wrote Nov 27, 2012 at 6:35 PM

Fixed in commit ef56d0ac546920d37c35fb71ad3d612d89cff8ad