So I\'m trying to work a very simple dice app on a XAML document using Visual Studio 2012, but I can\'t figure out what to do with the error. I\'ve tried adding using bitmap
Try
using System.Windows.Media.Imaging.BitmapImage;
Instead of
using BitmapImage;
An easier way is to let Visual Studio do it for you : Right click on BitmapImage in your code -> resolve, and select the right namespace (there is generaly only one)
For the xaml, let Visual studio do it for you too, or :
<Page ...
xmlns:local="clr-namespace:System.Windows;assembly=DiceRoll"
/>