求助,刚学silverlight

tsingsoftjxm 2010-09-14 04:11:01
新建Silverlight 4 项目时,出现以下提示。

我是下载了Silverlight 4,并安装了Silverlight4_Tools.exe,silverlight_sdk.exe,甚至卸载了blend 3,依然出现这个错误?

System.ArgumentNullException
值不能为 null。
参数名: parentContext
在 Microsoft.Windows.Design.Metadata.ReflectionMetadataContext..ctor(IMetadataContext parentContext)
在 MS.Internal.Host.ProjectMetadataContext..ctor(IMetadataContext platformMetadata, AssemblyReferenceProvider referenceProvider)
在 MS.Internal.Host.ProjectMetadataContext.FromReferences(AssemblyReferenceProvider referenceProvider)
在 MS.Internal.Designer.VSDesigner.GetMetadataForDesignerContext(DesignerContext designerContext)
在 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()
...全文
55 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
老Key 2010-09-15
  • 打赏
  • 举报
回复
一个很简单的参数传递错误啊。。仔细检查一下你的代码里面的值。。。
lhq198706 2010-09-14
  • 打赏
  • 举报
回复
Hi,
For Questions in Chinese language, please post at
http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/threads
You may got more help from there

8,736

社区成员

发帖
与我相关
我的任务
社区描述
WPF/Silverlight相关讨论
社区管理员
  • WPF/Silverlight社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧