Damian Mehers' Blog Android, VR and Wearables from Geneva, Switzerland.

8Apr/164

Visual Studio missing “Forms Xaml Page” from “Add|New Item” menu using Xamarin

Not sure why this is happening, but its been happening on all my installations of Xamarin with Visual Studio 2015.

All the tutorials and web pages talk about using Project|Add New Item and adding a new "Forms Xaml Page". But whenever I install Xamarin and Visual Studio 2015, I just get the "Forms ContentPage" and "Forms ContentView" which just generate a C# file, no Xaml.

To fix this, I copied XamlPage.zip from

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Xamarin\Xamarin\4.0.3.214\T\IT\Cross-Platform\Code

to

C:\Users\your name here\Documents\Visual Studio 2015\Templates\ItemTemplates\Visual C#

Finally, it is there:
Screenshot 2016-04-08 11.10.19

Filed under: Xamarin Leave a comment
Comments (4) Trackbacks (0)
  1. This helped, thanks. But you need to close and reopen VS

  2. Thanks! this works.

  3. Thanks, it solves my problem.
    Besst Regards from France.

  4. awesome!
    I had a similar problem that happens to me really all the time. instead of just one type of template file missing, my entire option “Cross-platform” disappeared for me. was driving me NUTS!
    I followed your solution but took the whole folder and copied it and restarted VS and it worked.
    Tho no i get double option of the item in the option “Cross-platform” but atleast now when it buggs out on me again… i see one option of each… <3


Leave a comment

No trackbacks yet.