Doesn't work as expected with Apple M* chip
berkansasmaz opened this issue · comments
Hello, the browser part of my application works properly on my MacOS computer with Intel chip and Windows operating system, but unfortunately, with the Apple M1 chip, I receive an runtime exception like the one below:
2023-09-21 16:37:30.804 +03:00 [ERR] Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.IO.FileNotFoundException: Could not load file or assembly 'Xilium.CefGlue.Avalonia, Version=106.5249.19.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'Xilium.CefGlue.Avalonia, Version=106.5249.19.0, Culture=neutral, PublicKeyToken=null'
at MyApp.UI.Views.MainArea.Browser.BrowserView..ctor()
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
--- End of inner exception stack trace ---
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at MyApp.UI.Services.ViewCreationService.CreateViewByViewModelType(IServiceProvider serviceProvider, Type viewModelType, Object viewModel) in /MyAppPath/src/MyApp.UI.Views/Services/ViewCreationService.cs:line 46
at MyApp.UI.Services.ViewCreationService.CreateViewByViewModelType(IServiceProvider serviceProvider, Type viewModelType, Action`1 configureViewModel) in /MyAppPath/src/MyApp.UI.Views/Services/ViewCreationService.cs:line 21
at MyApp.UI.ViewModels.MainArea.BrowserViewModel.OpenWebPageInNewTab(String url, String name) in /MyAppPath/src/MyApp.UI.ViewModels/UI/ViewModels/MainArea/BrowserViewModel.cs:line 164
at MyApp.UI.ViewModels.MainArea.BrowserViewModel.CreateEmptyTab() in /MyAppPath/src/MyApp.UI.ViewModels/UI/ViewModels/MainArea/BrowserViewModel.cs:line 133
at ReactiveUI.ReactiveCommand.<>c__DisplayClass0_0.<Create>b__1(IObserver`1 observer) in /_/src/ReactiveUI/ReactiveCommand/ReactiveCommand.cs:line 105
at System.Reactive.Linq.QueryLanguage.CreateWithDisposableObservable`1.SubscribeCore(IObserver`1 observer)
at System.Reactive.ObservableBase`1.Subscribe(IObserver`1 observer)
If I use the CefGlue.Avalonia.ARM64
package, I get a build error like the one below:
2023-09-19 20:18:49.726 +03:00 [ERR] Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeInitializationException: The type initializer for 'Xilium.CefGlue.Avalonia.AvaloniaCefBrowser' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'libcef' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/libcef.dylib, 0x0001): tried: '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/libcef.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/libcef.dylib' (no such file), '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/libcef.dylib' (no such file)
dlopen(/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/libcef.dylib, 0x0001): tried: '/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/libcef.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/libcef.dylib' (no such file), '/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/libcef.dylib' (no such file)
dlopen(/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/libcef.dylib, 0x0001): tried: '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/libcef.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/libcef.dylib' (no such file), '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/libcef.dylib' (no such file)
dlopen(libcef.dylib, 0x0001): tried: 'libcef.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibcef.dylib' (no such file), '/usr/lib/libcef.dylib' (no such file, not in dyld cache), 'libcef.dylib' (no such file), '/usr/local/lib/libcef.dylib' (no such file), '/usr/lib/libcef.dylib' (no such file, not in dyld cache)
dlopen(/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/liblibcef.dylib, 0x0001): tried: '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/liblibcef.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/liblibcef.dylib' (no such file), '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/liblibcef.dylib' (no such file)
dlopen(/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/liblibcef.dylib, 0x0001): tried: '/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/liblibcef.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/liblibcef.dylib' (no such file), '/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/liblibcef.dylib' (no such file)
dlopen(/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/liblibcef.dylib, 0x0001): tried: '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/liblibcef.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/liblibcef.dylib' (no such file), '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/liblibcef.dylib' (no such file)
dlopen(liblibcef.dylib, 0x0001): tried: 'liblibcef.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSliblibcef.dylib' (no such file), '/usr/lib/liblibcef.dylib' (no such file, not in dyld cache), 'liblibcef.dylib' (no such file), '/usr/local/lib/liblibcef.dylib' (no such file), '/usr/lib/liblibcef.dylib' (no such file, not in dyld cache)
dlopen(/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/libcef, 0x0001): tried: '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/libcef' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/libcef' (no such file), '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/libcef' (no such file)
dlopen(/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/libcef, 0x0001): tried: '/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/libcef' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/libcef' (no such file), '/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/libcef' (no such file)
dlopen(/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/libcef, 0x0001): tried: '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/libcef' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/libcef' (no such file), '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/libcef' (no such file)
dlopen(libcef, 0x0001): tried: 'libcef' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibcef' (no such file), '/usr/lib/libcef' (no such file, not in dyld cache), 'libcef' (no such file), '/usr/local/lib/libcef' (no such file), '/usr/lib/libcef' (no such file, not in dyld cache)
dlopen(/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/liblibcef, 0x0001): tried: '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/liblibcef' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/liblibcef' (no such file), '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/runtimes/osx/native/liblibcef' (no such file)
dlopen(/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/liblibcef, 0x0001): tried: '/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/liblibcef' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/liblibcef' (no such file), '/Users/berkan/.dotnet/shared/Microsoft.NETCore.App/7.0.7/liblibcef' (no such file)
dlopen(/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/liblibcef, 0x0001): tried: '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/liblibcef' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/liblibcef' (no such file), '/MyAppPath/src/MyApp.UI.Host/bin/Debug/net7.0/liblibcef' (no such file)
dlopen(liblibcef, 0x0001): tried: 'liblibcef' (no such file), '/System/Volumes/Preboot/Cryptexes/OSliblibcef' (no such file), '/usr/lib/liblibcef' (no such file, not in dyld cache), 'liblibcef' (no such file), '/usr/local/lib/liblibcef' (no such file), '/usr/lib/liblibcef' (no such file, not in dyld cache)
Avolonia Version: 11.0.0
CefGlue.Avalonia$(CefGluePackageSuffix) Version: 106.5249.19-avalonia11
~ $ dotnet --info
.NET SDK:
Version: 7.0.400
Commit: 73bf45718d
Runtime Environment:
OS Name: Mac OS X
OS Version: 13.4
OS Platform: Darwin
RID: osx.13-arm64
Base Path: /usr/local/share/dotnet/sdk/7.0.400/
Host:
Version: 7.0.10
Architecture: arm64
Commit: a6dbb800a4
.NET SDKs installed:
6.0.413 [/usr/local/share/dotnet/sdk]
7.0.400 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.21 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.21 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/usr/local/share/dotnet]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Hi
It seems that libcef (a native dependency) is not there, which is copied by CefGlue.
make sure that the file is there, and also that cefredist-osx-arm64 was properly restored.
Also try to build and run the demo app from this branch
Unfortunately, when I try to run the application here, I get an error like the following:
Unhandled exception. System.TypeInitializationException: The type initializer for 'Xilium.CefGlue.Avalonia.AvaloniaCefBrowser' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'libcef' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibcef, 0x0001): tried: 'liblibcef' (no such file), '/System/Volumes/Preboot/Cryptexes/OSliblibcef' (no such file), '/usr/lib/liblibcef' (no such file, not in dyld cache), 'liblibcef' (no such file), '/usr/local/lib/liblibcef' (no such file), '/usr/lib/liblibcef' (no such file, not in dyld cache)
at Xilium.CefGlue.Interop.libcef.api_hash(Int32 entry)
at Xilium.CefGlue.CefRuntime.CheckVersionByApiHash() in /Users/berkan/Documents/workspace/CefGlue/CefGlue/CefRuntime.cs:line 140
at Xilium.CefGlue.CefRuntime.CheckVersion() in /Users/berkan/Documents/workspace/CefGlue/CefGlue/CefRuntime.cs:line 130
at Xilium.CefGlue.CefRuntime.Load(String path) in /Users/berkan/Documents/workspace/CefGlue/CefGlue/CefRuntime.cs:line 103
at Xilium.CefGlue.CefRuntime.Load() in /Users/berkan/Documents/workspace/CefGlue/CefGlue/CefRuntime.cs:line 84
at Xilium.CefGlue.Common.CefRuntimeLoader.InternalInitialize(CefSettings settings, KeyValuePair`2[] flags, CustomScheme[] customSchemes, BrowserProcessHandler browserProcessHandler) in /Users/berkan/Documents/workspace/CefGlue/CefGlue.Common/CefRuntimeLoader.cs:line 23
at Xilium.CefGlue.Common.CefRuntimeLoader.<>c__DisplayClass2_0.<Initialize>b__0(BrowserProcessHandler browserProcessHandler) in /Users/berkan/Documents/workspace/CefGlue/CefGlue.Common/CefRuntimeLoader.cs:line 19
at Xilium.CefGlue.Common.CefRuntimeLoader.Load(BrowserProcessHandler browserProcessHandler) in /Users/berkan/Documents/workspace/CefGlue/CefGlue.Common/CefRuntimeLoader.cs:line 92
at Xilium.CefGlue.Avalonia.AvaloniaCefBrowser..cctor() in /Users/berkan/Documents/workspace/CefGlue/CefGlue.Avalonia/AvaloniaCefBrowser.cs:line 17
--- End of inner exception stack trace ---
at Xilium.CefGlue.Avalonia.AvaloniaCefBrowser..ctor(Func`1 cefRequestContextFactory) in /Users/berkan/Documents/workspace/CefGlue/CefGlue.Avalonia/AvaloniaCefBrowser.cs:line 22
at Xilium.CefGlue.Demo.Avalonia.BrowserView..ctor() in /Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/BrowserView.xaml.cs:line 25
at Xilium.CefGlue.Demo.Avalonia.MainWindow.CreateNewTab() in /Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/MainWindow.xaml.cs:line 47
at Xilium.CefGlue.Demo.Avalonia.MainWindow.InitializeComponent() in /Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/MainWindow.xaml.cs:line 27
at Xilium.CefGlue.Demo.Avalonia.MainWindow..ctor() in /Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/MainWindow.xaml.cs:line 16
at Xilium.CefGlue.Demo.Avalonia.App.OnFrameworkInitializationCompleted() in /Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/App.xaml.cs:line 18
at Avalonia.AppBuilder.SetupUnsafe() in /_/src/Avalonia.Controls/AppBuilder.cs:line 323
at Avalonia.AppBuilder.Setup() in /_/src/Avalonia.Controls/AppBuilder.cs:line 303
at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime) in /_/src/Avalonia.Controls/AppBuilder.cs:line 187
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 219
at Xilium.CefGlue.Demo.Avalonia.Program.Main(String[] args) in /Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/Program.cs:line 13
To repeat the question, you can follow the steps below:
git checkout avalonia11
cd ./CefGlue.Demo.Avalonia
dotnet build /graphBuild
dotnet run
Additionally, when I run the ./bundle-x64.sh
script, I get an error like the one below:
/usr/local/share/dotnet/sdk/7.0.400/Microsoft.Common.CurrentVersion.targets(5167,5): error MSB3030: Could not copy the file "/Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/bin/ARM64/Debug/net6.0/osx-arm64/libEGL.dylib" because it was not found. [/Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/CefGlue.Demo.Avalonia.csproj]
/usr/local/share/dotnet/sdk/7.0.400/Microsoft.Common.CurrentVersion.targets(5167,5): error MSB3030: Could not copy the file "/Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/bin/ARM64/Debug/net6.0/osx-arm64/libvk_swiftshader.dylib" because it was not found. [/Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/CefGlue.Demo.Avalonia.csproj]
/usr/local/share/dotnet/sdk/7.0.400/Microsoft.Common.CurrentVersion.targets(5167,5): error MSB3030: Could not copy the file "/Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/bin/ARM64/Debug/net6.0/osx-arm64/libGLESv2.dylib" because it was not found. [/Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/CefGlue.Demo.Avalonia.csproj]
Here are dll list:
osx-arm64 git:(avalonia11) $ pwd
/Users/berkan/Documents/workspace/CefGlue/CefGlue.Demo.Avalonia/bin/ARM64/Debug/net6.0/osx-arm64
osx-arm64 git:(avalonia11) $ ls -lar
total 235176
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 zh-Hant
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 zh-Hans
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 tr
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 ru
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 pt-BR
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 pl
-rwxr--r--@ 1 berkan staff 101496 Jul 14 00:13 netstandard.dll
-rwxr--r--@ 1 berkan staff 58544 Jul 14 00:13 mscorlib.dll
-rwxr--r--@ 1 berkan staff 1873344 Jul 14 00:15 libmscordbi.dylib
-rwxr--r--@ 1 berkan staff 2523616 Jul 14 00:08 libmscordaccore.dylib
-rwxr--r--@ 1 berkan staff 420480 Jul 14 00:54 libhostpolicy.dylib
-rwxr--r--@ 1 berkan staff 441920 Jul 14 00:54 libhostfxr.dylib
-rwxr--r--@ 1 berkan staff 645488 Jul 14 00:15 libdbgshim.dylib
-rwxr--r--@ 1 berkan staff 6789920 Jul 14 00:18 libcoreclr.dylib
-rwxr--r--@ 1 berkan staff 2417744 Jul 14 00:17 libclrjit.dylib
-rwxr--r--@ 1 berkan staff 227104 Jul 14 00:13 libSystem.Security.Cryptography.Native.OpenSsl.dylib
-rwxr--r--@ 1 berkan staff 104928 Jul 14 00:13 libSystem.Security.Cryptography.Native.Apple.dylib
-rwxr--r--@ 1 berkan staff 71328 Jul 14 00:13 libSystem.Net.Security.Native.dylib
-rwxr--r--@ 1 berkan staff 142976 Jul 14 00:13 libSystem.Native.dylib
-rwxr--r--@ 1 berkan staff 839248 Jul 14 00:13 libSystem.IO.Compression.Native.dylib
-rwxr--r--@ 1 berkan staff 155856 Jul 14 00:13 libSystem.Globalization.Native.dylib
-rwxr--r--@ 1 berkan staff 15852880 Oct 4 2022 libSkiaSharp.dylib
-rwxr--r--@ 1 berkan staff 2245648 Oct 4 2022 libHarfBuzzSharp.dylib
-rwxr--r--@ 1 berkan staff 1255168 Jul 5 10:45 libAvaloniaNative.dylib
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 ko
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 ja
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 it
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 fr
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 es
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 de
drwxr-xr-x@ 6 berkan staff 192 Sep 21 17:58 cs
-rwxr--r--@ 1 berkan staff 173776 Jul 14 00:42 createdump
-rw-r--r--@ 1 berkan staff 422300 Sep 21 17:57 Xilium.CefGlue.pdb
-rw-r--r--@ 1 berkan staff 921088 Sep 21 17:57 Xilium.CefGlue.dll
-rwxr-xr-x@ 1 berkan staff 147760 Sep 21 17:58 Xilium.CefGlue.Demo.Avalonia
-rw-r--r--@ 1 berkan staff 41256 Sep 21 17:57 Xilium.CefGlue.Common.pdb
-rw-r--r--@ 1 berkan staff 88064 Sep 21 17:57 Xilium.CefGlue.Common.dll
-rw-r--r--@ 1 berkan staff 25168 Sep 21 17:57 Xilium.CefGlue.Common.Shared.pdb
-rw-r--r--@ 1 berkan staff 40448 Sep 21 17:57 Xilium.CefGlue.Common.Shared.dll
-rw-r--r--@ 1 berkan staff 139 Sep 21 17:57 Xilium.CefGlue.BrowserProcess.runtimeconfig.json
-rw-r--r--@ 1 berkan staff 8355 Sep 21 17:57 Xilium.CefGlue.BrowserProcess.deps.json
-rwxr-xr-x@ 1 berkan staff 147760 Sep 21 17:57 Xilium.CefGlue.BrowserProcess
-rw-r--r--@ 1 berkan staff 24500 Sep 21 17:58 Xilium.CefGlue.Avalonia.pdb
-rw-r--r--@ 1 berkan staff 49664 Sep 21 17:58 Xilium.CefGlue.Avalonia.dll
-rwxr--r--@ 1 berkan staff 17032 Jul 14 00:13 WindowsBase.dll
-rwxr--r--@ 1 berkan staff 155136 Apr 24 12:14 Tmds.DBus.Protocol.dll
-rwxr--r--@ 1 berkan staff 50864 Jul 14 00:13 System.dll
-rwxr--r--@ 1 berkan staff 24704 Jul 14 00:13 System.Xml.dll
-rwxr--r--@ 1 berkan staff 18056 Jul 14 00:13 System.Xml.XmlSerializer.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Xml.XmlDocument.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Xml.XPath.dll
-rwxr--r--@ 1 berkan staff 18592 Jul 14 01:11 System.Xml.XPath.XDocument.dll
-rwxr--r--@ 1 berkan staff 15992 Jul 14 00:13 System.Xml.XDocument.dll
-rwxr--r--@ 1 berkan staff 16512 Jul 14 00:13 System.Xml.Serialization.dll
-rwxr--r--@ 1 berkan staff 22176 Jul 14 00:13 System.Xml.ReaderWriter.dll
-rwxr--r--@ 1 berkan staff 16544 Jul 14 00:13 System.Xml.Linq.dll
-rwxr--r--@ 1 berkan staff 16512 Jul 14 00:13 System.Windows.dll
-rwxr--r--@ 1 berkan staff 15984 Jul 14 00:13 System.Web.dll
-rwxr--r--@ 1 berkan staff 57504 Jul 14 01:11 System.Web.HttpUtility.dll
-rwxr--r--@ 1 berkan staff 15992 Jul 14 00:13 System.ValueTuple.dll
-rwxr--r--@ 1 berkan staff 17056 Jul 14 00:13 System.Transactions.dll
-rwxr--r--@ 1 berkan staff 396960 Jul 14 01:11 System.Transactions.Local.dll
-rwxr--r--@ 1 berkan staff 89760 Jul 14 01:11 System.Threading.dll
-rwxr--r--@ 1 berkan staff 15520 Jul 14 00:13 System.Threading.Timer.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Threading.ThreadPool.dll
-rwxr--r--@ 1 berkan staff 16048 Jul 14 00:13 System.Threading.Thread.dll
-rwxr--r--@ 1 berkan staff 17024 Jul 14 00:13 System.Threading.Tasks.dll
-rwxr--r--@ 1 berkan staff 157856 Jul 14 01:11 System.Threading.Tasks.Parallel.dll
-rwxr--r--@ 1 berkan staff 15992 Jul 14 00:13 System.Threading.Tasks.Extensions.dll
-rwxr--r--@ 1 berkan staff 578736 Jul 14 01:11 System.Threading.Tasks.Dataflow.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Threading.Overlapped.dll
-rwxr--r--@ 1 berkan staff 142464 Jul 14 01:11 System.Threading.Channels.dll
-rwxr--r--@ 1 berkan staff 616096 Jul 14 01:11 System.Text.RegularExpressions.dll
-rwxr--r--@ 1 berkan staff 1705648 Jul 14 01:11 System.Text.Json.dll
-rwxr--r--@ 1 berkan staff 144544 Jul 14 01:11 System.Text.Encodings.Web.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Text.Encoding.dll
-rwxr--r--@ 1 berkan staff 16000 Jul 14 00:13 System.Text.Encoding.Extensions.dll
-rwxr--r--@ 1 berkan staff 896672 Jul 14 01:11 System.Text.Encoding.CodePages.dll
-rwxr--r--@ 1 berkan staff 16520 Jul 14 00:13 System.ServiceProcess.dll
-rwxr--r--@ 1 berkan staff 17568 Jul 14 00:13 System.ServiceModel.Web.dll
-rwxr--r--@ 1 berkan staff 18568 Jul 14 00:13 System.Security.dll
-rwxr--r--@ 1 berkan staff 15480 Jul 14 00:13 System.Security.SecureString.dll
-rwxr--r--@ 1 berkan staff 15520 Jul 14 00:13 System.Security.Principal.dll
-rwxr--r--@ 1 berkan staff 36512 Jul 14 01:11 System.Security.Principal.Windows.dll
-rwxr--r--@ 1 berkan staff 986784 Jul 14 01:11 System.Security.Cryptography.X509Certificates.dll
-rwxr--r--@ 1 berkan staff 152736 Jul 14 01:11 System.Security.Cryptography.Primitives.dll
-rwxr--r--@ 1 berkan staff 233632 Jul 14 01:11 System.Security.Cryptography.OpenSsl.dll
-rwxr--r--@ 1 berkan staff 126128 Jul 14 01:10 System.Security.Cryptography.Encoding.dll
-rwxr--r--@ 1 berkan staff 136864 Jul 14 01:10 System.Security.Cryptography.Csp.dll
-rwxr--r--@ 1 berkan staff 49792 Jul 14 01:10 System.Security.Cryptography.Cng.dll
-rwxr--r--@ 1 berkan staff 846512 Jul 14 01:10 System.Security.Cryptography.Algorithms.dll
-rwxr--r--@ 1 berkan staff 103544 Jul 14 01:10 System.Security.Claims.dll
-rwxr--r--@ 1 berkan staff 53408 Jul 14 01:10 System.Security.AccessControl.dll
-rwxr--r--@ 1 berkan staff 42656 Jul 14 00:13 System.Runtime.dll
-rwxr--r--@ 1 berkan staff 17568 Jul 14 00:13 System.Runtime.Serialization.dll
-rwxr--r--@ 1 berkan staff 16560 Jul 14 00:13 System.Runtime.Serialization.Xml.dll
-rwxr--r--@ 1 berkan staff 30384 Jul 14 01:10 System.Runtime.Serialization.Primitives.dll
-rwxr--r--@ 1 berkan staff 16008 Jul 14 00:13 System.Runtime.Serialization.Json.dll
-rwxr--r--@ 1 berkan staff 373384 Jul 14 01:10 System.Runtime.Serialization.Formatters.dll
-rwxr--r--@ 1 berkan staff 238752 Jul 14 01:10 System.Runtime.Numerics.dll
-rwxr--r--@ 1 berkan staff 16048 Jul 14 00:13 System.Runtime.Loader.dll
-rwxr--r--@ 1 berkan staff 16544 Jul 14 00:13 System.Runtime.Intrinsics.dll
-rwxr--r--@ 1 berkan staff 55456 Jul 14 01:10 System.Runtime.InteropServices.dll
-rwxr--r--@ 1 berkan staff 30896 Jul 14 01:10 System.Runtime.InteropServices.RuntimeInformation.dll
-rwxr--r--@ 1 berkan staff 15480 Jul 14 00:13 System.Runtime.Handles.dll
-rwxr--r--@ 1 berkan staff 18080 Jul 14 00:13 System.Runtime.Extensions.dll
-rwxr--r--@ 1 berkan staff 20640 Jul 14 01:10 System.Runtime.CompilerServices.VisualC.dll
-rwxr--r--@ 1 berkan staff 22136 Jul 14 01:10 System.Runtime.CompilerServices.Unsafe.dll
-rwxr--r--@ 1 berkan staff 49272 Jul 14 01:10 System.Resources.Writer.dll
-rwxr--r--@ 1 berkan staff 16048 Jul 14 00:13 System.Resources.ResourceManager.dll
-rwxr--r--@ 1 berkan staff 15536 Jul 14 00:13 System.Resources.Reader.dll
-rwxr--r--@ 1 berkan staff 16544 Jul 14 00:13 System.Reflection.dll
-rwxr--r--@ 1 berkan staff 35456 Jul 14 01:10 System.Reflection.TypeExtensions.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Reflection.Primitives.dll
-rwxr--r--@ 1 berkan staff 1255072 Jul 14 01:10 System.Reflection.Metadata.dll
-rwxr--r--@ 1 berkan staff 15520 Jul 14 00:13 System.Reflection.Extensions.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Reflection.Emit.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Reflection.Emit.Lightweight.dll
-rwxr--r--@ 1 berkan staff 16048 Jul 14 00:13 System.Reflection.Emit.ILGeneration.dll
-rwxr--r--@ 1 berkan staff 71800 Jul 14 01:10 System.Reflection.DispatchProxy.dll
-rwxr--r--@ 1 berkan staff 1344080 May 19 08:42 System.Reactive.dll
-rwxr--r--@ 1 berkan staff 16976 May 19 08:42 System.Reactive.Linq.dll
-rwxr--r--@ 1 berkan staff 9963680 Jul 14 01:10 System.Private.Xml.dll
-rwxr--r--@ 1 berkan staff 473760 Jul 14 01:10 System.Private.Xml.Linq.dll
-rwxr--r--@ 1 berkan staff 280712 Jul 14 01:10 System.Private.Uri.dll
-rwxr--r--@ 1 berkan staff 2457736 Jul 14 01:10 System.Private.DataContractSerialization.dll
-rwxr--r--@ 1 berkan staff 11904688 Jul 14 00:39 System.Private.CoreLib.dll
-rwxr--r--@ 1 berkan staff 102560 Jul 14 01:09 System.ObjectModel.dll
-rwxr--r--@ 1 berkan staff 15992 Jul 14 00:13 System.Numerics.dll
-rwxr--r--@ 1 berkan staff 16008 Jul 14 00:13 System.Numerics.Vectors.dll
-rwxr--r--@ 1 berkan staff 18096 Jul 14 00:13 System.Net.dll
-rwxr--r--@ 1 berkan staff 203912 Jul 14 01:09 System.Net.WebSockets.dll
-rwxr--r--@ 1 berkan staff 84088 Jul 14 01:09 System.Net.WebSockets.Client.dll
-rwxr--r--@ 1 berkan staff 33920 Jul 14 01:09 System.Net.WebProxy.dll
-rwxr--r--@ 1 berkan staff 69240 Jul 14 01:09 System.Net.WebHeaderCollection.dll
-rwxr--r--@ 1 berkan staff 187520 Jul 14 01:09 System.Net.WebClient.dll
-rwxr--r--@ 1 berkan staff 670384 Jul 14 01:09 System.Net.Sockets.dll
-rwxr--r--@ 1 berkan staff 39544 Jul 14 01:09 System.Net.ServicePoint.dll
-rwxr--r--@ 1 berkan staff 754336 Jul 14 01:09 System.Net.Security.dll
-rwxr--r--@ 1 berkan staff 403104 Jul 14 01:09 System.Net.Requests.dll
-rwxr--r--@ 1 berkan staff 337528 Jul 14 01:09 System.Net.Quic.dll
-rwxr--r--@ 1 berkan staff 259232 Jul 14 01:09 System.Net.Primitives.dll
-rwxr--r--@ 1 berkan staff 87672 Jul 14 01:09 System.Net.Ping.dll
-rwxr--r--@ 1 berkan staff 151672 Jul 14 01:09 System.Net.NetworkInformation.dll
-rwxr--r--@ 1 berkan staff 97400 Jul 14 01:09 System.Net.NameResolution.dll
-rwxr--r--@ 1 berkan staff 576672 Jul 14 01:09 System.Net.Mail.dll
-rwxr--r--@ 1 berkan staff 350328 Jul 14 01:09 System.Net.HttpListener.dll
-rwxr--r--@ 1 berkan staff 2005152 Jul 14 01:09 System.Net.Http.dll
-rwxr--r--@ 1 berkan staff 90288 Jul 14 01:09 System.Net.Http.Json.dll
-rwxr--r--@ 1 berkan staff 199344 Jul 14 01:09 System.Memory.dll
-rwxr--r--@ 1 berkan staff 616624 Jul 14 01:08 System.Linq.dll
-rwxr--r--@ 1 berkan staff 278688 Jul 14 01:09 System.Linq.Queryable.dll
-rwxr--r--@ 1 berkan staff 988832 Jul 14 01:09 System.Linq.Parallel.dll
-rwxr--r--@ 1 berkan staff 5024944 Jul 14 01:08 System.Linq.Expressions.dll
-rwxr--r--@ 1 berkan staff 15992 Jul 14 00:13 System.IO.dll
-rwxr--r--@ 1 berkan staff 15536 Jul 14 00:13 System.IO.UnmanagedMemoryStream.dll
-rwxr--r--@ 1 berkan staff 143024 Jul 14 01:08 System.IO.Pipes.dll
-rwxr--r--@ 1 berkan staff 24240 Jul 14 01:08 System.IO.Pipes.AccessControl.dll
-rwxr--r--@ 1 berkan staff 78448 Oct 23 2021 System.IO.Pipelines.dll
-rwxr--r--@ 1 berkan staff 84088 Jul 14 01:08 System.IO.MemoryMappedFiles.dll
-rwxr--r--@ 1 berkan staff 90784 Jul 14 01:08 System.IO.IsolatedStorage.dll
-rwxr--r--@ 1 berkan staff 24224 Jul 14 00:13 System.IO.FileSystem.dll
-rwxr--r--@ 1 berkan staff 112800 Jul 14 01:08 System.IO.FileSystem.Watcher.dll
-rwxr--r--@ 1 berkan staff 15520 Jul 14 00:13 System.IO.FileSystem.Primitives.dll
-rwxr--r--@ 1 berkan staff 86648 Jul 14 01:08 System.IO.FileSystem.DriveInfo.dll
-rwxr--r--@ 1 berkan staff 29344 Jul 14 01:08 System.IO.FileSystem.AccessControl.dll
-rwxr--r--@ 1 berkan staff 306336 Jul 14 01:08 System.IO.Compression.dll
-rwxr--r--@ 1 berkan staff 57464 Jul 14 01:08 System.IO.Compression.ZipFile.dll
-rwxr--r--@ 1 berkan staff 15992 Jul 14 00:13 System.IO.Compression.FileSystem.dll
-rwxr--r--@ 1 berkan staff 79520 Jul 14 01:08 System.IO.Compression.Brotli.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Globalization.dll
-rwxr--r--@ 1 berkan staff 15520 Jul 14 00:13 System.Globalization.Extensions.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Globalization.Calendars.dll
-rwxr--r--@ 1 berkan staff 225968 Jul 14 01:08 System.Formats.Asn1.dll
-rwxr--r--@ 1 berkan staff 16504 Jul 14 00:13 System.Dynamic.Runtime.dll
-rwxr--r--@ 1 berkan staff 21168 Jul 14 00:13 System.Drawing.dll
-rwxr--r--@ 1 berkan staff 138912 Jul 14 01:08 System.Drawing.Primitives.dll
-rwxr--r--@ 1 berkan staff 427112 Oct 23 2021 System.Drawing.Common.dll
-rwxr--r--@ 1 berkan staff 16544 Jul 14 00:13 System.Diagnostics.Tracing.dll
-rwxr--r--@ 1 berkan staff 152696 Jul 14 01:08 System.Diagnostics.TraceSource.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Diagnostics.Tools.dll
-rwxr--r--@ 1 berkan staff 66736 Jul 14 01:08 System.Diagnostics.TextWriterTraceListener.dll
-rwxr--r--@ 1 berkan staff 37496 Jul 14 01:08 System.Diagnostics.StackTrace.dll
-rwxr--r--@ 1 berkan staff 261280 Jul 14 01:08 System.Diagnostics.Process.dll
-rwxr--r--@ 1 berkan staff 42616 Jul 14 01:08 System.Diagnostics.FileVersionInfo.dll
-rwxr--r--@ 1 berkan staff 434352 Jul 14 01:08 System.Diagnostics.DiagnosticSource.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Diagnostics.Debug.dll
-rwxr--r--@ 1 berkan staff 16032 Jul 14 00:13 System.Diagnostics.Contracts.dll
-rwxr--r--@ 1 berkan staff 25760 Jul 14 00:13 System.Data.dll
-rwxr--r--@ 1 berkan staff 15992 Jul 14 00:13 System.Data.DataSetExtensions.dll
-rwxr--r--@ 1 berkan staff 3516064 Jul 14 01:08 System.Data.Common.dll
-rwxr--r--@ 1 berkan staff 24200 Jul 14 00:13 System.Core.dll
-rwxr--r--@ 1 berkan staff 213680 Jul 14 01:07 System.Console.dll
-rwxr--r--@ 1 berkan staff 19632 Jul 14 00:13 System.Configuration.dll
-rwxr--r--@ 1 berkan staff 18552 Jul 14 01:07 System.ComponentModel.dll
-rwxr--r--@ 1 berkan staff 862368 Jul 14 01:07 System.ComponentModel.TypeConverter.dll
-rwxr--r--@ 1 berkan staff 86192 Jul 14 01:07 System.ComponentModel.Primitives.dll
-rwxr--r--@ 1 berkan staff 42104 Jul 14 01:07 System.ComponentModel.EventBasedAsync.dll
-rwxr--r--@ 1 berkan staff 17568 Jul 14 00:13 System.ComponentModel.DataAnnotations.dll
-rwxr--r--@ 1 berkan staff 215160 Jul 14 01:07 System.ComponentModel.Annotations.dll
-rwxr--r--@ 1 berkan staff 309880 Jul 14 01:07 System.Collections.dll
-rwxr--r--@ 1 berkan staff 109744 Jul 14 01:07 System.Collections.Specialized.dll
-rwxr--r--@ 1 berkan staff 115376 Jul 14 01:07 System.Collections.NonGeneric.dll
-rwxr--r--@ 1 berkan staff 686200 Jul 14 01:07 System.Collections.Immutable.dll
-rwxr--r--@ 1 berkan staff 273072 Jul 14 01:07 System.Collections.Concurrent.dll
-rwxr--r--@ 1 berkan staff 15480 Jul 14 00:13 System.Buffers.dll
-rwxr--r--@ 1 berkan staff 15488 Jul 14 00:13 System.AppContext.dll
-rwxr--r--@ 1 berkan staff 140856 Jul 14 2022 Splat.dll
-rwxr--r--@ 1 berkan staff 432528 Oct 4 2022 SkiaSharp.dll
-rwxr--r--@ 1 berkan staff 302136 Jul 19 2022 ReactiveUI.dll
-rwxr--r--@ 1 berkan staff 739328 Apr 3 2019 NLog.dll
-rwxr--r--@ 1 berkan staff 26224 Oct 23 2021 Microsoft.Win32.SystemEvents.dll
-rwxr--r--@ 1 berkan staff 64632 Jul 14 01:07 Microsoft.Win32.Registry.dll
-rwxr--r--@ 1 berkan staff 24696 Jul 14 01:07 Microsoft.Win32.Primitives.dll
-rwxr--r--@ 1 berkan staff 18080 Jul 14 00:13 Microsoft.VisualBasic.dll
-rwxr--r--@ 1 berkan staff 1411744 Jul 14 01:07 Microsoft.VisualBasic.Core.dll
-rwxr--r--@ 1 berkan staff 2447752 Nov 12 2020 Microsoft.CodeAnalysis.dll
-rwxr--r--@ 1 berkan staff 136584 Nov 12 2020 Microsoft.CodeAnalysis.Scripting.dll
-rwxr--r--@ 1 berkan staff 5545352 Nov 12 2020 Microsoft.CodeAnalysis.CSharp.dll
-rwxr--r--@ 1 berkan staff 31616 Nov 12 2020 Microsoft.CodeAnalysis.CSharp.Scripting.dll
-rwxr--r--@ 1 berkan staff 952480 Jul 14 01:07 Microsoft.CSharp.dll
-rwxr--r--@ 1 berkan staff 14336 Nov 2 2022 MicroCom.Runtime.dll
-rwxr--r--@ 1 berkan staff 117136 Oct 4 2022 HarfBuzzSharp.dll
-rwxr--r--@ 1 berkan staff 740864 Jul 12 2022 DynamicData.dll
-rwxr--r--@ 1 berkan staff 11264 Jul 5 10:44 Avalonia.dll
-rwxr--r--@ 1 berkan staff 337408 Jul 5 10:44 Avalonia.X11.dll
-rwxr--r--@ 1 berkan staff 763392 Jul 5 10:44 Avalonia.Win32.dll
-rwxr--r--@ 1 berkan staff 673280 Jul 5 10:44 Avalonia.Themes.Simple.dll
-rwxr--r--@ 1 berkan staff 130560 Jul 5 10:44 Avalonia.Skia.dll
-rwxr--r--@ 1 berkan staff 81920 Jul 5 10:44 Avalonia.Remote.Protocol.dll
-rwxr--r--@ 1 berkan staff 46080 Jul 5 10:44 Avalonia.ReactiveUI.dll
-rwxr--r--@ 1 berkan staff 119808 Jul 5 10:44 Avalonia.OpenGL.dll
-rwxr--r--@ 1 berkan staff 310272 Jul 5 10:45 Avalonia.Native.dll
-rwxr--r--@ 1 berkan staff 20480 Jul 5 10:44 Avalonia.MicroCom.dll
-rwxr--r--@ 1 berkan staff 21504 Jul 5 10:44 Avalonia.Metal.dll
-rwxr--r--@ 1 berkan staff 83968 Jul 5 10:44 Avalonia.Markup.dll
-rwxr--r--@ 1 berkan staff 95232 Jul 5 10:44 Avalonia.Markup.Xaml.dll
-rwxr--r--@ 1 berkan staff 237568 Jul 5 10:44 Avalonia.FreeDesktop.dll
-rwxr--r--@ 1 berkan staff 244736 Jul 5 10:44 Avalonia.Dialogs.dll
-rwxr--r--@ 1 berkan staff 337408 Jul 5 10:44 Avalonia.Diagnostics.dll
-rwxr--r--@ 1 berkan staff 23040 Jul 5 10:44 Avalonia.Desktop.dll
-rwxr--r--@ 1 berkan staff 222720 Jul 5 10:44 Avalonia.DesignerSupport.dll
-rwxr--r--@ 1 berkan staff 1120256 Jul 5 10:44 Avalonia.Controls.dll
-rwxr--r--@ 1 berkan staff 495616 Jul 5 10:44 Avalonia.Controls.DataGrid.dll
-rwxr--r--@ 1 berkan staff 667648 Jul 5 10:44 Avalonia.Controls.ColorPicker.dll
-rwxr--r--@ 1 berkan staff 2050560 Jul 5 10:44 Avalonia.Base.dll
drwxr-xr-x@ 4 berkan staff 128 Sep 21 17:59 ..
drwxr-xr-x@ 248 berkan staff 7936 Sep 21 17:58 .
If there is any other information you would like me to pass on, I would be happy to help. Thank you very much for your interest ❤️
That happens when you build on the console, but if you use an IDE (eg: Rider) it should work. Just tried on mine.
When I run the demo application on Rider, it works, but I still haven't been able to run my own application. I get the following error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.IO.FileNotFoundException: Could not load file or assembly 'Xilium.CefGlue.Avalonia, Version=106.5249.19.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'Xilium.CefGlue.Avalonia, Version=106.5249.19.0, Culture=neutral, PublicKeyToken=null'
at Volo.Abp.Studio.UI.Views.SolutionRunner.MainArea.Browser.BrowserView..ctor()
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
--- End of inner exception stack trace ---
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at Volo.Abp.Studio.UI.Services.ViewCreationService.CreateViewByViewModelType(IServiceProvider serviceProvider, Type viewModelType, Object viewModel) in /Users/berkan/Documents/workspace/abp-studio/src/Volo.Abp.Studio.UI.Views/Services/ViewCreationService.cs:line 46
at Volo.Abp.Studio.UI.Services.ViewCreationService.CreateViewByViewModelType(IServiceProvider serviceProvider, Type viewModelType, Action`1 configureViewModel) in /Users/berkan/Documents/workspace/abp-studio/src/Volo.Abp.Studio.UI.Views/Services/ViewCreationService.cs:line 21
at Volo.Abp.Studio.UI.ViewModels.SolutionRunner.MainArea.SolutionRunnerBrowserViewModel.OpenWebPageInNewTab(String url, String name) in /Users/berkan/Documents/workspace/abp-studio/src/Volo.Abp.Studio.UI.ViewModels/Volo/Abp/Studio/UI/ViewModels/SolutionRunner/MainArea/SolutionRunnerBrowserViewModel.cs:line 164
at Volo.Abp.Studio.UI.ViewModels.SolutionRunner.MainArea.SolutionRunnerBrowserViewModel.CreateEmptyTab() in /Users/berkan/Documents/workspace/abp-studio/src/Volo.Abp.Studio.UI.ViewModels/Volo/Abp/Studio/UI/ViewModels/SolutionRunner/MainArea/SolutionRunnerBrowserViewModel.cs:line 133
at ReactiveUI.ReactiveCommand.<>c__DisplayClass0_0.<Create>b__1(IObserver`1 observer) in /_/src/ReactiveUI/ReactiveCommand/ReactiveCommand.cs:line 105
at System.Reactive.Linq.QueryLanguage.CreateWithDisposableObservable`1.SubscribeCore(IObserver`1 observer)
at System.Reactive.ObservableBase`1.Subscribe(IObserver`1 observer)
In my solution build, I added the CefGlue.Avalonia$(CefGluePackageSuffix)
dependency to the *.Views
project, but after I got the build, I saw that Xilium.CefGlue.Avalonia.dll
was in the *.Host
project of my application instead of the *.Views
project. The application is running, but interestingly, I get the above error at runtime. By the way, my application targets net7.0
.
Do you have the specified files in the bin folder? Can you check the architecture of the files? is it x64 or arm64?
As a workaround, I fixed my problem temporarily by editing my code as follows. Since I couldn't set my application as self-contained, the Platform was showing as empty.
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
<PackageSuffix>-ARM64</PackageSuffix>
<CefGluePackageSuffix>.ARM64</CefGluePackageSuffix>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
<CefGlueTargetPlatform>osx-arm64</CefGlueTargetPlatform>
</PropertyGroup>
To reproduce the problem, you can use PackageReference
instead of ProjectReference
here.