Designer warning when adding an appbar button

Mar 30, 2013 at 10:16 PM
I get a compiler error in the designer when I add an appbar button in Xaml. The code works just fine when I run it"

The error is: "Cannot clear the icon while in a list Parameter name: value"

Interestingly enough it only applies to the first button added. In the sample below, just the save button throws the warning.
    <bar:BindableApplicationBar IsVisible="True"
        <bar:BindableApplicationBarButton Text="Save" IconUri="/save.png" />
        <bar:BindableApplicationBarButton Text="Cancel" IconUri="/cancel.png" />
Has anyone seen this? What am I doing wrong?
Apr 10, 2013 at 1:48 PM
I'm experiencing the same issue. In addition, the application bar doesn't show up in the designer. I'm not certain if one issue is associated with the other. I'm using the Windows Phone 8 SDK in VS 2012 on Windows 8 64-bit.
Aug 14, 2013 at 5:59 PM
Same here. I can't get the project to compile all, which makes using this control a little hard and I really want to!

Is there a fix on it's way?
Aug 14, 2013 at 6:57 PM
I'm not working on one. Anyone willing to contribute?
Aug 14, 2013 at 8:07 PM
Let me take a look through the source code and let you know if I can help.
Sep 17, 2013 at 10:45 PM
Edited Sep 17, 2013 at 11:16 PM
Same problem here.

My workaround is:
File: BindableApplicationBar.cs
Row: 1297

Old code:

     button.Attach(this.applicationBar, i);
New Code:
     if (button.IconUri != null)
                button.Attach(this.applicationBar, i);
Feb 25, 2014 at 5:39 PM
Edited Feb 25, 2014 at 5:40 PM
So, if I add any IconUrl to the <bar:Bindable.ApplicationBar> like:
<bar:Bindable.ApplicationBar IconUrl="Some/image.png">
error will be fixed :)

P.S. Maybe not :(
Mar 9, 2014 at 4:36 PM
Same problem here. And it is a little bit frustrating.
Code works just fine and functionality is great.
But whenever I would like to add an icon button (even supplied with an icon Uri), the "Icon Uri property can not be null" dialog is shown.
I think if you do a release 1.1 to fix these kind of issues, It will be great.