[mono-android] Build script on mac
monkey at jpobst.com
Sun Feb 19 07:21:16 UTC 2012
This is the Monodroid list, so it was assumed you were trying to build a
Monodroid project. If you are trying to build a MonoMac project, you
may have to use mdtool. (I do not know if MonoMac has xbuild support.)
For MonoMac, try this list:
On 2/19/2012 1:07 AM, Steven Pack wrote:
> Where are all the targets defined? And how do import them? Specifying
> any of those simply throws a target not found error. It looks like
> xbuild does try to import Mono.MonoMac.targets which I assume is where
> they are located...? The file it's looking for is not there.
> I do have some target files here:
> e.g. Novell.MonoDroid.Build.Tasks.dll and Novel.MonoDroid.CSharp.targets.
> Also, how do I specifiy Clean and RebuildAll? Are they just targets?
> warning : Could not find project file
> to import. Ignoring.
> Project "/Users/me/Dev/mono/projects/TheDictionary/TheDictionary.sln"
> (SignAndroidPackage target(s)):
> Target ValidateSolutionConfiguration:
> Building solution configuration "Debug|Any CPU".
> /Users/me/Dev/mono/projects/TheDictionary/TheDictionary.sln: error :
> Target named 'SignAndroidPackage' not found in the project.
> Done building project
> "/Users/me/Dev/mono/projects/TheDictionary/TheDictionary.sln".-- FAILED
> *From:* Jonathan Pryor <jonp at xamarin.com>
> *To:* Steven Pack <steven_john_pack at yahoo.com.au>; Discussions related
> to Mono for Android <monodroid at lists.ximian.com>
> *Sent:* Sunday, 19 February 2012 2:38 AM
> *Subject:* Re: [mono-android] Build script on mac
> On Feb 18, 2012, at 7:09 AM, Steven Pack wrote:
> > Any issues I should be aware of with xbuild? Or is that the way?
> xbuild is the way. Other helpful targets include:
> Install app onto a device. If you have more than one device running, use
> /p:AdbTarget, e.g. to install on emulator /p:AdbTarget=-e
> Uninstall app from a device. If you have more than one device running,
> use /p:AdbTarget, e.g. to install on emulator /p:AdbTarget=-e
> Create the .apk
> - Jon
> Monodroid mailing list
> Monodroid at lists.ximian.com
> UNSUBSCRIBE INFORMATION:
More information about the Monodroid