several tests using Mef fail because statlight tries to load the System.Windows.Controls assembly from the XAP file and generate a conflict somehow.
Could not load file or assembly System.Windows.Controls, Version=126.96.36.199, Culture=neutral, PublicKeyToken=31bf3856ad364e35 or one of its dependencies. The requested assembly version conflicts with what is already bound in the app domain or specified in the
manifest. (Exception from HRESULT: 0x80131053).
Checking the XAP file shows that the right version is included.
Any help here is appreciated