Why doesn't the Visual Studio XAML designer work for Xamarin.Forms XAML files?

PDF for offline use

Let us know how you feel about this

Translation Quality


Xamarin.Forms doesn't currently support visual designers for XAML files. Because of this, when trying to open a Forms XAML file in either Visual Studio's XAML UI Designer or XAML UI Designer with Encoding, the following error message is thrown:

"The file cannot be opened with the selected editor. Please choose another editor."

This limitation is described in the Overview section of the Xamarin.Forms XAML Basics guide:

"There is not yet a visual designer for generating XAML in Xamarin.Forms applications, so all XAML must be hand-written."

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.