build the .apk:
msbuild.exe MyApp.csproj /p:Configuration=Release /t:PackageForAndroid

or build and sign the .apk:
msbuild.exe MyApp.csproj /p:Configuration=Release /t:SignAndroidPackage

Jonathan


On 10/18/2011 3:55 PM, Dustin Sprick wrote:
> Is there a way to build the .apk without deploying it to the device?
> I am using VS2010 and building the solution, but that does not actually
> package the application.
> Mono seems to package it on the deploy step. Can this be done without a
> device attached?
>
> I am building an install script that creates the apk file and want it to
> be automated.
>
> *reply Build -> Package project for Android(.apk) >> El-Sayed
> close, but not exactly what I am trying to do, unless there is a command
> line.
>
> Clarity:
>
> Is there a command line argument for that specific "Package project for
> Android(.apk)"?
> I don't want to open VS and click a build option. Looking for an
> Automated way to get the package.
>
>
>
>
> _______________________________________________
> 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