a local nuget repository, into which the above-created Avalonia packages have been placed.
I had to remove a using statement from Program.cs that referenced Serilog to get this to compile.
When I run this, using:
$ dotnet run -p GridTest
I get this output:
Unhandled exception. System.TypeLoadException: Method 'CreateEmbeddableWindow' in type 'Avalonia.Native.AvaloniaNativePlatform' from assembly 'Avalonia.Native, Version=0.9.12.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
at Avalonia.AvaloniaNativePlatformExtensions.<>c__DisplayClass0_01.<UseAvaloniaNative>b__0() at Avalonia.Controls.AppBuilderBase1.Setup()
at Avalonia.Controls.AppBuilderBase`1.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
at GridTest.Program.Main(String[] args) in /Users/mj/Documents/develop/avalonia.learn/GridTest/GridTest/Program.cs:line 13
As this error occurred in the native components, I rebuilt that library, and replaced it on my system. This did not fix the problem.
I compiled this from head as of today, but I see the native components is still showing version 0.9.12.0.
Avalonia head is at 849c98aeb on my local repo.
I built Avalonia using:
$ ./build.sh --target Package --skip CompileHtmlPreviewer --configuration Debug
I created a project with:
I also created:
I had to remove a using statement from Program.cs that referenced Serilog to get this to compile.
When I run this, using:
$ dotnet run -p GridTest
I get this output:
As this error occurred in the native components, I rebuilt that library, and replaced it on my system. This did not fix the problem.
I compiled this from head as of today, but I see the native components is still showing version 0.9.12.0.