Current solution contains incorrect...error and no build?!?

When working with multiple workstations (workstation / laptop) due to pandemic, we suddenly experienced the following error when opening solutions: Current solution contains incorrect configurations mappings. It may cause projects to not work correctly. Open the Configuration Manager to fix them. Perhaps due to some different visual studio installation settings?

With a link to open the configuration manager. My thought was like 'Uh great, fix is directly there'. Sadly you can click whatever you want in the configuration manager the problem does not go away... Furthermore no build is carried out

The fix is like:

  • Close Visual Studio
  • Open the projects solution file (.sln) with an editor of your choice
  • Search for: GlobalSection(ProjectConfigurationPlatforms) = postSolution
  • Delete ALL lines until EndGlobalSection
  • Save
  • Open with Visual Studio again