[mono-android] Have to deploy twice from VS 2010?

Tossing, Chris ctossing at touchcominc.com
Tue Dec 27 19:11:41 EST 2011


My pleasure - glad to help.

Thank you,

Chris

-----Original Message-----
From: Jonathan Pobst [mailto:monkey at jpobst.com]
Sent: Tuesday, December 27, 2011 7:11 PM
To: Tossing, Chris
Cc: Discussions related to Mono for Android
Subject: Re: [mono-android] Have to deploy twice from VS 2010?

Looks like my code only looks for the existence of <AndroidApplication>
and isn't checking the actual value.  (The class library template just
doesn't have the element.)  I'll fix that up.

Thanks for the detective work to track this down!

Jonathan


On 12/27/2011 6:00 PM, Tossing, Chris wrote:
> It actually has the line:
>
> <AndroidApplication>false</AndroidApplication>
>
>
> 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 "Control Library" 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:monkey at jpobst.com]
> 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:
>
> <AndroidApplication>true</AndroidApplication>
>
> 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:
>> Jonathan,
>>
>> That fixed it!
>>
>> 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?
>>
>> 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!
>>
>> Thank you again,
>>
>> Chris Tossing
>>
>>
>> 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.
>>
>>
>
>
> 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.
>
>


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.


More information about the Monodroid mailing list