Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CBlacklist has a deprecated constructor in /customers/a/f/c/fjorden.se/httpd.www/joel/scripts/sb_blacklist.php on line 6 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CBannedWords has a deprecated constructor in /customers/a/f/c/fjorden.se/httpd.www/joel/scripts/sb_blacklist.php on line 34 Warning: session_start(): Cannot start session when headers already sent in /customers/a/f/c/fjorden.se/httpd.www/joel/index.php on line 11 Warning: count(): Parameter must be an array or an object that implements Countable in /customers/a/f/c/fjorden.se/httpd.www/joel/scripts/sb_display.php on line 480 Blog by Joel Fjordén a.k.a. Will o Wisp
Unable to activate Windows Metro style application 
Monday, June 11, 2012, 09:17 PM - WinRT
Frustrated about getting this error message when trying to run/debug a Metro style application that worked just a few minutes ago? Well, some blog and forum posts suggest removing the bin and obj folders, but this did not work for me. I finally found out though, that the problem in my case was related to the prerelease NuGet package "MEF for web and Metro style apps".

The problem seems to be with the assembly bindings added to the app.config file. Removing the file completely solves the problem however! You will get compiler warnings of conflicting assembly versions, but at least it works! Until a better solution presents itself...
2 comments ( 175 views )   |  related link