Hello, This is failing for me. I'm using VS2010 for writting code and Monodevelop for the layout files. My project references a M4A Android Class Library project so that it has no "Resources" folder and no layouts. When I try to open a layout I created with Monodevelop, in the project I'm working with, I get this error message in VS2010:
"Could not find a part of the path 'PathToMyReferencedProject\Resources\'." So I manually created "Resources" folder with "Drawable", "Layout" and "Values" folders on the referenced project. Now the layout files try to load but end up with this message: "The layout could not be loaded. Layout resource could not be found." I guess that's because Resource.Designer.cs (automatically generated file) is missing in that project. I wonder why a referenced Class Library project would need all this when layouts are in another application project and not using any resource from that project. Am I doing anything wrong or is there way to fix that in VS2010? All this works fine in Monodevelop. Thanks in advance. Best Regards, Narcís Calvet Steema Software http://www.steema.com http://twitter.com/SteemaSoftware https://www.facebook.com/SteemaSoftware -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Atsushi Eno Sent: divendres, 27 / abril / 2012 08:35 To: Discussions related to Mono for Android Subject: Re: [mono-android] How to open the Layout Designer in VS 2010 ? On VS 2010, create a new project, open Resources/layout/Main.axml and see if it shows up for you. Any android layout resource XML file under that layout directory should open the designer (no new project is actually required). Atsushi Eno moelski wrote: > Hi @all, > > maybe I´m blinded but where / how can I open the new Layout Editor in > VS 2010? > Installed the latest Alpha but can´t find it > > Dominik > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/How-to-open-the-Layout-D > esigner-in-VS-2010-tp5669287p5669287.html > Sent from the Mono for Android mailing list archive at Nabble.com. > _______________________________________________ > Monodroid mailing list > [email protected] > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
