Why would loading a XAML file faile on a brand new, unaltered Silverlight project? -


why loading xaml file faile on brand new, unaltered silverlight project?

this first time have started silverlight project on current machine on visual studio 2010. until now, have been programing ni asp.net.

when first tried start new silverlight project, told needed install fresh copy of silverlight. had uninstall silverlight versions of silverlight sdk. after uninstalling , reinstalling (now have microsoft silverlight 5.1.20513.0 , silverlight 4 sdk 4.0.50826.0) able create silverlight project. xaml code instantly failed load in ide

http://i67.photobucket.com/albums/h292/athono/asp_dot_net%20and%20css/outofthegate02_zps0bd33d95.png

<usercontrol x:class="silverlightapplication4.mainpage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:ignorable="d" d:designheight="300" d:designwidth="400">  <grid x:name="layoutroot" background="white">  </grid> 

http://i67.photobucket.com/albums/h292/athono/asp_dot_net%20and%20css/outofthegate01_zpse0f20845.png

   system.nullreferenceexception 

object reference not set instance of object. @ microsoft.windows.design.platform.silverlightmetadatacontext.silverlightxamlextensionimplementations.d__8.movenext() @ ms.internal.design.metadata.reflectionprojectnode.buildsubsumption() @ ms.internal.design.metadata.reflectionprojectnode.subsumingnamespace(identifier identifier) @ ms.internal.design.markup.xmlelement.buildscope(prefixscope parentscope, iparsecontext context) @ ms.internal.design.markup.xmlelement.converttoxaml(xamlelement parent, prefixscope parentscope, iparsecontext context, imarkupsourceprovider provider) @ ms.internal.design.documentmodel.documenttrees.markup.xamlsourcedocument.fullparse(boolean converttoxamlwitherrors) @ ms.internal.design.documentmodel.documenttrees.markup.xamlsourcedocument.get_rootitem() @ microsoft.windows.design.documentmodel.trees.modifiabledocumenttree.get_modifiablerootitem() @ microsoft.windows.design.documentmodel.markupdocumentmanagerbase.get_loadstate() @ ms.internal.host.persistencesubsystem.load() @ ms.internal.host.designer.load() @ ms.internal.designer.vsdesigner.load() @ ms.internal.designer.vsisolateddesigner.vsisolatedview.load() @ ms.internal.designer.vsisolateddesigner.vsisolateddesignerfactory.load(isolatedview view) @ ms.internal.host.isolation.isolateddesigner.bootstrapproxy.loaddesigner(isolateddesignerfactory factory, isolatedview view) @ ms.internal.host.isolation.isolateddesigner.bootstrapproxy.loaddesigner(isolateddesignerfactory factory, isolatedview view) @ ms.internal.host.isolation.isolateddesigner.load() @ ms.internal.designer.designerpane.loaddesignerview()

any suggestions?


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -