GNOME Bugzilla – Bug 647205
Fails to start on Windows 7 x64
Last modified: 2011-09-23 05:33:27 UTC
Banshee won't run for me on Windows 7 x64 on multiple machines. I even tried compiling it myself, and ran into the same issue. The log reports several instances of: ERROR: There was an error while scanning assembly: C:\Program Files (x86)\Banshee\bin\atk-sharp.dll (Version 2.0 is not a compatible version.) on all assemblies, on first run. This heavily suggests a problem with Mono.Addins. I did my own build of Mono.Addins 0.6 (Banshee ships 0.4, and the big difference between the two is that Banshee's bundle is built against .NET 1.1), and building/running Banshee against this works.
The "error while scanning" messages are expected/can be ignored -- it's just Mono.Addins scanning native .dlls and being surprised they aren't CIL/managed code. I assume there is something else in the log that indicates the actual bug here? Please attach it or paste the relevant part.
There are two types of "error while scanning" messages - on managed code it gives "(Version 2.0 is not a compatible version.)", on unmanaged code it gives "(Format of the executable (.exe) or library (.dll) is invalid.)". The latter is expected/ignorable. The former is not. Unless things like Nereid.exe are unmanaged code, of course...
Uninstalling the 1.1 framework removes this error. Seems remapping behaviour on Windows is weird. Making users uninstall 1.1 is unrealistic, given apps use it.
If it's possible, we somehow need to make sure that we're not using the 1.1 framework. Maybe with a .config file ?
Resolved in 2.2 - I have the 1.1 framework installed, but Banshee starts fine.
Thanks for the update. I updated the Mono.Addins dll and a few others, that must have fixed this.