If you are on a .net project, you need to install System, System.strings, System.... and other required packages using NuGet package manager.
I had this problem even with a fresh installation of Visual Studio 2026, and solved by installing required packages using NuGet package manager.