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?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,487 questions
{count} votes

Your answer

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