mail-archives/monodroid/2011-December/008097.html

143 строки
5.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [mono-android] Have to deploy twice from VS 2010?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Have%20to%20deploy%20twice%20from%20VS%202010%3F&In-Reply-To=4EFA59C1.5070106%40jpobst.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008096.html">
<LINK REL="Next" HREF="008099.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[mono-android] Have to deploy twice from VS 2010?</H1>
<B>Tossing, Chris</B>
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Have%20to%20deploy%20twice%20from%20VS%202010%3F&In-Reply-To=4EFA59C1.5070106%40jpobst.com"
TITLE="[mono-android] Have to deploy twice from VS 2010?">ctossing at touchcominc.com
</A><BR>
<I>Tue Dec 27 19:00:30 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="008096.html">[mono-android] Have to deploy twice from VS 2010?
</A></li>
<LI>Next message: <A HREF="008099.html">[mono-android] Have to deploy twice from VS 2010?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8097">[ date ]</a>
<a href="thread.html#8097">[ thread ]</a>
<a href="subject.html#8097">[ subject ]</a>
<a href="author.html#8097">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>It actually has the line:
&lt;AndroidApplication&gt;false&lt;/AndroidApplication&gt;
I believe that it was, in fact, originally an Application project that got used as a class library. (I was originally thinking I could use an Android application project as a &quot;Control Library&quot; of sorts - I ran into problems with that approach and abandoned it)
Wouldn't the above line indicate to the IDE that it is not deployable?
Thank you,
Chris Tossing
-----Original Message-----
From: Jonathan Pobst [mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monkey at jpobst.com</A>]
Sent: Tuesday, December 27, 2011 6:50 PM
To: Tossing, Chris
Cc: Discussions related to Mono for Android
Subject: Re: [mono-android] Have to deploy twice from VS 2010?
Hmm, class libraries shouldn't be deployable unless they have this line
in the csproj:
&lt;AndroidApplication&gt;true&lt;/AndroidApplication&gt;
Can you see if it has this line, and if so, was it originally an
application project that got used as a class library?
Thanks!
Jonathan
On 12/27/2011 5:40 PM, Tossing, Chris wrote:
&gt;<i> Jonathan,
</I>&gt;<i>
</I>&gt;<i> That fixed it!
</I>&gt;<i>
</I>&gt;<i> We only have one Android application, but we have multiple class library projects. Somehow, one of the class libraries got marked as deploy for both RELEASE and DEBUG modes. Why would a class library get recognized as deployable?
</I>&gt;<i>
</I>&gt;<i> Either way, thank you! That will save much time and irritation. We've been ignoring it for the last few weeks, but I kept meaning to send an inquiry. I'm so glad that I did!
</I>&gt;<i>
</I>&gt;<i> Thank you again,
</I>&gt;<i>
</I>&gt;<i> Chris Tossing
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> The details of this company are as follows:
</I>&gt;<i> Touchcom Inc, Registered Office: 21 North Avenue, Burlington, MA 01803.
</I>&gt;<i>
</I>&gt;<i> This communication may contain information which is confidential, personal and/or privileged.
</I>&gt;<i>
</I>&gt;<i> It is for the exclusive use of the intended recipient(s).
</I>&gt;<i> If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited.
</I>&gt;<i>
</I>&gt;<i> Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them.
</I>&gt;<i>
</I>&gt;<i> Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity.
</I>&gt;<i>
</I>&gt;<i> This e-mail has been scanned for all viruses by MessageLabs.
</I>&gt;<i>
</I>&gt;<i>
</I>
The details of this company are as follows:
Touchcom Inc, Registered Office: 21 North Avenue, Burlington, MA 01803.
This communication may contain information which is confidential, personal and/or privileged.
It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited.
Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them.
Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity.
This e-mail has been scanned for all viruses by MessageLabs.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008096.html">[mono-android] Have to deploy twice from VS 2010?
</A></li>
<LI>Next message: <A HREF="008099.html">[mono-android] Have to deploy twice from VS 2010?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8097">[ date ]</a>
<a href="thread.html#8097">[ thread ]</a>
<a href="subject.html#8097">[ subject ]</a>
<a href="author.html#8097">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
mailing list</a><br>
</body></html>