Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/jpa/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# WP8.1中的XamlReader错误_C#_Xaml_Windows Runtime_Windows Phone 8.1 - Fatal编程技术网

C# WP8.1中的XamlReader错误

C# WP8.1中的XamlReader错误,c#,xaml,windows-runtime,windows-phone-8.1,C#,Xaml,Windows Runtime,Windows Phone 8.1,我从MSDN复制了这个代码 请帮我修一下。谢谢请尝试以下XAML,似乎缺少xmlns string xaml = "<Ellipse Name=\"EllipseAdded\" Width=\"300.5\" Height=\"200\" Fill=\"Red\" xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"/>"; string xaml=”“; The text associ

我从MSDN复制了这个代码


请帮我修一下。谢谢

请尝试以下XAML,似乎缺少xmlns

string xaml = "<Ellipse Name=\"EllipseAdded\" Width=\"300.5\" Height=\"200\" Fill=\"Red\"       xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"/>";
string xaml=”“;
The text associated with this error code could not be found. illegal 
qualified name character [Line: 1 Position: 68]
string xaml = "<Ellipse Name=\"EllipseAdded\" Width=\"300.5\" Height=\"200\" Fill=\"Red\"       xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"/>";