Thanks Jonathan,

I actually *am* compiling a monodroid app. I don't know why it's trying to 
include MonoMac. That's also why I was asking where the configuration is to 
tell xbuild which target files to include, because it's obviously including the 
wrong ones.

Steve



________________________________
 From: Jonathan Pobst <mon...@jpobst.com>
To: Steven Pack <steven_john_p...@yahoo.com.au>; Discussions related to Mono 
for Android <monodroid@lists.ximian.com> 
Cc: Jonathan Pryor <j...@xamarin.com> 
Sent: Sunday, 19 February 2012 6:21 PM
Subject: Re: [mono-android] Build script on mac
 
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:
http://lists.ximian.com/mailman/listinfo/mono-osx

Jonathan


On 2/19/2012 1:07 AM, Steven Pack wrote:
> Thanks.
>
> 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:
> /Library/Frameworks/Mono.framework/External/xbuild/Novell
>
> e.g. Novell.MonoDroid.Build.Tasks.dll and Novel.MonoDroid.CSharp.targets.
>
> Also, how do I specifiy Clean and RebuildAll? Are they just targets?
>
>
> /Users/me/Dev/mono/projects/TheDictionary/TheDictionary.SetupTasks/TheDictionary.SetupTasks.csproj:
> warning : Could not find project file
> /Library/Frameworks/Mono.framework/External/xbuild/Mono/MonoMac/v0.0/Mono.MonoMac.targets,
> 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 <j...@xamarin.com>
> *To:* Steven Pack <steven_john_p...@yahoo.com.au>; Discussions related
> to Mono for Android <monodroid@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:
>
> /t:Install
> 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
> /t:Uninstall
> 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
> /t:SignAndroidPackage
> Create the .apk
>
> - Jon
>
>
>
>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to