Bug 46780 - Xaml pages unable to inherit from other pages.
Summary: Xaml pages unable to inherit from other pages.
Status: RESOLVED INVALID
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.2
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-11-10 23:25 UTC by James
Modified: 2016-11-11 21:18 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Sample app of the issue (438.88 KB, application/x-zip-compressed)
2016-11-10 23:25 UTC, James
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description James 2016-11-10 23:25:30 UTC
Created attachment 18425 [details]
Sample app of the issue

This appears to have been introduced in Xamarin.Forms 1.5.1. If you create two XAML pages, and have one inherit the other, you will get a compile error with the following:

Error	CS0234	The type or namespace name '{BasePage}' does not exist in the namespace 'Xamarin.Forms' (are you missing an assembly reference?)

Before 1.5.1 this appears to work, both in Xamarin Studio or Visual Studio.
Comment 1 James 2016-11-11 21:18:55 UTC
This is due to better enforcement of xaml, need to prefix with the xmlns