0

Aha -- I didn't see this until now. Double tasking, while updating VS 2019 Enterprise at work, I had time to look this over again.

I'm not seeing the Xamarin Essentials and Xamarin Forms in the Android project. These are in James Montemagno's tutorial screen shot.

OK, this is a bad Android project template? When I try to add the Xamarin references to the project with NuGet Package Manager, they show as already installed.

Here is a screen shot of what I'm seeing. I'm following a tutorial with James Montemagno.

His project in VS 2019 does not have this issue.

I don't have R# so it's not the issue and no other SO articles seen have an answer that clears these.

Have tried deleting and re-adding the references, this doesn't work. I do have the most recent Android project templates. I recall updating a couple of packages from NuGet for the project -- anything that can be updated has been.

As can be seen, the iOS project has no reference issues. The common references between the 2 are just fine in iOS. So the path to them can be found -- likely this is not a path issue.

Any ideas?

enter image description here

user1585204
  • 827
  • 1
  • 10
  • 14

1 Answers1

0

I reached out to James Montemagno on Twitter and we worked out a plan to fix this.

He recommended repairing the install of VS 2019 and if that failed to download VS 22.

Repairing the install worked. To make doubly sure, since when I was about to post this answer, Windows Updates also clamored for a restart, I did that BEFORE posting the answer! :)

Somehow for some reason, Android projects do a build when '19 starts. There is an alert to this effect, in the lower bar on VS 19, that displays with a handy dandy pop up dialog drawing the attention of the developer to this alert posting.

So you'll see when '19 starts, yellow triangles as in the above screen shot. The build on start should complete and these should disappear.

My guess is the build wasn't happening, hanging up at a certain point, something like that. Repairing the install fixed this.

So finally after a week I can do this tutorial and then start my phone app.

user1585204
  • 827
  • 1
  • 10
  • 14