WP: a way to exclude more assemblies?

Feb 22, 2012 at 3:27 PM

Please add a way to exclude more assemblies that seem to interfere with the plugin loading process on Windows Phone. I just figured out that the latest MVVMLight for Windows Phone is one of them. Manual compilation is the only solution in such cases.

The way this bug represents itself is video not playing (obviously) and with logging enabled, you get the "UnableToLocateMediaPlugin" log message.

Coordinator
Feb 22, 2012 at 5:20 PM
Edited Feb 22, 2012 at 5:23 PM

AndrejT, there is a "backdoor" to accomplish this...

Correction: Add to the static PluginsManager.AssembliesToExclude list.

By default we exclude:

            AssembliesToExclude.Add("Microsoft.Phone.Controls,");
            AssembliesToExclude.Add("Microsoft.Phone.Controls.Toolkit,");
            AssembliesToExclude.Add("Microsoft.Web.Media.SmoothStreaming,");
            AssembliesToExclude.Add("System.Windows.Interactivity,");
Note: This is for the WP version only.
Regards, Tim
Feb 22, 2012 at 10:21 PM

Thanks Tim. Unfortunately, I can't seem to get hold of that collection. Must be some mixture of statics and internal modifiers. No problem when I attach the SMF projects to my solution.

Andrej