every time i try to create a new project this errors pop up what is the reason for it ? and what

every time i try to create a new project this errors pop up what is the reason for it ?

and what is the solution ?
this is screen shot for the error

"
Severity Code Description Project File Line Suppression State
Error CS0234 The type or namespace name 'Essentials' does not exist in the namespace 'Xamarin' (are you missing an assembly reference?) 5ara C:\Users\Mahmoudev\source\repos\5ara\5ara\MainActivity.cs 21 Active
Error CS0234 The type or namespace name 'Support' does not exist in the namespace 'Android' (are you missing an assembly reference?) 5ara C:\Users\Mahmoudev\source\repos\5ara\5ara\MainActivity.cs 3 Active
Error CS0246 The type or namespace name 'AppCompatActivity' could not be found (are you missing a using directive or an assembly reference?) 5ara C:\Users\Mahmoudev\source\repos\5ara\5ara\MainActivity.cs 10 Active
Error CS0115 'MainActivity.OnCreate(Bundle)': no suitable method found to override 5ara C:\Users\Mahmoudev\source\repos\5ara\5ara\MainActivity.cs 12 Active
Error CS0115 'MainActivity.OnRequestPermissionsResult(int, string[], Permission[])': no suitable method found to override 5ara C:\Users\Mahmoudev\source\repos\5ara\5ara\MainActivity.cs 19 Active
Error CS0234 The type or namespace name 'Essentials' does not exist in the namespace 'Xamarin' (are you missing an assembly reference?) 5ara C:\Users\Mahmoudev\source\repos\5ara\5ara\MainActivity.cs 15 Active
Error CS0103 The name 'SetContentView' does not exist in the current context 5ara C:\Users\Mahmoudev\source\repos\5ara\5ara\MainActivity.cs 17 Active
"

Answers

  • LeonLuLeonLu Member, Xamarin Team Xamurai

    @mahmoudev
    Try to deleting Bin and Obj directories in all folder , close and reopen the project.

    If not worked, you can create a demo to upload here

Sign In or Register to comment.