Are you still able to build successfully? If so this is likely IntelliSense needing time to catch up. I was able to fix this by unloading the project, then reloading it. Right click on your project in Visual Studio, choose “Unload Project”, then right click again and reload it.