Material.Avalonia icon indicating copy to clipboard operation
Material.Avalonia copied to clipboard

Updating `DialogHost.Avalonia` to v0.4 cause 'Could not load file or assembly exception'

Open boexler opened this issue 3 years ago • 1 comments

When updating the DialogHost.Avalonia to v0.4 I get a TargetInvocationException

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.IO.FileLoadException: Could not load file or assembly 'DialogHost.Avalonia, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'DialogHost.Avalonia, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
   at CompiledAvaloniaXaml.!AvaloniaResources.Populate:/DialogHost.axaml(IServiceProvider , Styles )
   at CompiledAvaloniaXaml.!AvaloniaResources.Build:/DialogHost.axaml(IServiceProvider )
   at CompiledAvaloniaXaml.!XamlLoader.TryLoad(String )
   --- End of inner exception stack trace ---

using Material.Avalonia v2.5.0.73-nightly

boexler avatar Mar 17 '22 12:03 boexler

Hello, @dojo90

This is fixed in version 3.0.0-rc0.85-nightly. Does this solve your problem? I will leave the issue open until the next release.

SKProCH avatar Mar 19 '22 11:03 SKProCH

Fixed in 3.0.0-avalonia10-preview2 (or maybe even in 3.0.0-avalonia10-preview1)

SKProCH avatar Sep 27 '22 08:09 SKProCH