"true" 是 "AssignProjectConfiguration" 任务的 "ShouldUnsetParentConfigurationAndPlatform" 参数的无效值

"true" is an invalid value for the "ShouldUnsetParentConfigurationAndPlatform" parameter of the "AssignProjectConfiguration" task

错误:

"true" is an invalid value for the "ShouldUnsetParentConfigurationAndPlatform" parameter of the "AssignProjectConfiguration" task. The "ShouldUnsetParentConfigurationAndPlatform" parameter is of type "System.Boolean"

Dotnet 版本

C:\Users\Stefan>dotnet --version
5.0.201

项目错误

解决方案中的所有项目都有目标框架net5.0:

<TargetFramework>net5.0</TargetFramework>

我已尝试重新启动 Visual Studio、Workstation、清除 bin/obj、清除 resharper 缓存。 可能是什么问题?

已通过安装 Visual Studio 的最新更新解决。不确定是什么问题。