I want to use MessageBox for showing download errors in my WP8.1 app.
I added:
using System.Windows;
but when I type:
MessageBox.Show("");
I get error:
"The name 'MessageBox' does not exist in the current context"
In Object Browser I found that such class should exist and in "Project->Add reference... ->Assemblies->Framework" is shown that all assemblies are referenced.
Do I miss something? Or is there another way how to show something like messagebox?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…