<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>MVVM Light Toolkit</title><link>http://mvvmlight.codeplex.com/project/feeds/rss</link><description>The MVVM Light Toolkit is a set of components helping people to get started in the Model - View - ViewModel pattern in Silverlight and WPF. It is a light and pragmatic framework that contains only the essential components needed.</description><item><title>Commented Issue: NullRefBug in RelayCommand&lt;T&gt; when changing Window Language [7561]</title><link>http://mvvmlight.codeplex.com/workitem/7561</link><description>&lt;br /&gt;A Button in a Listbox binds to a RelayCommand&amp;#60;int&amp;#62;, as Parameter it binds a int property of an entity.&lt;br /&gt;&lt;br /&gt;When the listbox clears everything works fine as long as the WindowLanguage isn&amp;#39;t changed manually. &amp;#40;So en-us&amp;#41;&lt;br /&gt;&lt;br /&gt;But i have to change the window language to the current Culture. &amp;#40;s. http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;9382696&amp;#47;showing-culture-aware-short-date-and-time-string-from-datetimeoffset-in-xaml&amp;#41;&lt;br /&gt;&lt;br /&gt;Then the relaycommand raises a Nullreference Exception. &amp;#40;s. Stacktrace&amp;#41;&lt;br /&gt;when I change the RelayCommand&amp;#60;int&amp;#62; to RelayCommand&amp;#60;object&amp;#62; I can see the reason.&lt;br /&gt;&lt;br /&gt;When the language isn&amp;#39;t change, the Action for CanExecuteChanged isn&amp;#39;t raised when the entity doesn&amp;#39;t exists.&lt;br /&gt;But when the language is changed to de-de than the Action is raised with null as value. So I assume that in this case a convert to int is tried inside the Command.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Stacktrace&lt;br /&gt;&lt;br /&gt;&amp;#9;Server stack trace&amp;#58;&lt;br /&gt;&amp;#9;   at GalaSoft.MvvmLight.Command.RelayCommand&amp;#96;1.CanExecute&amp;#64830;Object&lt;br /&gt;&amp;#9;parameter&amp;#64831;&lt;br /&gt;&amp;#9;   at&lt;br /&gt;&amp;#9;MS.Internal.Commands.CommandHelpers.CanExecuteCommandSource&amp;#64830;IComma&lt;br /&gt;&amp;#9;ndSource commandSource&amp;#64831;&lt;br /&gt;&amp;#9;   at System.Windows.Controls.Primitives.ButtonBase.UpdateCanExecute&amp;#64830;&amp;#64831;&lt;br /&gt;&amp;#9;   at&lt;br /&gt;&amp;#9;System.Windows.Controls.Primitives.ButtonBase.OnCanExecuteChanged&amp;#64830;Object&lt;br /&gt;&amp;#9;sender, EventArgs e&amp;#64831;&lt;br /&gt;&amp;#9;   at System.EventHandler.Invoke&amp;#64830;Object sender, EventArgs e&amp;#64831;&lt;br /&gt;&amp;#9;   at&lt;br /&gt;&amp;#9;GalaSoft.MvvmLight.Command.RelayCommand&amp;#96;1.RaiseCanExecuteChanged&amp;#64830;&amp;#64831;&lt;br /&gt;&amp;#9;   at BE.FogBugz.Tracker.ViewModel.WorkingOnTasksViewModel.refresh&amp;#64830;&amp;#64831; in&lt;br /&gt;&amp;#9;&lt;br /&gt;Comments: Here screenshot of the exception</description><author>Gentlehag</author><pubDate>Wed, 22 Feb 2012 09:30:03 GMT</pubDate><guid isPermaLink="false">Commented Issue: NullRefBug in RelayCommand&lt;T&gt; when changing Window Language [7561] 20120222093003A</guid></item><item><title>Created Issue: NullRefBug in RelayCommand&lt;T&gt; when changing Window Language [7561]</title><link>http://mvvmlight.codeplex.com/workitem/7561</link><description>&lt;br /&gt;A Button in a Listbox binds to a RelayCommand&amp;#60;int&amp;#62;, as Parameter it binds a int property of an entity.&lt;br /&gt;&lt;br /&gt;When the listbox clears everything works fine as long as the WindowLanguage isn&amp;#39;t changed manually. &amp;#40;So en-us&amp;#41;&lt;br /&gt;&lt;br /&gt;But i have to change the window language to the current Culture. &amp;#40;s. http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;9382696&amp;#47;showing-culture-aware-short-date-and-time-string-from-datetimeoffset-in-xaml&amp;#41;&lt;br /&gt;&lt;br /&gt;Then the relaycommand raises a Nullreference Exception. &amp;#40;s. Stacktrace&amp;#41;&lt;br /&gt;when I change the RelayCommand&amp;#60;int&amp;#62; to RelayCommand&amp;#60;object&amp;#62; I can see the reason.&lt;br /&gt;&lt;br /&gt;When the language isn&amp;#39;t change, the Action for CanExecuteChanged isn&amp;#39;t raised when the entity doesn&amp;#39;t exists.&lt;br /&gt;But when the language is changed to de-de than the Action is raised with null as value. So I assume that in this case a convert to int is tried inside the Command.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Stacktrace&lt;br /&gt;&lt;br /&gt;&amp;#9;Server stack trace&amp;#58;&lt;br /&gt;&amp;#9;   at GalaSoft.MvvmLight.Command.RelayCommand&amp;#96;1.CanExecute&amp;#64830;Object&lt;br /&gt;&amp;#9;parameter&amp;#64831;&lt;br /&gt;&amp;#9;   at&lt;br /&gt;&amp;#9;MS.Internal.Commands.CommandHelpers.CanExecuteCommandSource&amp;#64830;IComma&lt;br /&gt;&amp;#9;ndSource commandSource&amp;#64831;&lt;br /&gt;&amp;#9;   at System.Windows.Controls.Primitives.ButtonBase.UpdateCanExecute&amp;#64830;&amp;#64831;&lt;br /&gt;&amp;#9;   at&lt;br /&gt;&amp;#9;System.Windows.Controls.Primitives.ButtonBase.OnCanExecuteChanged&amp;#64830;Object&lt;br /&gt;&amp;#9;sender, EventArgs e&amp;#64831;&lt;br /&gt;&amp;#9;   at System.EventHandler.Invoke&amp;#64830;Object sender, EventArgs e&amp;#64831;&lt;br /&gt;&amp;#9;   at&lt;br /&gt;&amp;#9;GalaSoft.MvvmLight.Command.RelayCommand&amp;#96;1.RaiseCanExecuteChanged&amp;#64830;&amp;#64831;&lt;br /&gt;&amp;#9;   at BE.FogBugz.Tracker.ViewModel.WorkingOnTasksViewModel.refresh&amp;#64830;&amp;#64831; in&lt;br /&gt;&amp;#9;&lt;br /&gt;</description><author>Gentlehag</author><pubDate>Wed, 22 Feb 2012 09:29:44 GMT</pubDate><guid isPermaLink="false">Created Issue: NullRefBug in RelayCommand&lt;T&gt; when changing Window Language [7561] 20120222092944A</guid></item><item><title>New Post: SL5 assemblies missing XmlnsDefinition</title><link>http://mvvmlight.codeplex.com/discussions/291012</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;Please download the new DLLs from&amp;nbsp;&lt;a href="https://skydrive.live.com/#cid=40CFFDE85F1AB56A&amp;amp;id=40CFFDE85F1AB56A%211110"&gt;https://skydrive.live.com/redir.aspx?cid=40cffde85f1ab56a&amp;amp;resid=40CFFDE85F1AB56A!1110&amp;amp;parid=40CFFDE85F1AB56A!129&amp;amp;authkey=!AJ738Uba7ZhZZ1c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Download the&amp;nbsp;MVVMLight_V3.0.20 package.&lt;/p&gt;
&lt;p&gt;Extract this locally and copy the DLLs (either from Debug or Release) into your C:\Program Files (x86)\Laurent Bugnion (GalaSoft)\Mvvm Light Toolkit\Binaries folder. Then please test it out and let me know if that fixes your issue.&lt;/p&gt;
&lt;p&gt;If the test works fine, I will create a new installer.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Laurent&lt;/p&gt;&lt;/div&gt;</description><author>lbugnion</author><pubDate>Mon, 20 Feb 2012 21:29:27 GMT</pubDate><guid isPermaLink="false">New Post: SL5 assemblies missing XmlnsDefinition 20120220092927P</guid></item><item><title>New Post: bind in code behind</title><link>http://mvvmlight.codeplex.com/discussions/327751</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;&lt;span style="color: blue;"&gt;namespace&lt;/span&gt; MvvmLight4
{
    &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;partial&lt;/span&gt; &lt;span style="color: blue;"&gt;class&lt;/span&gt; MainPage : UserControl
    {
        &lt;span style="color: blue;"&gt;public&lt;/span&gt; MainViewModel Vm
        {
            &lt;span style="color: blue;"&gt;get&lt;/span&gt;
            {
                &lt;span style="color: blue;"&gt;return&lt;/span&gt; (MainViewModel)DataContext;
            }
        }

        &lt;span style="color: blue;"&gt;public&lt;/span&gt; MainPage()
        {
            InitializeComponent();

            Vm.PropertyChanged += (s, e) =&amp;gt;
            {
                &lt;span style="color: blue;"&gt;if&lt;/span&gt; (e.PropertyName == MainViewModel.WelcomeTitlePropertyName)
                {
                    &lt;span style="color: green;"&gt;// Do something&lt;/span&gt;
                }
            };
        }
    }
}

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description><author>lbugnion</author><pubDate>Mon, 20 Feb 2012 21:04:21 GMT</pubDate><guid isPermaLink="false">New Post: bind in code behind 20120220090421P</guid></item><item><title>Commented Issue: DirectoryNotFoundException on ViewModelLocator [7560]</title><link>http://mvvmlight.codeplex.com/workitem/7560</link><description>Hi,&lt;br /&gt;I&amp;#96;m not sure that this is a bug of framework or it&amp;#96;s problem on my side but when I want to read data from for example &amp;#42;xml files in ViewModel, I have a DirectoryNotFoundException when I open a &amp;#42;xaml View, but the directory and files are there&amp;#63;&lt;br /&gt;&lt;br /&gt;So how about that&amp;#63; or what is the good way to read data from files and pass them to the view model&amp;#63;&lt;br /&gt;Comments: ok thx for your answer, my fault, design time data wasn&amp;#96;t provided</description><author>tkowalczyk</author><pubDate>Mon, 20 Feb 2012 10:04:50 GMT</pubDate><guid isPermaLink="false">Commented Issue: DirectoryNotFoundException on ViewModelLocator [7560] 20120220100450A</guid></item><item><title>New Post: bind in code behind</title><link>http://mvvmlight.codeplex.com/discussions/327751</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thx. I follow you all the way to the eventhandler. Could you show me in example.&lt;/p&gt;
&lt;p&gt;If this is my viewModel object&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;public&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;string&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;WelcomeTitle
&lt;p&gt;{&lt;/p&gt;
&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;get&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;return&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;_welcomeTitle;
&lt;p&gt;}&lt;/p&gt;
&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;set&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt; (_welcomeTitle == &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;value&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;)
&lt;p&gt;{&lt;/p&gt;
&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;return&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;;
&lt;p&gt;}&lt;/p&gt;
&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;_welcomeTitle =&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;value&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;;
&lt;p&gt;RaisePropertyChanged(WelcomeTitlePropertyName);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;/span&gt;How do attach that as an eventhandler in my View?&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>genvej</author><pubDate>Sun, 19 Feb 2012 18:51:09 GMT</pubDate><guid isPermaLink="false">New Post: bind in code behind 20120219065109P</guid></item><item><title>Commented Issue: DirectoryNotFoundException on ViewModelLocator [7560]</title><link>http://mvvmlight.codeplex.com/workitem/7560</link><description>Hi,&lt;br /&gt;I&amp;#96;m not sure that this is a bug of framework or it&amp;#96;s problem on my side but when I want to read data from for example &amp;#42;xml files in ViewModel, I have a DirectoryNotFoundException when I open a &amp;#42;xaml View, but the directory and files are there&amp;#63;&lt;br /&gt;&lt;br /&gt;So how about that&amp;#63; or what is the good way to read data from files and pass them to the view model&amp;#63;&lt;br /&gt;Comments: Hi,&amp;#10;&amp;#10;Can you explain more&amp;#63; When do you get the exception exactly&amp;#63; If you get it in Blend, it is to be expected, you will need to provide design time data to satisfy Blend.&amp;#10;&amp;#10;Cheers,&amp;#10;Laurent</description><author>lbugnion</author><pubDate>Sun, 19 Feb 2012 18:02:52 GMT</pubDate><guid isPermaLink="false">Commented Issue: DirectoryNotFoundException on ViewModelLocator [7560] 20120219060252P</guid></item><item><title>New Post: bind in code behind</title><link>http://mvvmlight.codeplex.com/discussions/327751</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is very simple. Get a reference to your VM in the code behind:&lt;/p&gt;
&lt;p&gt;public MyViewModel Vm&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; get&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return (MyViewModel)DataContext;&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;}&amp;nbsp;&lt;/p&gt;
&lt;p&gt;then, in the Page's constructor, after the call to InitializeComponent, add an event handler to Vm.PropertyChanged.&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Laurent&lt;/p&gt;&lt;/div&gt;</description><author>lbugnion</author><pubDate>Sun, 19 Feb 2012 18:01:40 GMT</pubDate><guid isPermaLink="false">New Post: bind in code behind 20120219060140P</guid></item><item><title>New Post: bind in code behind</title><link>http://mvvmlight.codeplex.com/discussions/327751</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi. I have a project that uses the galasoft mvvm light toolkit. I have a problem.&lt;/p&gt;
&lt;p&gt;I need to catch changes to a property in my viewmodel from my codebehind. I already did bind in my xaml and that works fine. However I need to do other things from the codebehind when the propery in the viewmodel changes. Im using the observableobject. Could
 someone provide an example how to catch those events in the View codebehind plz? I assume its quite simple, however Googling has brought me nowhere :-)&lt;/p&gt;
&lt;/div&gt;</description><author>genvej</author><pubDate>Sun, 19 Feb 2012 17:38:34 GMT</pubDate><guid isPermaLink="false">New Post: bind in code behind 20120219053834P</guid></item><item><title>New Post: SL5 assemblies missing XmlnsDefinition</title><link>http://mvvmlight.codeplex.com/discussions/291012</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Something does not compute here. V3 never had XmlnsDefinition. It is a feature I added in V4. You must have used V4 at some point.&lt;/p&gt;
&lt;p&gt;That said, I can add XmlnsDefinition to V3 in order to solve your issues. I must finish something else first but I should be able to do that either tonight or tomorrow.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Laurent&lt;/p&gt;&lt;/div&gt;</description><author>lbugnion</author><pubDate>Sun, 19 Feb 2012 16:17:47 GMT</pubDate><guid isPermaLink="false">New Post: SL5 assemblies missing XmlnsDefinition 20120219041747P</guid></item><item><title>New Post: SL5 assemblies missing XmlnsDefinition</title><link>http://mvvmlight.codeplex.com/discussions/291012</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I used the SL5 binaries from this installer:&amp;nbsp;http://mvvmlight.codeplex.com/releases/view/71278&lt;/p&gt;
&lt;p&gt;It's definitely V3. &amp;nbsp;V4 is not an option for us because it's still in beta.&lt;/p&gt;&lt;/div&gt;</description><author>mikepost</author><pubDate>Sun, 19 Feb 2012 15:05:36 GMT</pubDate><guid isPermaLink="false">New Post: SL5 assemblies missing XmlnsDefinition 20120219030536P</guid></item><item><title>New Post: SL5 assemblies missing XmlnsDefinition</title><link>http://mvvmlight.codeplex.com/discussions/291012</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;I tried to repro your issue, and I cannot. Here is what I did:&lt;/p&gt;
&lt;p&gt;- Checked the code in the Silverlight 5 version of MVVM Light on Codeplex: The XmlnsDefinition attribute is defined correctly.&lt;/p&gt;
&lt;p&gt;- Installed MVVM Light V4.0.2.19 from&amp;nbsp;&lt;a href="http://mvvmlight.codeplex.com/releases/view/73208"&gt;http://mvvmlight.codeplex.com/releases/view/73208&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;- Created a new MVVM Light (SL5) application in Visual Studio.&lt;/p&gt;
&lt;p&gt;- Opened the solution in Blend 4 preview for Silverlight 5&lt;/p&gt;
&lt;p&gt;- Added an EventToCommand to the TextBlock on the main page&lt;/p&gt;
&lt;p&gt;- Checked the XAML: The XmlnsDefinition was found and recognized by Blend. The prefix added is:&amp;nbsp;xmlns:Custom="http://www.galasoft.ch/mvvmlight" (which is what I expected).&lt;/p&gt;
&lt;p&gt;I am wondering what went wrong in your case. Could it be that, by mistake, you installed V3 instead of V4?&lt;/p&gt;
&lt;p&gt;Let me know and let's solve this issue.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Laurent&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>lbugnion</author><pubDate>Sun, 19 Feb 2012 10:41:40 GMT</pubDate><guid isPermaLink="false">New Post: SL5 assemblies missing XmlnsDefinition 20120219104140A</guid></item><item><title>Created Issue: DirectoryNotFoundException on ViewModelLocator [7560]</title><link>http://mvvmlight.codeplex.com/workitem/7560</link><description>Hi,&lt;br /&gt;I&amp;#96;m not sure that this is a bug of framework or it&amp;#96;s problem on my side but when I want to read data from for example &amp;#42;xml files in ViewModel, I have a DirectoryNotFoundException when I open a &amp;#42;xaml View, but the directory and files are there&amp;#63;&lt;br /&gt;&lt;br /&gt;So how about that&amp;#63; or what is the good way to read data from files and pass them to the view model&amp;#63;&lt;br /&gt;</description><author>tkowalczyk</author><pubDate>Fri, 17 Feb 2012 13:42:53 GMT</pubDate><guid isPermaLink="false">Created Issue: DirectoryNotFoundException on ViewModelLocator [7560] 20120217014253P</guid></item><item><title>Commented Issue: RelayCommand and Memory Leak caused by CanExecuteChanged event [7532]</title><link>http://mvvmlight.codeplex.com/workitem/7532</link><description>Hi Laurent,&lt;br /&gt;&lt;br /&gt;CanExecuteChanged event keeps strong reference to Button which Command is bound to an instance of RelayCommand and it may leads to memory leak if we use long living view models with short living views. Maybe it would be better to use some kind of weak event listener. I made a fast try to use Silverlight Toolkit&amp;#39;s WeakEventListener&amp;#58;&lt;br /&gt;&lt;br /&gt;private EventHandler _canExecuteChanged&amp;#59;&lt;br /&gt;public event EventHandler CanExecuteChanged &amp;#123;&lt;br /&gt;    add &amp;#123;&lt;br /&gt;        WeakEventListener&amp;#60;EventHandler, object, EventArgs&amp;#62; weakEventListener &amp;#61; new WeakEventListener&amp;#60;EventHandler, object, EventArgs&amp;#62;&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;        weakEventListener.OnEventAction &amp;#61; &amp;#40;h, s, e&amp;#41; &amp;#61;&amp;#62; &amp;#123;&lt;br /&gt;            h&amp;#40;s, e&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&amp;#59;&lt;br /&gt;        weakEventListener.OnDetachAction &amp;#61; &amp;#40;w&amp;#41; &amp;#61;&amp;#62; &amp;#123;&lt;br /&gt;            CanExecuteChanged -&amp;#61; w.OnEvent&amp;#59;&lt;br /&gt;        &amp;#125;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    remove &amp;#123;&lt;br /&gt;        this._canExecuteChanged -&amp;#61; value&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;and despite the fact that it might be not the perfect implementation, the problem with memory leak seems go away.&lt;br /&gt;Comments: Hi there&amp;#33;&amp;#10;&amp;#10;Any fully working fix for this memory leak&amp;#63;&amp;#10;&amp;#10;I&amp;#39;m currently using a converter for using WeakEvent in RelayCommand.&amp;#10;Unfortunatly, I still have memory leaks &amp;#58; WeakReference, &amp;#60;GCHandle&amp;#62;, EventHandler, WeakEventListener&amp;#60;CanExecuteChangedWeakEventSource, ICommand, EventArgs&amp;#62; and more&amp;#10;When will it be included in official MvvmLight&amp;#63;&amp;#10;&amp;#10;&amp;#64;Laurent &amp;#58; thanks for you great work&amp;#33;&amp;#10;&amp;#10;Greetings from Belgium</description><author>nico008</author><pubDate>Fri, 17 Feb 2012 08:47:18 GMT</pubDate><guid isPermaLink="false">Commented Issue: RelayCommand and Memory Leak caused by CanExecuteChanged event [7532] 20120217084718A</guid></item><item><title>New Post: SL5 assemblies missing XmlnsDefinition</title><link>http://mvvmlight.codeplex.com/discussions/291012</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Laurent, thanks for replying. &amp;nbsp;I appreciate your situation. &amp;nbsp;Unfortunately my situation is that I work under some onerous rules regarding open source and modifying the source and rebuilding is simply not an option for me. &amp;nbsp;(Crazy, I know. &amp;nbsp;But that's what happens when the CMMI yahoos meet up with the security yahoos and they start jointly running the asylum.) &amp;nbsp;So I'm stuck waiting for an official build. :/&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope your conferences went off well.&lt;/p&gt;&lt;/div&gt;</description><author>mikepost</author><pubDate>Wed, 15 Feb 2012 14:38:32 GMT</pubDate><guid isPermaLink="false">New Post: SL5 assemblies missing XmlnsDefinition 20120215023832P</guid></item><item><title>New Post: SL5 assemblies missing XmlnsDefinition</title><link>http://mvvmlight.codeplex.com/discussions/291012</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Update: I was just notified that the donation button is broken. Damn, noone reported THAT bug ;)&lt;/p&gt;&lt;/div&gt;</description><author>lbugnion</author><pubDate>Wed, 15 Feb 2012 08:00:41 GMT</pubDate><guid isPermaLink="false">New Post: SL5 assemblies missing XmlnsDefinition 20120215080041A</guid></item><item><title>New Post: SL5 assemblies missing XmlnsDefinition</title><link>http://mvvmlight.codeplex.com/discussions/291012</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hey Mike,&lt;/p&gt;
&lt;p&gt;I am sorry for the lack of response. The past few weeks have shown an increase activity in my firm with a huge project I am involved with. I am also out conferencing this week and had to find a little time to prepare. But I don't mean to complain :)&lt;/p&gt;
&lt;p&gt;Yes you are right about the XmlnsDefinition, it is a regrettable omission. Making the fix will take a very short time, making a new installer and testing will take an evening, and I didn't have one until now (hopefully it will clear a bit soon, hoping to have a fix this weekend).&lt;/p&gt;
&lt;p&gt;I wouldn't wait for the fix though. Open source is a great concept that means that you can download the source and fix it yourself. That's really awesome. In this case, compare the AssemblyInfo to the one in SL4. Let me know if you have any issue and I will do my best to answer faster :)&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;Laurent&lt;/p&gt;
&lt;p&gt;PS: I would leave my day job and work only on MVVM Light if I could. However people keep sending me bills and insist that I pay them on time. That sucks, I know. Unfortunately the Donation page is very idle, won't be able to leave any time soon (&lt;a href="http://www.galasoft.ch/mvvm/donate/"&gt;http://www.galasoft.ch/mvvm/donate/&lt;/a&gt;) ;)&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>lbugnion</author><pubDate>Wed, 15 Feb 2012 06:55:33 GMT</pubDate><guid isPermaLink="false">New Post: SL5 assemblies missing XmlnsDefinition 20120215065533A</guid></item><item><title>New Post: SL5 assemblies missing XmlnsDefinition</title><link>http://mvvmlight.codeplex.com/discussions/291012</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;No reply in almost 2 weeks? &amp;nbsp;Really? &amp;nbsp;So the PRISM team is going to beat MVVM Light to SL5?&lt;/p&gt;&lt;/div&gt;</description><author>mikepost</author><pubDate>Wed, 15 Feb 2012 00:17:13 GMT</pubDate><guid isPermaLink="false">New Post: SL5 assemblies missing XmlnsDefinition 20120215121713A</guid></item><item><title>New Post: UpdateCommandParameterBeforeExecuting </title><link>http://mvvmlight.codeplex.com/discussions/299490</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;To solve a problem a problem described in this question:&amp;nbsp;&lt;a href="http://stackoverflow.com/questions/9173936/eventtocommand-update-commandparameter"&gt;http://stackoverflow.com/questions/9173936/eventtocommand-update-commandparameter&lt;/a&gt;, I have made changes
 to MVVM Light codebase (see an answer in that question). Don't you find it valuable to integrate to MVVM codebase?&lt;/p&gt;
&lt;/div&gt;</description><author>AlexIdsa</author><pubDate>Thu, 09 Feb 2012 05:25:31 GMT</pubDate><guid isPermaLink="false">New Post: UpdateCommandParameterBeforeExecuting  20120209052531A</guid></item><item><title>New Post: SL5 assemblies missing XmlnsDefinition</title><link>http://mvvmlight.codeplex.com/discussions/291012</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;We recently upgraded to SL5, but missed our MVVM Light dependencies. &amp;nbsp;So I tried to upgrade to the SL5 version of MVVM Light (v3 because we can't ship beta level software) and it looks like SL5 assemblies are both missing the XmlnsDefinition attribute.
 &amp;nbsp;Our code doesn't compile (we're cross compiling SL5 to WPF4 so we require an XmlnsDefinition; referencing by assembly name will break the cross compile) so we're stuck with the SL4 assemblies for now.&lt;/p&gt;
&lt;/div&gt;</description><author>mikepost</author><pubDate>Thu, 02 Feb 2012 23:23:26 GMT</pubDate><guid isPermaLink="false">New Post: SL5 assemblies missing XmlnsDefinition 20120202112326P</guid></item></channel></rss>
