SamC-2248 avatar image
1 Vote"
SamC-2248 asked MattGoldman-7074 commented

Xamarin.Forms from v5.0.0.1874 triggers Error CS0103 : (The name 'InitializeComponent' does not exist in the current context)

I just updated my nugets pacakes, from -> and it triggered this error :


I checked my namespaces and a lot of differents other things...
I even started a new project, empty, builded it -no pb so far-, then updated the Xamari.Forms from -> and the problem appeared !

Am I the only one ?
The problem occurs from the v5.0.0.1874 in my case.

deploiement.png (48.5 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Does the problem only occurs on 5.x even if you set up a new blank project ?

I suggest you reinstall visual studio 2019 to see if problem persists.

1 Vote 1 ·

I have this problem too. I first started noticing it in my DevOps build pipeline, and then updated to the latest version of Visual Studio 2019 (16.9.3) and now get this in my local build too.

0 Votes 0 ·

0 Answers