Friday, July 15, 2016

Android: "Screen Overlay Detetect"

I got this error when trying to allow apps storage rights: "Screen Overlay Detetect". Solution was to remove the night clock display on the side panel.
Samsung Galaxy S7 Edge.

Tuesday, July 12, 2016

System.IO.FileLoadException : Could not load file or assembly 'Moq, Version=4.5.10.0, Culture=neutral, PublicKeyToken=69f491c39445e920' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Solution found here: http://blog.myget.org/post/2014/11/27/Could-not-load-file-or-assembly-NuGet-Assembly-Redirects.aspx



  1. From any .config file, remove the  element and its child elements. In other words: strip your app from assembly binding redirects.
  2. Open the Package Manager Console in Visual Studio. This can be done from the View | Other Windows | Package Manager Console menu.
  3. Type this one, magical command that solves it all: Get-Project -All | Add-BindingRedirect. I repeat: Get-Project -All | Add-BindingRedirect