In Exercise: Store data locally with SQLite getting error after final build

TonyTS-2178 21 Reputation points
2024-09-26T16:02:08.3866667+00:00

I'm using Visual Studio 2022 Version 17.11.3 in Windows 10.

After Building the exercise after completing all the inserts, I got a red underline under InitializeComponent(); in the MauiProgram.cs class.

I closed VS 2022 and reopened it and the red error disappeared.

This happens a lot.

Is there a fix for this?

Developer technologies | .NET | .NET MAUI
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.