Forum Visual Studio


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Visual Studio in Portuguese generating ContentPage derived from ContentView

When adding a new ContentPage element in MS Visual Studio (in its version translated to Portuguese) it generates the class derived from ContentView (instead of ContentPage).

C# code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Xamarin.Forms;
using Xamarin.Forms.Xaml;

namespace XimerinElementsApp.Views
    public partial class View1 : ContentView
        public View1()

XAML code:

<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns=""
            <Label Text="Welcome to Xamarin.Forms!"/>

This only happens in Visual Studio in Portuguese. When I install Visual Studio in English, it generates classes correctly inherited from ContentPage. Am I facing a bug related to the language or am I doing something wrong?

Best Answer


Sign In or Register to comment.