c# - Getting started with Xamarin Forms App -
i've been trying xamarin studio create new forms project on osx me no success.
i selected files>new solution>c#>mobile apps>blank app , sure enough project gets created. lets call project mvvm now. there 1 folder called mvvm unified codebase, 1 folder called mvvm.drvoid, 1 called mvvm.ios. in untouched state, neither builds work.
when building ios, warning pops "warning mt0030: executable name (mvvm.ios) , app name (mvvmios.app) different, may prevent crash logs getting symbolicated properly." tried solution listed here doesn't work.
as android, there no build option set up. way run manually right click on mvvm.droid folder, select build, select run.
it confuses me no end think why xamarin not set sample projects properly. know doing wrong? or should functional forms application set up?
welcome world !!!!
sorry, had yell out last statement.. whole-heartedly agree you. xamarin team reason doesn't make easy out of box template generates project in usable way. think code on macs , don't code on pcs visual studio 2013... (or maybe need few more qa folks test 'starting scratch' scenarios , make sure documentation , actual way create project in sync each other.
anyway, have been having same problem. 1 thing try update xamarin stuff on pc , on mac if you're using both. also, make sure have latest nuget. update nuget packages. make sure nuget package xamarin.forms has been added projects in solution. have following nuget packages, project may vary based on features use: microsoft async, microsoft bcl build components, microsoft bcl portability pack, pcl storage - portable storage apis, , of course xamarin.forms.
double check available nuget updates packages have installed. seems they're updating or other every few days...
under xamarin.forms common project, click properties , select library. make sure target frameworks set correct one. click 'change...' button , checkmark target frameworks except 'silverlight 5'. click 'ok'.
go , double check .ios project settings , make sure necessary fields filled in. (application name, identifier, version, build, deployment target...)
also, after creates solution you, delete windowsphone , android projects generated.
hopefully 1 or more of above tweaks project building. it's royal hassle , xamarin should try make bit more seamless.. quite surprising hoops need jump through simple xamarin.forms 'hello world' app working.
best of luck !!!
Comments
Post a Comment