Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

error CS0234: The type or namespace name `BaseContentPage' does not exist in the namespace `Xamarin.

$
0
0

When using a custom ContentPage for some reason I get namespace compile errors on the below line in the .xaml.g.cs files

public partial class MyClass : global::Xamarin.Forms.BaseContentPage {

When I remove "global::Xamarin.Forms." (because the base class is not in that namespace anyway) The app then compiles and works! Currently I am still able to get it running but every time I change any code in the xaml file it gets regenerated and the error persists!

Any ideas how to solve this?

Alex


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>