<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>MVVM</title>
        <link>http://blog.galasoft.ch/category/10201.aspx</link>
        <description>Model-View-ViewModel "light" toolkit and other MVVM related posts</description>
        <language>en-US</language>
        <copyright>Laurent Bugnion</copyright>
        <managingEditor>laurent@galasoft.ch</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
        <item>
            <title>Session material from TechDays BE and NL</title>
            <category>.NET</category>
            <category>.NET 4.5</category>
            <category>Expression Blend</category>
            <category>Design</category>
            <category>MVVM</category>
            <category>Phone</category>
            <category>Technical stuff</category>
            <category>UX</category>
            <category>Windows 8</category>
            <category>Windows Phone 8</category>
            <category>Work</category>
            <link>http://blog.galasoft.ch/archive/2013/03/10/session-material-from-techdays-be-and-nl.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://blog.galasoft.ch/archive/2013/03/10/session-material-from-techdays-be-and-nl.aspx'&gt;http://blog.galasoft.ch/archive/2013/03/10/session-material-from-techdays-be-and-nl.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; Added the videos&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Note: Like all material on this blog, this blog post and all the referenced material are licensed under the Creative Commons &lt;a href="http://creativecommons.org/licenses/by/3.0/"&gt;Attribution 3.0 Unported&lt;/a&gt; license. You are free to reuse material from this post and from the referenced material, but you must attribute this material to me, and link to this blog post, or &lt;a href="http://www.galasoft.ch"&gt;to my website&lt;/a&gt;. Thanks!&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;I had the chance to be invited again to speak at TechDays in Belgium (Antwerp) and in the Netherlands (The Hague), and delivered 3 sessions (one of them twice) to an audience of developers. It was as usual a very wonderful experience in two very well organized events. I also had the chance to speak to a number of great speakers such as Jeff Prosise, Ben Riga, Beth Massi, Iris Classon, Rich Griffin and many more who, in the past years spent travelling and speaking at various events around the world, have become really good friends. Meeting these old friends and talking to a lot of new people at conferences is really enriching and brings me a lot of joy. That is the real value of community in what we do, discovering new technologies together and sharing that knowledge.&lt;/p&gt;  &lt;p&gt;Here is the material I used in my sessions.&lt;/p&gt;  &lt;h2&gt;Putting the Microsoft Design Language to work&lt;/h2&gt;  &lt;p&gt;Last year I started presenting a design session about what was then called the Metro design language. This year, I evolved the talk to include many practical examples of existing Windows Phone and Windows 8 apps, as well as many practical tips and tricks that our many years of experience developing with the Microsoft design language have taught us.&lt;/p&gt;  &lt;p&gt;Abstract:&lt;/p&gt;  &lt;p&gt;&lt;i&gt;The &lt;/i&gt;&lt;i&gt;new Microsoft Design Language (formerly known as Metro) has taken the tech world by surprise. It brings a refreshing change from hyper realistic design, and offers a welcomed alternative to the other mobile platforms. From Zune and then Windows Phone, the Microsoft Design Language is now used on a number of platforms and devices, notably on Windows 8 apps. In this session, we will see how we can practically convert the five design principles and put them to work, by studying real life applications and understanding how they were applied.&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;Video of the talk: &lt;a title="High Quality WMV" href="http://media.ch9.ms/ch9/6243/1e101a06-ad02-4197-8e5d-168751486243/PuttingTheMicrosoft_Source.wmv"&gt;High Quality WMV&lt;/a&gt;&lt;/p&gt; &lt;iframe style="height: 540px; width: 960px" src="http://channel9.msdn.com/Events/TechDays/Techdays-2013-the-Netherlands/Putting-the-Microsoft-Design-Language-to-work/player?w=960&amp;amp;h=540" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;  &lt;p&gt;Slides: &lt;a title="http://sdrv.ms/ZBIU9r" href="http://sdrv.ms/ZBIU9r"&gt;http://sdrv.ms/ZBIU9r&lt;/a&gt;&lt;/p&gt; &lt;iframe height="327" src="https://skydrive.live.com/embed?cid=FB0D8F97004979CD&amp;amp;resid=FB0D8F97004979CD%2113711&amp;amp;authkey=AMBuv5AY4d3uHec&amp;amp;em=2" frameborder="0" width="402" scrolling="no"&gt;&lt;/iframe&gt;  &lt;p&gt;The videos I showed to illustrate motion design and kinetic typography:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.youtube.com/watch?v=jIlqatMQSgI"&gt;North by Northwest&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.youtube.com/watch?v=47NbXRq2dlI"&gt;Pulp Fiction&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Source code:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://sdrv.ms/ZBIT5E"&gt;AllAppBarButtons&lt;/a&gt;: A small Win8 app I put together to make it easy to view and use the Windows 8 application bar buttons. Remember that in order to use the buttons from the Common/StandardStyles.xaml resource dictionary, you need to uncomment the corresponding styles. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://sdrv.ms/10z9bu8"&gt;GridDemo&lt;/a&gt;: An example of how to use Blend to design the various states of the app: Portrait, Landscape, Snapped, Filled. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://sdrv.ms/10z9kh0"&gt;ShareContractDemo&lt;/a&gt;: An example of how to setup your app to be a share target for text and URI content. &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;Coding and designing for Windows 8 and Windows Phone&lt;/h2&gt;  &lt;p&gt;Sharing code is easier than ever with the usage of Portable Class Libraries (PCL). This technology is still quite new and a bit immature but we are moving fast! In this session, I show how to setup two apps (Windows Phone and Windows 8) with PCL, how to use Nuget to pull libraries, how to share code at source level too, and how to use NFC to send items from one device to the other.&lt;/p&gt;  &lt;p&gt;Abstract:&lt;/p&gt;  &lt;p&gt;&lt;em&gt;With the release of Windows 8 and Windows Phone 8, Microsoft is reaching a new level of compatibility between desktops, laptops, tablets and mobile phones. This compatibility is not only at code level, but also visually, with the usage of the Microsoft design language. In this session, we will talk about best practices to share and reuse code and about UI design considerations in order to create the best possible experience for the user.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Video of the talk: &lt;a href="http://media.ch9.ms/ch9/6446/04ed96b7-b944-40f9-a724-51348be26446/CodingDesigningforWindows_Source.wmv"&gt;High quality WMV&lt;/a&gt;&lt;/p&gt; &lt;iframe style="height: 540px; width: 960px" src="http://channel9.msdn.com/Events/TechDays/Belgium-2013/63/player?w=960&amp;amp;h=540" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;  &lt;p&gt;Slides: &lt;a title="http://sdrv.ms/XAGmKY" href="http://sdrv.ms/XAGmKY"&gt;http://sdrv.ms/XAGmKY&lt;/a&gt;&lt;/p&gt; &lt;iframe height="327" src="https://skydrive.live.com/embed?cid=FB0D8F97004979CD&amp;amp;resid=FB0D8F97004979CD%2113719&amp;amp;authkey=AHxYJSgaY-tkiNU&amp;amp;em=2" frameborder="0" width="402" scrolling="no"&gt;&lt;/iframe&gt;  &lt;p&gt;Source code:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://sdrv.ms/XAGs5f"&gt;FriendsService&lt;/a&gt;: The web service I use to deliver the JSON list of Friends. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://sdrv.ms/XAGxpH"&gt;Friends&lt;/a&gt;: A Windows Phone and Windows 8 app connecting to the FriendsService to load a list of friends. The apps are setup for design time data (open in Blend to see it), MVVM (with MVVM Light), JSON.NET, the new HttpClient library, and NFC to connect the Windows Phone to the Windows 8 device. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://sdrv.ms/XAGSst"&gt;AsyncWebClient&lt;/a&gt;: An example of how to create an asynchronous web client that can be used with async/await in Windows Phone, and consume it with the same async/await syntax in Windows 8 and in Windows Phone. &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;Advanced Windows Phone 8 development&lt;/h2&gt;  &lt;p&gt;Abstract:&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Windows Phone 8 is the next big thing, and the press is already raving about new devices. With new capabilities, new sensors and improved performance, Windows Phone users have devices which are the best on the market. In this code-packed session, we will talk about advanced features such as asynchronous programming, web connections, mapping and location, background operations (multitasking) and other exciting topics.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Video: &lt;a title="High Quality WMV" href="http://media.ch9.ms/ch9/4518/96261630-700c-41ae-982a-558514f64518/AdvancedWindowsPhone_Source.wmv"&gt;High Quality WMV&lt;/a&gt;&lt;/p&gt; &lt;iframe style="height: 540px; width: 960px" src="http://channel9.msdn.com/Events/TechDays/Techdays-2013-the-Netherlands/Advanced-Windows-Phone-8-development/player?w=960&amp;amp;h=540" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;  &lt;p&gt;Slides: &lt;a title="http://sdrv.ms/XAHheu" href="http://sdrv.ms/XAHheu"&gt;http://sdrv.ms/XAHheu&lt;/a&gt;&lt;/p&gt; &lt;iframe height="327" src="https://skydrive.live.com/embed?cid=FB0D8F97004979CD&amp;amp;resid=FB0D8F97004979CD%2113717&amp;amp;authkey=AP5w95t__XSKYB0&amp;amp;em=2" frameborder="0" width="402" scrolling="no"&gt;&lt;/iframe&gt;  &lt;p&gt;Source code:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://sdrv.ms/WWg2XV"&gt;PhoneDemo&lt;/a&gt;: The full demo with Nuget, JSON.NET, MVVM (with MVVM Light), design time data (for Blend), NFC, Speech, Background Task, Toast notification, Live tile, Mapping and Location. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://sdrv.ms/WWgw0h"&gt;SimpleBackgroundTask&lt;/a&gt;: A simple app showing how to setup a background task, using toast and live tile for notification. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://sdrv.ms/WWgGov"&gt;SimpleNfc&lt;/a&gt;: A simple app showing how to use NFC to exchange data between a Windows Phone and a Windows 8 device. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://sdrv.ms/WWgO7t"&gt;SimpleSpeech&lt;/a&gt;: A simple app showing how to make your phone speak, and how to make it react to voice commands. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Hoping that all this material will be useful to many developers out there!!&lt;/p&gt;  &lt;p&gt;Happy coding,    &lt;br /&gt;Laurent&lt;/p&gt;  &lt;div style="margin-bottom: -1em"&gt;   &lt;div style="vertical-align: middle"&gt;&lt;a href="http://www.galasoft.ch/"&gt;&lt;img title="GalaSoft Laurent Bugnion" alt="GalaSoft Laurent Bugnion" src="http://www.galasoft.ch/logo/Current/logo_120x30.png" /&gt;&lt;/a&gt; &lt;/div&gt;    &lt;div style="position: relative; left: 130px; top: -36px"&gt;&lt;strong&gt;&lt;a href="http://www.galasoft.ch/contact_en.html"&gt;Laurent Bugnion (GalaSoft)&lt;/a&gt;&lt;/strong&gt;       &lt;br /&gt;&lt;a href="http://feeds.feedburner.com/galasoft"&gt;Subscribe&lt;/a&gt; | &lt;a href="http://twitter.com/lbugnion"&gt;Twitter&lt;/a&gt; | &lt;a href="http://www.facebook.com/lbugnion"&gt;Facebook&lt;/a&gt; | &lt;a href="http://www.flickr.com/photos/lbugnion"&gt;Flickr&lt;/a&gt; | &lt;a href="http://www.linkedin.com/in/lbugnion"&gt;LinkedIn&lt;/a&gt;       &lt;br /&gt;&lt;iframe style="border-top-style: none; overflow: hidden; margin-bottom: -20px; border-left-style: none; height: 23px; border-bottom-style: none; border-right-style: none; margin-top: 7px; width: 450px" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fhttp://blog.galasoft.ch/archive/2013/03/10/session-material-from-techdays-be-and-nl.aspx&amp;amp;layout=standard&amp;amp;show_faces=true&amp;amp;width=450&amp;amp;action=like&amp;amp;colorscheme=light" frameborder="0" allowtransparency="allowtransparency" scrolling="no"&gt;&lt;/iframe&gt;&lt;/div&gt; &lt;/div&gt; &lt;img src="http://blog.galasoft.ch/aggbug/152365.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Laurent Bugnion</dc:creator>
            <guid>http://blog.galasoft.ch/archive/2013/03/10/session-material-from-techdays-be-and-nl.aspx</guid>
            <pubDate>Sun, 10 Mar 2013 17:29:26 GMT</pubDate>
            <wfw:comment>http://blog.galasoft.ch/comments/152365.aspx</wfw:comment>
            <comments>http://blog.galasoft.ch/archive/2013/03/10/session-material-from-techdays-be-and-nl.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://blog.galasoft.ch/comments/commentRss/152365.aspx</wfw:commentRss>
            <trackback:ping>http://blog.galasoft.ch/services/trackbacks/152365.aspx</trackback:ping>
        </item>
        <item>
            <title>MVVM Light V4.1.27.0 in Nuget</title>
            <category>.NET</category>
            <category>.NET 3.5</category>
            <category>.NET 4</category>
            <category>.NET 4.5</category>
            <category>MVVM</category>
            <category>Phone</category>
            <category>Silverlight</category>
            <category>Silverlight 4</category>
            <category>Silverlight 5</category>
            <category>Technical stuff</category>
            <category>WPF</category>
            <category>Windows 8</category>
            <category>Windows Phone 7 "Mango"</category>
            <category>Windows Phone 7 wp7dev</category>
            <category>Windows Phone 8</category>
            <category>Work</category>
            <link>http://blog.galasoft.ch/archive/2013/02/14/mvvm-light-v4.1.27.0-in-nuget.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://blog.galasoft.ch/archive/2013/02/14/mvvm-light-v4.1.27.0-in-nuget.aspx'&gt;http://blog.galasoft.ch/archive/2013/02/14/mvvm-light-v4.1.27.0-in-nuget.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I just pushed a new version of MVVM Light to Nuget. The new version is 4.1.27.0. The difference towards the previous version (4.1.26.1) and this one is that I am not depending on the CommonServiceLocator Nuget package instead of providing my own.&lt;/p&gt;  &lt;p&gt;However, the CommonServiceLocator does not exist for all MVVM Light-supported frameworks. We have the following situation:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;WPF3.5 SP1, WPF4, WPF4.5: Depends on the CommonServiceLocator Nuget package. &lt;/li&gt;    &lt;li&gt;Silverlight 4, Silverlight 5: Depends on the CommonServiceLocator Nuget package. &lt;/li&gt;    &lt;li&gt;Windows Phone 7.1, Windows Phone 8: Provides its own CommonServiceLocator implementation &lt;/li&gt;    &lt;li&gt;Windows 8: Provides its own CommonServiceLocator implementation &lt;/li&gt;    &lt;li&gt;Windows Phone 7.0, Silverlight 3: Not supported anymore in Nuget. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;This change was needed for two reasons:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Simplifying the deployment by relying on existing packages instead of using my own. &lt;/li&gt;    &lt;li&gt;Avoiding strong name issues when working in conjunction with another package that uses the CommonServiceLocator (such as Unity for example). &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;MVVM Light (full) now depends on MVVM Light Libs&lt;/h2&gt;  &lt;p&gt;There are two packages in Nuget for MVVM Light:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="https://nuget.org/packages/MvvmLightLibs/"&gt;MvvmLightLibs&lt;/a&gt; provides only the DLLs with the toolkit’s components. No additional content is added. &lt;/li&gt;    &lt;li&gt;&lt;a href="https://nuget.org/packages/MvvmLight/"&gt;MvvmLight&lt;/a&gt; provides the DLLs and also a skeleton of ViewModelLocator and MainViewModel (as files). It also modifies the App.xaml and MainPage.xaml file to (attempt to) wire the ViewModelLocator and the MainViewModel (as DataContext). There are still a couple of issues in Windows 8 and Windows Phone 8 which I will do my best to solve ASAP. &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;What’s next? Installer!&lt;/h2&gt;  &lt;p&gt;The next step will be to finally provide the full MSI with the 4.1.27 build of the DLLs as well as some changes to the project templates. I had a few issues with the installer but I have good hopes that I can resolve that soon.&lt;/p&gt;  &lt;p&gt;Happy coding    &lt;br /&gt;Laurent&lt;/p&gt;  &lt;div style="margin-bottom: -1em"&gt;   &lt;div style="vertical-align: middle"&gt;&lt;a href="http://www.galasoft.ch/"&gt;&lt;img title="GalaSoft Laurent Bugnion" alt="GalaSoft Laurent Bugnion" src="http://www.galasoft.ch/logo/Current/logo_120x30.png" /&gt;&lt;/a&gt; &lt;/div&gt;    &lt;div style="position: relative; left: 130px; top: -36px"&gt;&lt;strong&gt;&lt;a href="http://www.galasoft.ch/contact_en.html"&gt;Laurent Bugnion (GalaSoft)&lt;/a&gt;&lt;/strong&gt;       &lt;br /&gt;&lt;a href="http://feeds.feedburner.com/galasoft"&gt;Subscribe&lt;/a&gt; | &lt;a href="http://twitter.com/lbugnion"&gt;Twitter&lt;/a&gt; | &lt;a href="http://www.facebook.com/lbugnion"&gt;Facebook&lt;/a&gt; | &lt;a href="http://www.flickr.com/photos/lbugnion"&gt;Flickr&lt;/a&gt; | &lt;a href="http://www.linkedin.com/in/lbugnion"&gt;LinkedIn&lt;/a&gt;       &lt;br /&gt;&lt;iframe style="border-top-style: none; overflow: hidden; margin-bottom: -20px; border-left-style: none; height: 23px; border-bottom-style: none; border-right-style: none; margin-top: 7px; width: 450px" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.galasoft.ch/archive/2013/02/14/mvvm-light-v4.1.27.0-in-nuget.aspx&amp;amp;layout=standard&amp;amp;show_faces=true&amp;amp;width=450&amp;amp;action=like&amp;amp;colorscheme=light" frameborder="0" allowtransparency="allowtransparency" scrolling="no"&gt;&lt;/iframe&gt;&lt;/div&gt; &lt;/div&gt; &lt;img src="http://blog.galasoft.ch/aggbug/152102.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Laurent Bugnion</dc:creator>
            <guid>http://blog.galasoft.ch/archive/2013/02/14/mvvm-light-v4.1.27.0-in-nuget.aspx</guid>
            <pubDate>Thu, 14 Feb 2013 20:44:15 GMT</pubDate>
            <wfw:comment>http://blog.galasoft.ch/comments/152102.aspx</wfw:comment>
            <comments>http://blog.galasoft.ch/archive/2013/02/14/mvvm-light-v4.1.27.0-in-nuget.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://blog.galasoft.ch/comments/commentRss/152102.aspx</wfw:commentRss>
            <trackback:ping>http://blog.galasoft.ch/services/trackbacks/152102.aspx</trackback:ping>
        </item>
        <item>
            <title>MVVM Light V4.1.26 change log</title>
            <category>.NET</category>
            <category>.NET 3.5</category>
            <category>.NET 4</category>
            <category>.NET 4.5</category>
            <category>MVVM</category>
            <category>Work</category>
            <category>Windows Phone 8</category>
            <category>Windows 8</category>
            <category>Windows Phone 7 "Mango"</category>
            <category>Windows Phone 7 wp7dev</category>
            <category>WPF</category>
            <category>Technical stuff</category>
            <category>Silverlight 5</category>
            <category>Silverlight 4</category>
            <category>Silverlight</category>
            <category>Phone</category>
            <link>http://blog.galasoft.ch/archive/2013/01/05/mvvm-light-v4.1.26-change-log.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://blog.galasoft.ch/archive/2013/01/05/mvvm-light-v4.1.26-change-log.aspx'&gt;http://blog.galasoft.ch/archive/2013/01/05/mvvm-light-v4.1.26-change-log.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I just published the change log for MVVM Light V4.1.26, which is available on Nuget only at this time. The full version is available here, while the “libraries only” version is available here.&lt;/p&gt;  &lt;p&gt;I am working on an installer which will also add a few more changes to the templates and one bug fix in the code snippets. Stay tuned for that installer as soon as I figure a few things out.&lt;/p&gt; &lt;strong&gt;Important note:&lt;/strong&gt; V4.1.26 is only available on Nuget (&lt;a href="http://nuget.org/packages/MvvmLight"&gt;here&lt;/a&gt; and &lt;a href="http://nuget.org/packages/MvvmLightLibs"&gt;here&lt;/a&gt;) at the current time. An installer will be published soon with changes to the project and item templates too.   &lt;br /&gt;  &lt;br /&gt;  &lt;h3&gt;Miscellaneous&lt;/h3&gt;  &lt;ul class="squarelist"&gt;   &lt;li&gt;BL0023.003, Change source structure to include Windows 8 in the normal flow of the folders &lt;/li&gt;    &lt;li&gt;BL0023.004, Remove UniversalConverter &lt;/li&gt;    &lt;li&gt;BL0023.005, Issue &lt;a href="http://mvvmlight.codeplex.com/workitem/7594"&gt;7594&lt;/a&gt;: VS 2012 XML Design time error &lt;/li&gt;    &lt;li&gt;BL0023.007, Remove INPChanging temporarily to solve design time issues (WP7.1 only) &lt;/li&gt;    &lt;li&gt;BL0009.006, Ported to .NET 4.5 &lt;/li&gt;    &lt;li&gt;BL0009.007, Ported to Windows Phone 8 &lt;/li&gt; &lt;/ul&gt;  &lt;h3&gt;SimpleIoc&lt;/h3&gt;  &lt;ul class="squarelist"&gt;   &lt;li&gt;BL0005.001, Issue &lt;a href="http://mvvmlight.codeplex.com/workitem/7577"&gt;7577&lt;/a&gt;: SimpleIoc misleading error when class has private constructor &lt;/li&gt;    &lt;li&gt;BL0005.003, An exception can occur when a class has a static constructor and a default constructor, even when they are not explicitly declared. &lt;/li&gt;    &lt;li&gt;BL0005.007, ContainsCreated should return true if called without a key, if a keyed instance is found &lt;/li&gt; &lt;/ul&gt;  &lt;h3&gt;EventToCommand&lt;/h3&gt;  &lt;ul class="squarelist"&gt;   &lt;li&gt;BL0004.005, The type 'EventToCommand' from assembly 'GalaSoft.MvvmLight.Extras.WPF4' is built with an older version of the Blend SDK, and is not supported in a Windows Presentation Framework 4 project. &lt;/li&gt; &lt;/ul&gt;  &lt;h3&gt;DispatcherHelper&lt;/h3&gt;  &lt;ul class="squarelist"&gt;   &lt;li&gt;BL0004.001, Rename InvokeAsync in RunAsync &lt;/li&gt;    &lt;li&gt;BL0004.002, Return DispatcherOperation (or IAsyncOperation in Win8) for RunAsync. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Happy coding&lt;/p&gt;  &lt;p&gt;Laurent&lt;/p&gt; &lt;img src="http://blog.galasoft.ch/aggbug/151742.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Laurent Bugnion</dc:creator>
            <guid>http://blog.galasoft.ch/archive/2013/01/05/mvvm-light-v4.1.26-change-log.aspx</guid>
            <pubDate>Sat, 05 Jan 2013 22:10:50 GMT</pubDate>
            <wfw:comment>http://blog.galasoft.ch/comments/151742.aspx</wfw:comment>
            <comments>http://blog.galasoft.ch/archive/2013/01/05/mvvm-light-v4.1.26-change-log.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://blog.galasoft.ch/comments/commentRss/151742.aspx</wfw:commentRss>
            <trackback:ping>http://blog.galasoft.ch/services/trackbacks/151742.aspx</trackback:ping>
        </item>
        <item>
            <title>A fix for the design time error in MVVM Light V4.1</title>
            <category>Work</category>
            <category>Windows Phone 8</category>
            <category>Technical stuff</category>
            <category>Phone</category>
            <category>MVVM</category>
            <category>Expression Blend</category>
            <link>http://blog.galasoft.ch/archive/2012/11/11/a-fix-for-the-design-time-error-in-mvvm-light.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://blog.galasoft.ch/archive/2012/11/11/a-fix-for-the-design-time-error-in-mvvm-light.aspx'&gt;http://blog.galasoft.ch/archive/2012/11/11/a-fix-for-the-design-time-error-in-mvvm-light.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;For those of you who &lt;a href="http://mvvmlight.codeplex.com/releases/view/96993"&gt;installed V4.1 of MVVM Light&lt;/a&gt; and created a project for Windows Phone 8, you will have noticed an error showing up in the design surface (either in Visual Studio designer, or in Expression Blend). The error says: “Could not load type ‘System.ComponentModel.INotifyPropertyChanging’ from assembly ‘mscorlib.extensions’” with additional information about version numbers.&lt;/p&gt;  &lt;p&gt;&lt;img src="http://farm9.staticflickr.com/8346/8176677954_6926e7f756_o.png" /&gt;&lt;/p&gt;  &lt;p&gt;The error is caused by an incompatibility between versions of System.Windows.Interactivity. Because this assembly is strongly named, any version incompatibility is causing the kind of error shown here (for an interesting discussion on the strong naming issue, &lt;a href="http://nuget.codeplex.com/discussions/247827"&gt;see this thread on Codeplex&lt;/a&gt;).&lt;/p&gt;  &lt;p&gt;I managed to resolve the issue for Windows Phone 8 and will publish a cleaned up installer next week. In the mean time, in order to allow you to continue development, please follow the steps:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://sdrv.ms/UUyOfU"&gt;Download the new DLLs zip package&lt;/a&gt; (MVVMLight_V4_1_26.zip).  &lt;/li&gt;    &lt;li&gt;Right click on the Zip file and select Properties from the context menu. &lt;/li&gt;    &lt;li&gt;Press the “Unblock” button (if available) and then OK. &lt;/li&gt;    &lt;li&gt;Right click again on the zip package and select “Extract all…”. Select a known location for the new DLLs. &lt;/li&gt;    &lt;li&gt;Open the MVVM Light project with the design time error in Visual Studio 2012. &lt;/li&gt;    &lt;li&gt;Open the References folder in the Solution Explorer. &lt;/li&gt;    &lt;li&gt;Select the following DLLs: GalaSoft.MvvmLight.dll, GalaSoft.MvvmLight.Extras.dll, Microsoft.Practices.ServiceLocation.dll and System.Windows.Interactivity.dll. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;img src="http://farm9.staticflickr.com/8337/8176706037_5cb0c3c193_o.png" /&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Press “delete” and confirm to remove the DLLs from your project. &lt;/li&gt;    &lt;li&gt;Right click on References and select Add Reference from the context menu. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;img src="http://farm9.staticflickr.com/8348/8176762626_332a6cb9c5_o.png" /&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Browse to the folder with the new DLLs. &lt;/li&gt;    &lt;li&gt;Select the four new DLLs and press OK. &lt;/li&gt;    &lt;li&gt;Rebuild your application, and open it again in Blend or in the Visual Studio designer. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The error should be gone now.&lt;/p&gt;  &lt;p&gt;In the next few days, as time allows, I will publish a new MSI containing a fixed version of the DLLs as well as a few other improvements. This quick fix should however allow you to continue working on your Windows Phone 8 projects in design mode too.&lt;/p&gt;  &lt;h2&gt;Special note for WP7.1&lt;/h2&gt;  &lt;p&gt;Because of some issues with the WP7.1 version of the DLLs, I had to (hopefully temporarily) remove the INotifyPropertyChanging interface from the ObservableObject and ViewModelBase classes. I am talking with Microsoft to try and solve this issue. In the meantime, I hope that this change will not affect too many people.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;div style="margin-bottom: -1em"&gt;   &lt;div style="vertical-align: middle"&gt;&lt;a href="http://www.galasoft.ch/"&gt;&lt;img title="GalaSoft Laurent Bugnion" alt="GalaSoft Laurent Bugnion" src="http://www.galasoft.ch/logo/Current/logo_120x30.png" /&gt;&lt;/a&gt; &lt;/div&gt;    &lt;div style="position: relative; left: 130px; top: -36px"&gt;&lt;strong&gt;&lt;a href="http://www.galasoft.ch/contact_en.html"&gt;Laurent Bugnion (GalaSoft)&lt;/a&gt;&lt;/strong&gt;       &lt;br /&gt;&lt;a href="http://feeds.feedburner.com/galasoft"&gt;Subscribe&lt;/a&gt; | &lt;a href="http://twitter.com/lbugnion"&gt;Twitter&lt;/a&gt; | &lt;a href="http://www.facebook.com/lbugnion"&gt;Facebook&lt;/a&gt; | &lt;a href="http://www.flickr.com/photos/lbugnion"&gt;Flickr&lt;/a&gt; | &lt;a href="http://www.linkedin.com/in/lbugnion"&gt;LinkedIn&lt;/a&gt;       &lt;br /&gt;&lt;iframe style="border-top-style: none; overflow: hidden; margin-bottom: -20px; border-left-style: none; height: 23px; border-bottom-style: none; border-right-style: none; margin-top: 7px; width: 450px" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.galasoft.ch&amp;amp;layout=standard&amp;amp;show_faces=true&amp;amp;width=450&amp;amp;action=like&amp;amp;colorscheme=light" frameborder="0" allowtransparency="allowtransparency" scrolling="no"&gt;&lt;/iframe&gt;&lt;/div&gt; &lt;/div&gt; &lt;img src="http://blog.galasoft.ch/aggbug/151228.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Laurent Bugnion</dc:creator>
            <guid>http://blog.galasoft.ch/archive/2012/11/11/a-fix-for-the-design-time-error-in-mvvm-light.aspx</guid>
            <pubDate>Sun, 11 Nov 2012 22:26:25 GMT</pubDate>
            <wfw:comment>http://blog.galasoft.ch/comments/151228.aspx</wfw:comment>
            <comments>http://blog.galasoft.ch/archive/2012/11/11/a-fix-for-the-design-time-error-in-mvvm-light.aspx#feedback</comments>
            <slash:comments>8</slash:comments>
            <wfw:commentRss>http://blog.galasoft.ch/comments/commentRss/151228.aspx</wfw:commentRss>
            <trackback:ping>http://blog.galasoft.ch/services/trackbacks/151228.aspx</trackback:ping>
        </item>
        <item>
            <title>Oredev 2012: Summary and source code</title>
            <category>.NET</category>
            <category>Work</category>
            <category>Windows Phone 8</category>
            <category>Windows 8</category>
            <category>UX</category>
            <category>Technical stuff</category>
            <category>Personal</category>
            <category>MVVM</category>
            <category>Expression Blend</category>
            <link>http://blog.galasoft.ch/archive/2012/11/11/oredev-2012-summary-and-source-code.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://blog.galasoft.ch/archive/2012/11/11/oredev-2012-summary-and-source-code.aspx'&gt;http://blog.galasoft.ch/archive/2012/11/11/oredev-2012-summary-and-source-code.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://oredev.org/"&gt;&lt;img style="float: left; margin: 0px 10px 0px 0px; display: inline" align="left" src="http://farm9.staticflickr.com/8478/8176409476_264a856d48_o.png" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This week, I had the pleasure to be invited to talk at &lt;a href="http://oredev.org/"&gt;Oredev&lt;/a&gt;, a really cool conference taking place in Malmo, Sweden. The whole event is awesome, including a very special dinner on Monday including sauna and swimming in a 6 degrees cold Baltic sea, and a reception with dinner at the town hall, including the mayor himself. Considering Malmo is a town of 300'000 inhabitants, it is a pretty nice occasion and the historical building itself is really worth seeing. For those interested, &lt;a href="http://www.flickr.com/photos/lbugnion/sets/72157631973585291/with/8172005265/"&gt;I placed my pictures on my Flickr account&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;I had a workshop on Tuesday morning about &lt;a href="http://oredev.org/2012/sessions/windows-8-development-with-xaml-c-"&gt;Windows 8 development with XAML/C#&lt;/a&gt;, and then a session on &lt;a href="http://oredev.org/2012/sessions/mvvm-applied-in-windows-phone-and-windows-8"&gt;Wednesday about MVVM in Windows Phone 8 and Windows 8&lt;/a&gt;, of course &lt;a href="http://mvvmlight.codeplex.com/"&gt;using MVVM Light&lt;/a&gt;. I was very nervous because I reworked some of my demos as recently as this morning, in the wake of the Build conference last week and the release of both the Windows Phone SDK and MVVM Light V4.1. Everything went well however, and if I judge by the people I talked t after the talk, and Twitter, everything went pretty well. &lt;/p&gt;  &lt;p&gt;Before my talk on Tuesday, I had the pleasure to see a &lt;a href="http://oredev.org/2012/sessions/stupid-questions-and-n00bs--top-ten-intriguing-things-you-need-to-do"&gt;talk by Iris Classon (@irisclasson)&lt;/a&gt; on the challenges of being a "n00b" and a woman in software development. I especially appreciated her research and conclusions on the lack of women I our industry, a topic that is dear to my heart (because I want the best possible future for my two daughters, and also because I really enjoy working with women on projects, and getting a different insight on the art of software development.&lt;/p&gt;  &lt;p&gt;I really want to thank the excellent organization committee for their hard work and their fantastic welcome to Malmo. In particular Emily Holweck did a wonderful job and was super helpful throughout the preparation and the conference itself. I made a few pictures during my stay, all with the new Nokia Lumia 920, and hope you will enjoy them too.&lt;/p&gt;  &lt;h2&gt;The source code and the slides…&lt;/h2&gt;  &lt;p&gt;The source code is available for download from Skydrive. You will find the following:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="https://skydrive.live.com/redir?resid=FB0D8F97004979CD!1048"&gt;Windows 8 workshop slides&lt;/a&gt;. &lt;/li&gt;    &lt;li&gt;&lt;a href="https://skydrive.live.com/redir?resid=FB0D8F97004979CD!1049"&gt;MVVM Applied slides&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="https://skydrive.live.com/redir?resid=FB0D8F97004979CD!1047"&gt;Source code package&lt;/a&gt; with       &lt;ul&gt;       &lt;li&gt;Win8Demo: The demo I built during the 4 hours workshop, with some light MVVM, web services (JSON), GridView, Design time data (Blend / Visual Studio designer), Bing maps integration, location sensor, Search pane integration. &lt;/li&gt;        &lt;li&gt;SemanticZoomSample: a sample I put together to demonstrate the SemanticZoom control, with two GridViews and of course full design time data for Blend work. Due to time constraints, I was not able to show this demo during the workshop, but I publish it anyway, hoping it will be useful to someone. &lt;/li&gt;        &lt;li&gt;PictureUploader: The demo I built during my 50 minutes session about MVVM Applied in Windows Phone 8 and Windows 8. Code sharing, design time data, MVVM Light are used in Windows Phone 8 and Windows 8 apps. &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;And in video…&lt;/h2&gt;  &lt;p&gt;You can also see the video of my MVVM talk thanks to the good services of the Oredev team!&lt;/p&gt; &lt;iframe height="281" src="http://player.vimeo.com/video/53068482?badge=0" frameborder="0" width="500" mozallowfullscreen="mozallowfullscreen" webkitallowfullscreen="webkitallowfullscreen" allowfullscreen="allowfullscreen"&gt;&lt;/iframe&gt;  &lt;p&gt;&lt;a href="http://vimeo.com/53068482"&gt;MVVM Applied in Windows Phone and Windows 8&lt;/a&gt; from &lt;a href="http://vimeo.com/user4280938"&gt;Øredev Conference&lt;/a&gt; on &lt;a href="http://vimeo.com"&gt;Vimeo&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;div style="margin-bottom: -1em"&gt;   &lt;div style="vertical-align: middle"&gt;&lt;a href="http://www.galasoft.ch/"&gt;&lt;img title="GalaSoft Laurent Bugnion" alt="GalaSoft Laurent Bugnion" src="http://www.galasoft.ch/logo/Current/logo_120x30.png" /&gt;&lt;/a&gt; &lt;/div&gt;    &lt;div style="position: relative; left: 130px; top: -36px"&gt;&lt;strong&gt;&lt;a href="http://www.galasoft.ch/contact_en.html"&gt;Laurent Bugnion (GalaSoft)&lt;/a&gt;&lt;/strong&gt;       &lt;br /&gt;&lt;a href="http://feeds.feedburner.com/galasoft"&gt;Subscribe&lt;/a&gt; | &lt;a href="http://twitter.com/lbugnion"&gt;Twitter&lt;/a&gt; | &lt;a href="http://www.facebook.com/lbugnion"&gt;Facebook&lt;/a&gt; | &lt;a href="http://www.flickr.com/photos/lbugnion"&gt;Flickr&lt;/a&gt; | &lt;a href="http://www.linkedin.com/in/lbugnion"&gt;LinkedIn&lt;/a&gt;       &lt;br /&gt;&lt;iframe style="border-top-style: none; overflow: hidden; margin-bottom: -20px; border-left-style: none; height: 23px; border-bottom-style: none; border-right-style: none; margin-top: 7px; width: 450px" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.galasoft.ch/archive/2012/11/11/oredev-2012-summary-and-source-code.aspx&amp;amp;layout=standard&amp;amp;show_faces=true&amp;amp;width=450&amp;amp;action=like&amp;amp;colorscheme=light" frameborder="0" allowtransparency="allowtransparency" scrolling="no"&gt;&lt;/iframe&gt;&lt;/div&gt; &lt;/div&gt; &lt;img src="http://blog.galasoft.ch/aggbug/151227.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Laurent Bugnion</dc:creator>
            <guid>http://blog.galasoft.ch/archive/2012/11/11/oredev-2012-summary-and-source-code.aspx</guid>
            <pubDate>Sun, 11 Nov 2012 20:27:21 GMT</pubDate>
            <wfw:comment>http://blog.galasoft.ch/comments/151227.aspx</wfw:comment>
            <comments>http://blog.galasoft.ch/archive/2012/11/11/oredev-2012-summary-and-source-code.aspx#feedback</comments>
            <wfw:commentRss>http://blog.galasoft.ch/comments/commentRss/151227.aspx</wfw:commentRss>
            <trackback:ping>http://blog.galasoft.ch/services/trackbacks/151227.aspx</trackback:ping>
        </item>
        <item>
            <title>MVVM Light V4.1 with support for Windows Phone 8</title>
            <category>.NET</category>
            <category>.NET 4</category>
            <category>.NET 3.5</category>
            <category>.NET 4.5</category>
            <category>Expression Blend</category>
            <category>MVVM</category>
            <category>Phone</category>
            <category>Silverlight 4</category>
            <category>Silverlight 5</category>
            <category>Technical stuff</category>
            <category>WPF</category>
            <category>Windows 8</category>
            <category>Work</category>
            <category>Windows Phone 7 wp7dev</category>
            <category>Windows Phone 7 "Mango"</category>
            <category>Windows Phone 8</category>
            <link>http://blog.galasoft.ch/archive/2012/10/30/mvvm-light-v4.1-with-support-for-windows-phone-8.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://blog.galasoft.ch/archive/2012/10/30/mvvm-light-v4.1-with-support-for-windows-phone-8.aspx'&gt;http://blog.galasoft.ch/archive/2012/10/30/mvvm-light-v4.1-with-support-for-windows-phone-8.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="float: left; margin: 0px 20px 0px 0px; display: inline" align="left" src="http://www.galasoft.ch/mvvm/logo.png" /&gt;&lt;/p&gt;  &lt;p&gt;Today is a very exciting day: After the official release of Windows 8 (and Microsoft Surface!) on Friday, and the official release of Windows Phone 8 on Monday, the Build conference is starting! This is the conference in which we will learn all about the developer experience for Windows 8 and Windows Phone 8.&lt;/p&gt;  &lt;p&gt;As a partner of Microsoft, I had the privilege of trying out some of the new things early, and this gave me the opportunity to port MVVM Light to Windows Phone 8 (it was already running for Windows 8), and today I am officially publishing this new version.&lt;/p&gt;  &lt;p&gt;Before you go and update, please not the following: &lt;strong&gt;V4.1 (4.1.24.0) only supports Visual Studio 2012 (and Express).&lt;/strong&gt; If for some reason you are still using Visual Studio 2010, don’t despair! In the next few days I will publish an update supporting these versions as well. But for now, please only upgrade if you are on VS12!&lt;/p&gt;  &lt;p&gt;That being said, here we go: The &lt;a href="http://mvvmlight.codeplex.com/releases/view/96993"&gt;download page is available on Codeplex and you can download the updated MSI&lt;/a&gt; and install it. Please make sure to &lt;strong&gt;read the Readme HTML page&lt;/strong&gt; that automatically opens in your web browser after the MSI completes! It contains important information on how to install selected Project and Item templates for the frameworks of your choice.&lt;/p&gt;  &lt;p&gt;This version also support the following versions of Visual Studio:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.microsoft.com/visualstudio/eng/products/visual-studio-overview"&gt;Visual Studio 2012 Pro, Premium, Ultimate&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-windows-8"&gt;Visual Studio 2012 Express for Windows 8&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=fcfccdee-485c-4c2f-a46e-f8263a11faad"&gt;Visual Studio 2012 Express for Windows Phone 8&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-web"&gt;Visual Studio 2012 Express for Web&lt;/a&gt; (Silverlight 4, Silverlight 5) &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-windows-desktop"&gt;Visual Studio 2012 Express for Windows Desktop&lt;/a&gt; (WPF3.5, WPF4, WPF4.5) &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;We also support Expression Blend of course. &lt;/p&gt;  &lt;p&gt;Windows Phone 8 and Windows 8 are very very exciting opportunities for developers in the whole world. There are already a number of apps running on top of MVVM Light in the Windows Store and of course a large range of apps for Windows Phone too. With this release, we hope to support the developers and speed up application development. It is a pleasure to serve such an innovative and creative community!&lt;/p&gt;  &lt;p&gt;Happy coding    &lt;br /&gt;Laurent&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;div style="margin-bottom: -1em"&gt;   &lt;div style="vertical-align: middle"&gt;&lt;a href="http://www.galasoft.ch/"&gt;&lt;img title="GalaSoft Laurent Bugnion" alt="GalaSoft Laurent Bugnion" src="http://www.galasoft.ch/logo/Current/logo_120x30.png" /&gt;&lt;/a&gt; &lt;/div&gt;    &lt;div style="position: relative; left: 130px; top: -36px"&gt;&lt;strong&gt;&lt;a href="http://www.galasoft.ch/contact_en.html"&gt;Laurent Bugnion (GalaSoft)&lt;/a&gt;&lt;/strong&gt;       &lt;br /&gt;&lt;a href="http://feeds.feedburner.com/galasoft"&gt;Subscribe&lt;/a&gt; | &lt;a href="http://twitter.com/lbugnion"&gt;Twitter&lt;/a&gt; | &lt;a href="http://www.facebook.com/lbugnion"&gt;Facebook&lt;/a&gt; | &lt;a href="http://www.flickr.com/photos/lbugnion"&gt;Flickr&lt;/a&gt; | &lt;a href="http://www.linkedin.com/in/lbugnion"&gt;LinkedIn&lt;/a&gt;       &lt;br /&gt;&lt;iframe style="border-top-style: none; overflow: hidden; margin-bottom: -20px; border-left-style: none; height: 23px; border-bottom-style: none; border-right-style: none; margin-top: 7px; width: 450px" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.galasoft.ch&amp;amp;layout=standard&amp;amp;show_faces=true&amp;amp;width=450&amp;amp;action=like&amp;amp;colorscheme=light" frameborder="0" allowtransparency="allowtransparency" scrolling="no"&gt;&lt;/iframe&gt;&lt;/div&gt; &lt;/div&gt; &lt;img src="http://blog.galasoft.ch/aggbug/151129.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Laurent Bugnion</dc:creator>
            <guid>http://blog.galasoft.ch/archive/2012/10/30/mvvm-light-v4.1-with-support-for-windows-phone-8.aspx</guid>
            <pubDate>Tue, 30 Oct 2012 18:11:06 GMT</pubDate>
            <wfw:comment>http://blog.galasoft.ch/comments/151129.aspx</wfw:comment>
            <comments>http://blog.galasoft.ch/archive/2012/10/30/mvvm-light-v4.1-with-support-for-windows-phone-8.aspx#feedback</comments>
            <slash:comments>12</slash:comments>
            <wfw:commentRss>http://blog.galasoft.ch/comments/commentRss/151129.aspx</wfw:commentRss>
            <trackback:ping>http://blog.galasoft.ch/services/trackbacks/151129.aspx</trackback:ping>
        </item>
        <item>
            <title>&amp;ldquo;Using the MVVM pattern in Windows 8&amp;rdquo; in MSDN Magazine</title>
            <category>.NET</category>
            <category>Expression Blend</category>
            <category>MVVM</category>
            <category>Technical stuff</category>
            <category>Windows 8</category>
            <category>Work</category>
            <link>http://blog.galasoft.ch/archive/2012/10/10/ldquousing-the-mvvm-pattern-in-windows-8rdquo-in-msdn-magazine.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://blog.galasoft.ch/archive/2012/10/10/ldquousing-the-mvvm-pattern-in-windows-8rdquo-in-msdn-magazine.aspx'&gt;http://blog.galasoft.ch/archive/2012/10/10/ldquousing-the-mvvm-pattern-in-windows-8rdquo-in-msdn-magazine.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;These days I am swimming in Windows 8 code, and I must say it is a good feeling. This gives me the occasion to push MVVM Light and a few other components of mine to their limits, and to fix or improve a few things on the fly. All this goodness will be available in V4.1 which is scheduled shortly after Windows 8 launch.&lt;/p&gt;  &lt;p&gt;In spite of the busy schedule, I couldn’t resist writing an article for MSDN magazine about, you guessed it, the MVVM pattern and MVVM Light in Windows 8. It is an article that goes quite in depth in some of the concepts, and provides an app demonstrating how to use them.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/jj651572.aspx"&gt;The article is available for free in the special Windows 8 edition&lt;/a&gt; of MSDN magazine that just came out today. Enjoy!&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;img src="http://i.msdn.microsoft.com/jj651572.BugnionMVVM1012win-fig3_hires(en-us,MSDN.10).png" /&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;img src="http://i.msdn.microsoft.com/jj651572.BugnionMVVM1012win-fig1_hires(en-us,MSDN.10).png" /&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;div style="margin-bottom: -1em"&gt;   &lt;div style="vertical-align: middle"&gt;&lt;a href="http://www.galasoft.ch/"&gt;&lt;img title="GalaSoft Laurent Bugnion" alt="GalaSoft Laurent Bugnion" src="http://www.galasoft.ch/logo/Current/logo_120x30.png" /&gt;&lt;/a&gt; &lt;/div&gt;    &lt;div style="position: relative; left: 130px; top: -36px"&gt;&lt;strong&gt;&lt;a href="http://www.galasoft.ch/contact_en.html"&gt;Laurent Bugnion (GalaSoft)&lt;/a&gt;&lt;/strong&gt;       &lt;br /&gt;&lt;a href="http://feeds.feedburner.com/galasoft"&gt;Subscribe&lt;/a&gt; | &lt;a href="http://twitter.com/lbugnion"&gt;Twitter&lt;/a&gt; | &lt;a href="http://www.facebook.com/lbugnion"&gt;Facebook&lt;/a&gt; | &lt;a href="http://www.flickr.com/photos/lbugnion"&gt;Flickr&lt;/a&gt; | &lt;a href="http://www.linkedin.com/in/lbugnion"&gt;LinkedIn&lt;/a&gt;       &lt;br /&gt;&lt;iframe style="border-top-style: none; overflow: hidden; margin-bottom: -20px; border-left-style: none; height: 23px; border-bottom-style: none; border-right-style: none; margin-top: 7px; width: 450px" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.galasoft.ch/archive/2012/10/10/ldquousing-the-mvvm-pattern-in-windows-8rdquo-in-msdn-magazine.aspx&amp;amp;layout=standard&amp;amp;show_faces=true&amp;amp;width=450&amp;amp;action=like&amp;amp;colorscheme=light" frameborder="0" allowtransparency="allowtransparency" scrolling="no"&gt;&lt;/iframe&gt;&lt;/div&gt; &lt;/div&gt; &lt;img src="http://blog.galasoft.ch/aggbug/150952.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Laurent Bugnion</dc:creator>
            <guid>http://blog.galasoft.ch/archive/2012/10/10/ldquousing-the-mvvm-pattern-in-windows-8rdquo-in-msdn-magazine.aspx</guid>
            <pubDate>Wed, 10 Oct 2012 19:29:42 GMT</pubDate>
            <wfw:comment>http://blog.galasoft.ch/comments/150952.aspx</wfw:comment>
            <comments>http://blog.galasoft.ch/archive/2012/10/10/ldquousing-the-mvvm-pattern-in-windows-8rdquo-in-msdn-magazine.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blog.galasoft.ch/comments/commentRss/150952.aspx</wfw:commentRss>
            <trackback:ping>http://blog.galasoft.ch/services/trackbacks/150952.aspx</trackback:ping>
        </item>
        <item>
            <title>Adventures in Windows 8: Solving activation errors</title>
            <category>.NET</category>
            <category>MVVM</category>
            <category>Technical stuff</category>
            <category>Work</category>
            <category>Windows 8</category>
            <link>http://blog.galasoft.ch/archive/2012/09/10/adventures-in-windows-8-solving-activation-errors.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://blog.galasoft.ch/archive/2012/09/10/adventures-in-windows-8-solving-activation-errors.aspx'&gt;http://blog.galasoft.ch/archive/2012/09/10/adventures-in-windows-8-solving-activation-errors.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Note: I tagged this article with “MVVM” because I got a few support requests for MVVM Light regarding this exact issue. In fact it is a Windows 8 issue and has nothing to do with MVVM Light per se…&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Sometimes when you work on a Windows 8 app, you will get a very annoying issue when starting the app. In that case, the app doesn’t not even start past the Splash screen. Putting a breakpoint in App.xaml.cs doesn’t help because the app doesn’t even reach that point!&lt;/p&gt;  &lt;p&gt;So what exactly is happening? Well when a Windows 8 app starts, the system is performing a few check first. One of the checks, for instance, is to see if an app with the same package ID is already available. The package ID is a unique value set in the package manifest. &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;In the Solution Explorer, double click on Package.appxmanifest. &lt;/li&gt;    &lt;li&gt;This opens the manifest in a special editor &lt;/li&gt;    &lt;li&gt;Click on the Packaging tab &lt;/li&gt;    &lt;li&gt;See the GUID under Package Name. This is the unique ID I am talking about. &lt;/li&gt; &lt;/ul&gt; &lt;a title="Package manifest by lbugnionblog, on Flickr" href="http://www.flickr.com/photos/36917929@N06/7969220362/"&gt;&lt;img alt="Package manifest" src="http://farm9.staticflickr.com/8446/7969220362_52a4562b6b_o.png" width="737" height="411" /&gt;&lt;/a&gt;   &lt;p&gt;If there is a conflict (i.e. if an app is already installed with the exact same ID), Windows will warm the user that the app is already installed. However when you are in the process of developing an app, you install and uninstall the same app many many times (every time that you start in Visual Studio), and sometimes some issues arise, for instance failing to uninstall the app before starting the new instance of the same app.&lt;/p&gt;  &lt;h1&gt;First step if you get such an error&lt;/h1&gt;  &lt;p&gt;When the application fails to start past the splash screen, the first step is to identify what kind of error happened. In my experience the “already installed” is by far the most frequent (in fact I never had another such error), but it can be something else. An annoying thing is that the popup that shows the error is usually started &lt;em&gt;below&lt;/em&gt; the Windows 8 app, and so you don’t even see it! This is especially true if you run this in the Simulator. In that case, do the following: Press on the Simulator’s home button, then press on the Desktop tile on the Start menu. The error popup should be shown on the desktop.&lt;/p&gt;  &lt;p&gt;If your applications runs on the Local machine, you also do the same and press the Windows button, and then from the Start menu press the Desktop tile.&lt;/p&gt;  &lt;h3&gt;&lt;/h3&gt;  &lt;h3&gt;Deployment error in Studio&lt;/h3&gt;  &lt;p&gt;Sometimes the same error causes Visual Studio to fail launching the application at all with a deployment error. This is a better case, because at least it is clear that there is an issue. In that case, write down the code that is shown in the Error window (for instance 0x80073D05 in the example below).&lt;/p&gt; &lt;a title="Deployment error by lbugnionblog, on Flickr" href="http://www.flickr.com/photos/36917929@N06/7969202428/"&gt;&lt;img alt="Deployment error" src="http://farm9.staticflickr.com/8437/7969202428_465692a31e_o.png" width="654" height="127" /&gt;&lt;/a&gt;   &lt;p&gt;Once you have the error code, go to the “&lt;a href="http://msdn.microsoft.com/en-us/library/hh973484.aspx"&gt;Troubleshooting packaging, deployment, and query of Windows Store apps&lt;/a&gt;” page and look up the code in question.&lt;/p&gt;  &lt;p&gt;In my case, the error was “&lt;strong&gt;ERROR_DELETING_EXISTING_APPLICATIONDATA_STORE_FAILED&lt;/strong&gt;”, “An error occurred while deleting the package's previously existing application data.”&lt;/p&gt;  &lt;h1&gt;&lt;/h1&gt;  &lt;h1&gt;Solving the “&lt;strong&gt;ERROR_DELETING_EXISTING_APPLICATIONDATA_STORE_FAILED&lt;/strong&gt;” issue&lt;/h1&gt;  &lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; Before trying the below, you can also try the simple steps:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Exit Visual Studio&lt;/li&gt;    &lt;li&gt;Go to the Start menu&lt;/li&gt;    &lt;li&gt;Locate your app’s tile. It should be visible in the Start menu directly, towards the far end on the right.&lt;/li&gt;    &lt;li&gt;Right click the tile and select Uninstall from the App Bar.&lt;/li&gt;    &lt;li&gt;Restart Visual Studio and try again.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Sometimes it helps. If it doesn’t, then try the following:&lt;/p&gt;  &lt;p&gt;In order to solve the case where Windows, for any reason, fails to delete the existing application before starting the new instance, follow the steps:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Open the Package.appxmanifest in Visual Studio &lt;/li&gt;    &lt;li&gt;Open the Packaging tab. &lt;/li&gt;    &lt;li&gt;Change the Package name. For tests you can just try to change the last character of the GUID, though I would recommend creating a brand new GUID.      &lt;ul&gt;       &lt;li&gt;Press Start &lt;/li&gt;        &lt;li&gt;Type GUID &lt;/li&gt;        &lt;li&gt;Start the GUID Generator application &lt;/li&gt;        &lt;li&gt;Select Registry Format &lt;/li&gt;        &lt;li&gt;Press Copy. &lt;/li&gt;        &lt;li&gt;Paste the new GUID in place of the Package Name in Visual Studio &lt;/li&gt;        &lt;li&gt;&lt;strong&gt;Important:&lt;/strong&gt; don’t forget to remove the curly brackets at the beginning and at the end of the newly pasted GUID. &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Then you just have to cross your fingers and start the application again… If it works, celebrate. if it doesn’t work… well at this point I am not sure so good luck with that ;)&lt;/p&gt;  &lt;p&gt;Happy coding,   &lt;br /&gt;Laurent&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;div style="margin-bottom: -1em"&gt;   &lt;div style="vertical-align: middle"&gt;&lt;a href="http://www.galasoft.ch/"&gt;&lt;img title="GalaSoft Laurent Bugnion" alt="GalaSoft Laurent Bugnion" src="http://www.galasoft.ch/logo/Current/logo_120x30.png" /&gt;&lt;/a&gt; &lt;/div&gt;    &lt;div style="position: relative; left: 130px; top: -36px"&gt;&lt;strong&gt;&lt;a href="http://www.galasoft.ch/contact_en.html"&gt;Laurent Bugnion (GalaSoft)&lt;/a&gt;&lt;/strong&gt;       &lt;br /&gt;&lt;a href="http://feeds.feedburner.com/galasoft"&gt;Subscribe&lt;/a&gt; | &lt;a href="http://twitter.com/lbugnion"&gt;Twitter&lt;/a&gt; | &lt;a href="http://www.facebook.com/lbugnion"&gt;Facebook&lt;/a&gt; | &lt;a href="http://www.flickr.com/photos/lbugnion"&gt;Flickr&lt;/a&gt; | &lt;a href="http://www.linkedin.com/in/lbugnion"&gt;LinkedIn&lt;/a&gt;       &lt;br /&gt;&lt;iframe style="border-top-style: none; overflow: hidden; margin-bottom: -20px; border-left-style: none; height: 23px; border-bottom-style: none; border-right-style: none; margin-top: 7px; width: 450px" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.galasoft.ch/archive/2012/09/10/adventures-in-windows-8-solving-activation-errors.aspx&amp;amp;layout=standard&amp;amp;show_faces=true&amp;amp;width=450&amp;amp;action=like&amp;amp;colorscheme=light" frameborder="0" allowtransparency="allowtransparency" scrolling="no"&gt;&lt;/iframe&gt;&lt;/div&gt; &lt;/div&gt; &lt;img src="http://blog.galasoft.ch/aggbug/150656.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Laurent Bugnion</dc:creator>
            <guid>http://blog.galasoft.ch/archive/2012/09/10/adventures-in-windows-8-solving-activation-errors.aspx</guid>
            <pubDate>Mon, 10 Sep 2012 07:17:28 GMT</pubDate>
            <wfw:comment>http://blog.galasoft.ch/comments/150656.aspx</wfw:comment>
            <comments>http://blog.galasoft.ch/archive/2012/09/10/adventures-in-windows-8-solving-activation-errors.aspx#feedback</comments>
            <wfw:commentRss>http://blog.galasoft.ch/comments/commentRss/150656.aspx</wfw:commentRss>
            <trackback:ping>http://blog.galasoft.ch/services/trackbacks/150656.aspx</trackback:ping>
        </item>
        <item>
            <title>Adventures in Windows 8: Understanding and debugging design time data in Expression Blend</title>
            <category>.NET</category>
            <category>Design</category>
            <category>Expression Blend</category>
            <category>MVVM</category>
            <category>Technical stuff</category>
            <category>Work</category>
            <category>Windows 8</category>
            <category>UX</category>
            <link>http://blog.galasoft.ch/archive/2012/09/05/adventures-in-windows-8-understanding-and-debugging-design-time-data.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://blog.galasoft.ch/archive/2012/09/05/adventures-in-windows-8-understanding-and-debugging-design-time-data.aspx'&gt;http://blog.galasoft.ch/archive/2012/09/05/adventures-in-windows-8-understanding-and-debugging-design-time-data.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;One of my favorite features in Expression Blend is the ability to attach a Visual Studio debugger to Blend. First let’s start by answering the question: why exactly do you want to do that?&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Note: If you are familiar with the creation and usage of design time data, feel free to scroll down to the paragraph titled “When design time data fails”.&lt;/em&gt;&lt;/p&gt;  &lt;h1&gt;Creating design time data for your app&lt;/h1&gt;  &lt;p&gt;When a designer works on an app, he needs to see something to design. For “static” UI such as buttons, backgrounds, etc, the user interface elements are going to show up in Blend just fine. If however the data is fetched dynamically from a service (web, database, etc) or created dynamically, most probably Blend is going to show just an empty element.&lt;/p&gt;  &lt;p&gt;The classical way to design at that stage is to run the application, navigate to the screen that is under construction (which can involve delays, need to log in, etc…), to measure what is on the screen (colors, margins, width and height, etc) using various tools, going back to Blend, editing the properties of the elements, running again, etc. Obviously this is not ideal.&lt;/p&gt;  &lt;p&gt;The solution is to create design time data. For more information about the creation of design time data by mocking services, you can refer to two talks of mine “&lt;a href="http://channel9.msdn.com/events/MIX/MIX11/OPN03"&gt;Deep dive MVVM&lt;/a&gt;” and “&lt;a href="http://channel9.msdn.com/Events/TechDays/Techdays-2012-the-Netherlands/2264"&gt;MVVM Applied From Silverlight to Windows Phone to Windows 8&lt;/a&gt;”. The source code for these talks is &lt;a href="http://blog.galasoft.ch/archive/2011/04/13/deep-dive-mvvm-samples-mix11-deepdivemvvm.aspx"&gt;here&lt;/a&gt; and &lt;a href="http://blog.galasoft.ch/archive/2012/04/18/slides-and-source-code-for-my-past-talks-this-year.aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;h1&gt;Design time data in MVVM Light&lt;/h1&gt;  &lt;p&gt;One of the main reasons why I developed MVVM Light is to facilitate the creation of design time data. To illustrate this, let’s create a new MVVM Light application in Visual Studio. &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Install MVVM Light from here: &lt;a href="http://mvvmlight.codeplex.com"&gt;http://mvvmlight.codeplex.com&lt;/a&gt; (use the MSI in the Download section). After installing, make sure to read the Readme that opens up in your favorite browser, you will need one more step to install the Project Templates. &lt;/li&gt;    &lt;li&gt;Start Visual Studio 2012. &lt;/li&gt;    &lt;li&gt;Create a new MvvmLight (Win8) app. &lt;/li&gt; &lt;/ul&gt; &lt;a title="New MVVM Light (Win8) app by lbugnionblog, on Flickr" href="http://www.flickr.com/photos/36917929@N06/7939534246/"&gt;&lt;img alt="New MVVM Light (Win8) app" src="http://farm9.staticflickr.com/8030/7939534246_3a52658ff7_c.jpg" width="800" height="529" /&gt;&lt;/a&gt;   &lt;ul&gt;   &lt;li&gt;Run the application. You will see a string showing “Welcome to MVVM Light”. &lt;/li&gt; &lt;/ul&gt; &lt;a title="Welcome to MVVM Light" href="http://www.flickr.com/photos/36917929@N06/7939567682/"&gt;&lt;img title="Welcome to MVVM Light" alt="Welcome to MVVM Light" src="http://farm9.staticflickr.com/8041/7939567682_2144cf32c2.jpg" width="500" height="87" /&gt;&lt;/a&gt;   &lt;ul&gt;   &lt;li&gt;In the Solution explorer, right click on MainPage.xaml and select Open in Blend. &lt;/li&gt;    &lt;li&gt;Now you should see “Welcome to MVVM Light [Design]” &lt;/li&gt; &lt;/ul&gt; &lt;a title="Welcome to MVVM Light [design]" href="http://www.flickr.com/photos/36917929@N06/7939579558/"&gt;&lt;img title="Welcome to MVVM Light [design]" alt="Welcome to MVVM Light [design]" src="http://farm9.staticflickr.com/8438/7939579558_c37b7fd139.jpg" width="500" height="109" /&gt;&lt;/a&gt;   &lt;p&gt;What happens here is that Expression Blend runs different code at design time than the application runs at runtime. To do this, we use design-time detection (&lt;a href="http://blog.galasoft.ch/archive/2011/09/25/detecting-design-mode-in-windows-8winrt.aspx"&gt;as explained in a previous article&lt;/a&gt;) and use that information to initialize a different data service at design time. To understand this better, open the ViewModelLocator.cs file in the ViewModel folder and see how the DesignDataService is used at design time, while the DataService is used at runtime. In a real-life applicationm, DataService would be used to connect to a web service, for instance.&lt;/p&gt;  &lt;h1&gt;&lt;/h1&gt;  &lt;h1&gt;When design time data fails&lt;/h1&gt;  &lt;p&gt;Sometimes however, the creation of design time data fails. It can be very difficult to understand exactly what is happening. Expression Blend is not giving a lot of information about what happened. Thankfully, we can use a trick: Attaching a debugger to Expression Blend and debug the design time code.&lt;/p&gt;  &lt;p&gt;In WPF and Silverlight (including Windows Phone 7), you could simply attach the debugger to Blend.exe (using the “Managed (v4.5, v4.0) code” option even for Silverlight!!)&lt;/p&gt;  &lt;p&gt;In Windows 8 however, things are just a bit different. This is because the designer that renders the actual representation of the Windows 8 app runs in its own process. Let’s illustrate that:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Open the file DesignDataService in the Design folder. &lt;/li&gt;    &lt;li&gt;Modify the GetData method to look like this: &lt;/li&gt; &lt;/ul&gt;  &lt;pre class="csharp" name="code"&gt;public void GetData(Action&amp;lt;DataItem, Exception&amp;gt; callback)
{
    throw new Exception();

    // Use this to create design time data

    var item = new DataItem("Welcome to MVVM Light [design]");
    callback(item, null);
}&lt;/pre&gt;

&lt;ul&gt;
  &lt;li&gt;Go to Blend and build the application. &lt;/li&gt;

  &lt;li&gt;The build succeeds, but now the page is empty. The creation of the design time data failed, but we don’t get a warning message. We need to investigate what’s wrong. &lt;/li&gt;

  &lt;li&gt;Close MainPage.xaml &lt;/li&gt;

  &lt;li&gt;Go to Visual Studio and select the menu Debug, Attach to Process. &lt;/li&gt;

  &lt;li&gt;&lt;strong&gt;Update:&lt;/strong&gt; Make sure that you select “Managed (v4.5, v4.0) code” in the “Attach to” field.&lt;/li&gt;

  &lt;li&gt;Find the process named XDesProc.exe. You should have at least two, one for the Visual Studio 2012 designer surface, and one for Expression Blend. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Unfortunately in this screen it is not obvious which is which. Let’s find out in the Task Manager.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press Ctrl-Alt-Del and select Task Manager &lt;/li&gt;

  &lt;li&gt;Go to the Details tab and sort the processes by name. &lt;/li&gt;

  &lt;li&gt;Find the one that says “Blend for Microsoft Visual Studio 2012 XAML UI Designer” and write down the process ID. &lt;/li&gt;
&lt;/ul&gt;
&lt;a title="Task Manager" href="http://www.flickr.com/photos/36917929@N06/7939705350/"&gt;&lt;img title="Task Manager" alt="Task Manager" src="http://farm9.staticflickr.com/8179/7939705350_7bf81878bb_c.jpg" width="800" height="39" /&gt;&lt;/a&gt; 

&lt;ul&gt;
  &lt;li&gt;Go back to the Attach to Process dialog in Visual Studio. sort the processes by ID and attach the debugger to the correct instance of XDesProc.exe. &lt;/li&gt;

  &lt;li&gt;Open the MainViewModel (in the ViewModel folder) &lt;/li&gt;

  &lt;li&gt;Place a breakpoint on the first line of the MainViewModel constructor. &lt;/li&gt;

  &lt;li&gt;Go to Blend and open the MainPage.xaml again. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At this point, the debugger breaks in Visual Studio and you can execute your code step by step. Simply step inside the dataservice call, and find the exception that you had placed there. Visual Studio gives you additional information which helps you to solve the issue.&lt;/p&gt;
&lt;a title="Exception in DataService" href="http://www.flickr.com/photos/36917929@N06/7939732682/"&gt;&lt;img title="Exception in DataService" alt="Exception in DataService" src="http://farm9.staticflickr.com/8182/7939732682_6f73a6ff99.jpg" width="500" height="274" /&gt;&lt;/a&gt; 

&lt;h1&gt;More info and Conclusion&lt;/h1&gt;

&lt;p&gt;I want to thank the amazing people on the Expression Blend team for being very fast in guiding me in that matter and encouraging me to blog about it. &lt;a href="http://blendinsider.com/technical/mysteries-of-xdesproc-revealed-2-2012-04-19/"&gt;More information about the XDesProc.exe process can be found here&lt;/a&gt;. I had to work on a Windows 8 app for a few days without design time data because of an Exception thrown somewhere in the code, and it was really painful. With the debugger, finding the issue was a simple matter of stepping into the code until it threw the exception.&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;div style="margin-bottom: -1em"&gt;
  &lt;div style="vertical-align: middle"&gt;&lt;a href="http://www.galasoft.ch/"&gt;&lt;img title="GalaSoft Laurent Bugnion" alt="GalaSoft Laurent Bugnion" src="http://www.galasoft.ch/logo/Current/logo_120x30.png" /&gt;&lt;/a&gt; &lt;/div&gt;

  &lt;div style="position: relative; left: 130px; top: -36px"&gt;&lt;strong&gt;&lt;a href="http://www.galasoft.ch/contact_en.html"&gt;Laurent Bugnion (GalaSoft)&lt;/a&gt;&lt;/strong&gt; 

    &lt;br /&gt;&lt;a href="http://feeds.feedburner.com/galasoft"&gt;Subscribe&lt;/a&gt; | &lt;a href="http://twitter.com/lbugnion"&gt;Twitter&lt;/a&gt; | &lt;a href="http://www.facebook.com/lbugnion"&gt;Facebook&lt;/a&gt; | &lt;a href="http://www.flickr.com/photos/lbugnion"&gt;Flickr&lt;/a&gt; | &lt;a href="http://www.linkedin.com/in/lbugnion"&gt;LinkedIn&lt;/a&gt; 

    &lt;br /&gt;&lt;iframe style="border-top-style: none; overflow: hidden; margin-bottom: -20px; border-left-style: none; height: 23px; border-bottom-style: none; border-right-style: none; margin-top: 7px; width: 450px" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.galasoft.ch/archive/2012/09/05/adventures-in-windows-8-understanding-and-debugging-design-time-data.aspx&amp;amp;layout=standard&amp;amp;show_faces=true&amp;amp;width=450&amp;amp;action=like&amp;amp;colorscheme=light" frameborder="0" allowtransparency="allowtransparency" scrolling="no"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;/div&gt; &lt;img src="http://blog.galasoft.ch/aggbug/150627.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Laurent Bugnion</dc:creator>
            <guid>http://blog.galasoft.ch/archive/2012/09/05/adventures-in-windows-8-understanding-and-debugging-design-time-data.aspx</guid>
            <pubDate>Wed, 05 Sep 2012 21:53:21 GMT</pubDate>
            <wfw:comment>http://blog.galasoft.ch/comments/150627.aspx</wfw:comment>
            <comments>http://blog.galasoft.ch/archive/2012/09/05/adventures-in-windows-8-understanding-and-debugging-design-time-data.aspx#feedback</comments>
            <slash:comments>10</slash:comments>
            <wfw:commentRss>http://blog.galasoft.ch/comments/commentRss/150627.aspx</wfw:commentRss>
            <trackback:ping>http://blog.galasoft.ch/services/trackbacks/150627.aspx</trackback:ping>
        </item>
        <item>
            <title>#mvvmlight V4 update for Win8 RTM</title>
            <category>.NET</category>
            <category>.NET 3.5</category>
            <category>.NET 4</category>
            <category>Expression Blend</category>
            <category>MVVM</category>
            <category>Phone</category>
            <category>Silverlight</category>
            <category>Silverlight 4</category>
            <category>Silverlight 5</category>
            <category>Technical stuff</category>
            <category>WPF</category>
            <category>Windows 8</category>
            <category>Windows Phone 7 wp7dev</category>
            <category>Windows Phone 7 "Mango"</category>
            <category>Work</category>
            <link>http://blog.galasoft.ch/archive/2012/08/24/mvvmlight-v4-update-for-win8-rtm.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://blog.galasoft.ch/archive/2012/08/24/mvvmlight-v4-update-for-win8-rtm.aspx'&gt;http://blog.galasoft.ch/archive/2012/08/24/mvvmlight-v4-update-for-win8-rtm.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;With Windows 8 RTM out of the doors (at least for some of us), it was also time to create an update to MVVM Light. I selected the V4 RTM to do this (V4.0.23).This RTM version was released a few weeks ago with no much bells and whistles because I was just too busy to write much about it. Now after some vacation, I will resume blogging on all my favorite topics including of course MVVM Light.&lt;/p&gt;  &lt;h1&gt;Upgrade&lt;/h1&gt;  &lt;p&gt;Upgrading the installations should not require an ununistall, so try to simply run the MSI downloaded from the Download section at &lt;a href="http://mvvmlight.codeplex.com/"&gt;http://mvvmlight.codeplex.com/&lt;/a&gt;. Should you encounter any issue, try to uninstall the old version first following the steps at &lt;a href="http://galasoft.ch/mvvm/cleaning/"&gt;http://galasoft.ch/mvvm/cleaning/&lt;/a&gt;.&lt;/p&gt;  &lt;h1&gt;Upgrading current apps from Win8 RP to Win8 RTM&lt;/h1&gt;  &lt;p&gt;I didn’t recompile the assemblies of MVVM Light, so if you had a version running with V4.0.23 on Windows 8 RP, you should be able to use the same DLLs on Windows 8 RTM. If you were using earlier versions however, I would recommend doing an upgrade. &lt;/p&gt;  &lt;p&gt;I noticed a warning regarding the signing certificate. It is due to the PFX key which appears to be outdated after the upgrade to Windows 8 RTM. I solved this warning by replacing the old PFX key with a new one I copied from a new project. The warning did not cause the build to fail though.&lt;/p&gt;  &lt;h1&gt;About MVVM Light V4 RTM&lt;/h1&gt;  &lt;p&gt;The RTM is finalizing quite a lot of issues. The change log is available at &lt;a href="http://galasoft.ch/mvvm/installing/changes/"&gt;http://galasoft.ch/mvvm/installing/changes/&lt;/a&gt;. There are some issues that are either still open or that popped up since then, and I am working on V4.1 to be released in the next few weeks.&lt;/p&gt;  &lt;p&gt;In addition to that, I have plans to support Windows Phone 8 (when it comes) and have a nice list of ideas for V5 with a few new components.&lt;/p&gt;  &lt;p&gt;Thanks again for your continuous support of MVVM Light!    &lt;br /&gt;Laurent&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;div style="margin-bottom: -1em"&gt;   &lt;div style="vertical-align: middle"&gt;&lt;a href="http://www.galasoft.ch/"&gt;&lt;img title="GalaSoft Laurent Bugnion" alt="GalaSoft Laurent Bugnion" src="http://www.galasoft.ch/logo/Current/logo_120x30.png" /&gt;&lt;/a&gt; &lt;/div&gt;    &lt;div style="position: relative; left: 130px; top: -36px"&gt;&lt;strong&gt;&lt;a href="http://www.galasoft.ch/contact_en.html"&gt;Laurent Bugnion (GalaSoft)&lt;/a&gt;&lt;/strong&gt;       &lt;br /&gt;&lt;a href="http://feeds.feedburner.com/galasoft"&gt;Subscribe&lt;/a&gt; | &lt;a href="http://twitter.com/lbugnion"&gt;Twitter&lt;/a&gt; | &lt;a href="http://www.facebook.com/lbugnion"&gt;Facebook&lt;/a&gt; | &lt;a href="http://www.flickr.com/photos/lbugnion"&gt;Flickr&lt;/a&gt; | &lt;a href="http://www.linkedin.com/in/lbugnion"&gt;LinkedIn&lt;/a&gt;       &lt;br /&gt;&lt;iframe style="border-top-style: none; overflow: hidden; margin-bottom: -20px; border-left-style: none; height: 23px; border-bottom-style: none; border-right-style: none; margin-top: 7px; width: 450px" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.galasoft.ch&amp;amp;layout=standard&amp;amp;show_faces=true&amp;amp;width=450&amp;amp;action=like&amp;amp;colorscheme=light" frameborder="0" allowtransparency="allowtransparency" scrolling="no"&gt;&lt;/iframe&gt;&lt;/div&gt; &lt;/div&gt; &lt;img src="http://blog.galasoft.ch/aggbug/150531.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Laurent Bugnion</dc:creator>
            <guid>http://blog.galasoft.ch/archive/2012/08/24/mvvmlight-v4-update-for-win8-rtm.aspx</guid>
            <pubDate>Fri, 24 Aug 2012 19:33:58 GMT</pubDate>
            <wfw:comment>http://blog.galasoft.ch/comments/150531.aspx</wfw:comment>
            <comments>http://blog.galasoft.ch/archive/2012/08/24/mvvmlight-v4-update-for-win8-rtm.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blog.galasoft.ch/comments/commentRss/150531.aspx</wfw:commentRss>
            <trackback:ping>http://blog.galasoft.ch/services/trackbacks/150531.aspx</trackback:ping>
        </item>
    </channel>
</rss>