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

The name 'InitalizeComponent' does not exists in the current context

$
0
0

Trying my hand at a hello world application, getting this error "The name 'InitalizeComponent' does not exists in the current context". This appears in the constructor of all of my views. Per This Page I decided to implement my own InitalizeComponenet :

    private void InitializeComponent() {
        this.LoadFromXaml(typeof(AboutPage));
    }

It will now build... but the application dies (without exception) shortly after the debugger connects. Please advise.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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