We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WPF version of SimpleAudioPlayer has wrong name of assembly. So on use throws FileNotFoundException with
FileName "Plugin.SimpleAudioPlayer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" string
But dll name is "Plugin.SimpleAudioPlayer.WPF.dll"
Workaround:
public partial class App : Application { protected override void OnStartup(StartupEventArgs e) { AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(AssemblyResolver); Xamarin.Forms.Forms.Init(); base.OnStartup(e); } private Assembly AssemblyResolver(object sender, ResolveEventArgs args) { if (args.Name.StartsWith("Plugin.SimpleAudioPlayer", StringComparison.CurrentCultureIgnoreCase)) { return Assembly.LoadFrom("Plugin.SimpleAudioPlayer.WPF.dll"); } return null; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
WPF version of SimpleAudioPlayer has wrong name of assembly. So on use throws FileNotFoundException with
But dll name is "Plugin.SimpleAudioPlayer.WPF.dll"
Workaround:
The text was updated successfully, but these errors were encountered: