Very weird, there must be some sort of difference between your 2 project files for them to behave differently.

You can either try to find this difference yourself, or you can send them to me privately if possible.

Jonathan


On 1/19/2012 1:56 PM, Miljenko Cvjetko wrote:
Hi Jonathan

and thanks a lot

On 2012.01.19 16:21, Jonathan Pobst wrote:
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.
OK. There are 2 projects one older which has no problems I can start it
and another one with
issues.
Both have
<AndroidApplication>true</AndroidApplication>
in

peeking into project properties

Older project w/o problems:



this project where I have removed stuff from Layout dir:



Not implemented?

This second project file had only inconsistent line-endings, so I fixed
it...


* 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.
For us, it is ok, we have Item templates that take care of it...
Maybe it would be less confusing for novices and others.
It takes some time to grasp message like:
"Already defines resource with the same name"
And there are only File.axml and File.axml.cs.
It is not "standard" VS behaviour


regards

mel

Hope this helps!
Jonathan


--
Miljenko Cvjetko dipl.ing. ET
        Direktor/CEO
        Projektant rješenja/Solution Architect  
        Razvojni programer/Senior developer
        Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e:mcvje...@holisticware.net
w:http://www.holisticware.net


_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to