Microsoft Visual Studio Community 2022 (64 位) - Preview 版本 17.2.0 Preview 2.1
报错
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 MSB4018 “HotRestart.Tasks.DetectSigningIdentity”任务意外失败。
System.IO.FileLoadException: Could not load file or assembly 'Xamarin.iOS.Windows.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
文件名:“Xamarin.iOS.Windows.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”
在 Xamarin.iOS.HotRestart.Tasks.DetectSigningIdentity.Execute()
在 Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
在 Microsoft.Build.BackEnd.TaskBuilder.
MyMauiApp C:\Program Files\dotnet\packs\Microsoft.iOS.Windows.Sdk\15.2.302-preview.14.122\tools\msbuild\iOS\Xamarin.iOS.HotRestart.targets 20