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 <[email protected]>
To: Steven Pack <[email protected]>; Discussions related to Mono
for Android <[email protected]>
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
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid