-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Describe the bug
05:55:43.867 [Information] [PreviewerProcess (#40254682)] Starting previewer process for 'D:\development\miniNN\miniNN.Desktop\bin\Debug\net8.0\miniNN.Desktop.dll'
05:55:43.870 [Information] [PreviewerProcess (#40254682)] [120248] Started previewer process for 'D:\development\miniNN\miniNN.Desktop\bin\Debug\net8.0\miniNN.Desktop.dll'. Waiting for connection to be initialized.
05:55:43.930 [Information] [PreviewerProcess (#40254682)] [120248] Connection initialized
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= ---> System.IO.FileNotFoundException: Could not load file or assembly 'miniNN, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. 系统找不到指定的文件。
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= File name: 'miniNN, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= at miniNN.Desktop.Program.BuildAvaloniaApp()
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= --- End of inner exception stack trace ---
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= at Avalonia.AppBuilder.Configure(Type entryPointType)
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= at Avalonia.DesignerSupport.Remote.RemoteDesignerEntryPoint.Main(String[] cmdline)
05:55:43.945 [Error] [PreviewerProcess (#40254682)] [120248] <= at Avalonia.Designer.HostApp.Program.Main(String[] args)
05:55:47.037 [Error] [PreviewerProcess (#40254682)] Connection error
05:55:47.041 [Information] [PreviewerProcess (#40254682)] Process exited
05:55:47.041 [Information] [PreviewerProcess (#40254682)] Stopping previewer process
To Reproduce
Create a cross-platform solution and set the Desktop project build target to x86, then the previewer will be broken.
Expected behavior
Previewer work good
Avalonia version
11.3.9
OS
Windows
Additional context
I need use a native lib that built in x86 mode