You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to test #14517 with latest Avalonia version, so I created new Avalonia app with wizard (it adds version 11.1.0), changed startup project to .Desktop one (known issue, that it needs to be changed) and run it without changing anything else - it runs OK.
Then I updated nugets to 11.2.0 and start getting exception upon running:
System.TypeLoadException
HResult=0x80131522
Message=Method 'CreateEmbeddableTopLevel' in type 'Avalonia.Win32.Win32Platform' from assembly 'Avalonia.Win32, Version=11.1.0.0, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b' does not have an implementation.
Source=Avalonia.Win32
StackTrace:
at Avalonia.Win32ApplicationExtensions.<>c.<UseWin32>b__0_0()
at Avalonia.AppBuilder.SetupUnsafe() in Avalonia\AppBuilder.cs:line 226
at Avalonia.AppBuilder.Setup() in Avalonia\AppBuilder.cs:line 218
at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime) in Avalonia\AppBuilder.cs:line 131
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder) in Avalonia\ClassicDesktopStyleApplicationLifetimeExtensions.cs:line 28
at AvaloniaApplication23.Desktop.Program.Main(String[] args) in C:\Users\User\source\repos\AvaloniaApplication23\AvaloniaApplication23.Desktop\Program.cs:line 14
To Reproduce
Create new Avalonia C# app (default settings)
Change startup project to .Desktop
Run (should work)
Update Avalonia nugets to 11.2.0 (from 11.1.0 as for me)
Run -> Exception
Expected behavior
Should run without issues or at least tell what needs to be changed if it's breaking change.
Avalonia version
11.2.0
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I wanted to test #14517 with latest Avalonia version, so I created new Avalonia app with wizard (it adds version 11.1.0), changed startup project to
.Desktop
one (known issue, that it needs to be changed) and run it without changing anything else - it runs OK.Then I updated nugets to 11.2.0 and start getting exception upon running:
To Reproduce
.Desktop
Expected behavior
Should run without issues or at least tell what needs to be changed if it's breaking change.
Avalonia version
11.2.0
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: