[mono-android] M4A application suddenly loses F5 (Debug =+ Start) ability
Jonathan Pobst
monkey at jpobst.com
Thu Jan 19 15:21:35 UTC 2012
On 1/19/2012 6:46 AM, Miljenko Cvjetko wrote:
> * Is this ability to start/debug app related to ProjectGuid?
> Or is it in sln file?
> I cannot find any reference which flag or where is this stored...
This is driven by there being
<AndroidApplication>true</AndroidApplication> in the project's csproj.
> * What drives adding c# code file .cs into Resources\Layout folder to
> be marked as AndroidResource!?!
> If you add cs file into Layout you have to manually change build
> action to Compile!
> Default action for cs is Compile and during adding it is changed to
> AndroidResource.
> In vstemplate there is defined folder structure, but no types of
> files in Folders.
> Is this in some pkgdef file, cos I cannot find anything related to
> M4A or in Extensions
> folder Xamarin...
This is coded into the VS addin. Anything placed into Resources is
automatically marked as AndroidResource because the intent was that only
resources would be put there.
I can add .cs as an exception so they will be left alone.
Hope this helps!
Jonathan
More information about the Monodroid
mailing list