Reputation: 138
I just started a new project using Xamarin.forms with Visual Studio 2017 for Android and iOS. I selected 'blank' and '.net standard' and when it openned I got this error: in Android MainActivity
, LoadApplication(new App());
App is not found. What can I do ?
Here's an image:
Thanks !
Upvotes: 1
Views: 131
Reputation: 138
If a name contains spaces, directories will be made with spaces but VS will replace them by _.
Solution is to avoid ' ' and replace it by '_' or only one word.
Upvotes: 1
Reputation: 16449
Well, I have faced this issue so many times that I have written the steps down:
AppDelegate
and MainActivity
if they have any red lines(by that I mean unfound references) Xamarin.Forms
package to the desired version.Xamarin.Forms
, you "might" face issues here which you can pretty much solve with James's Blog here.SnackBar
type popup on the top below the toolbar, restart the vs..Net Standard/PCL
project first, And once this builds correctly try building the other two projects and it should work Good luck
Revert in case of queries.
Upvotes: 0