Visual Studio 2022 窗体设计器错误 Timed out while connecting to named pipe
之前输出错误信息为
fail: Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
at Microsoft.DotNet.DesignTools.Server.Program.Main(String[] args, IEnumerable`1 designTimeAssemblies, Action fixUpNetTypes)
at DesignToolsServerX86.Program.Main(String[] args)
warn: Cannot update selection in server process as Session is not connected.
fail: [Project]: Timed out while connecting to named pipe: DesignToolsServer.
注:项目并没有引用这个版本的程序集。