无法加载axaml预览,起因是调整了平台从CPU改为x86导致的
报错内容
11:20:59.079 [Information] 0 Starting previewer process for ‘“E:\Project\X_04\X04\X04\X04.Desktop\bin\x86\Debug\net8.0\X04.Desktop.dll”’
11:20:59.082 [Information] 32296 Started previewer process for ‘“E:\Project\X_04\X04\X04\X04.Desktop\bin\x86\Debug\net8.0\X04.Desktop.dll”’. Waiting for connection to be initialized.
11:20:59.185 [Information] 32296 Connection initialized
11:20:59.206 [Error] 32296 <= “Unhandled exception. System.IO.FileLoadException: Could not load file or assembly ‘X04.Desktop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’.”
11:20:59.209 [Error] 32296 <= " at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)“
11:20:59.211 [Error] 32296 <= " at System.Reflection.Assembly.LoadFrom(String assemblyFile)”
11:20:59.211 [Error] 32296 <= " at Avalonia.DesignerSupport.Remote.RemoteDesignerEnt

最低0.47元/天 解锁文章
1735

被折叠的 条评论
为什么被折叠?



