It’s not uncommon that shared projects get included in the list of projects to build. Not sure it applies to all cases but clearing everything between:
GlobalSection(ProjectConfigurationPlatforms) = postSolution
and
EndGlobalSection
in the .sln file and then reloading the solution will at least solve those.