每当我打开我的Visual Studio 2010 Silverlight设计器的xaml我得到这个错误。Silverlight设计师错误
System.NullReferenceException未将对象引用设置为对象的实例。 Microsoft.Expression.Platform.Silverlight.SilverlightDomainManager.CreateDomainCore()at Microsoft.Expression.Platform.Silverlight.SilverlightDomainManager.CreateDomainInitial()at Microsoft.Expression.Platform.Silverlight.SilverlightPlatformCreator.Initialize()at MS.Internal.Platform.SilverlightPlatformImpl .Initialize()at MS.Internal.Package.VSIsolationProviderService.RemoteReferenceProxy.EnsurePlatformInitialized()at MS.Internal.Package.VSIsolationProviderService.RemoteReferenceProxy.EnsurePlatformInitialized()at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProvider(String originalIdentifier,Boolean isGlobal,String MS.Internal MS.Internal.Package.VSIsolationProviderService.CreateIsolationProvider(String identifier,IServiceProvider provider)at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProviderWorker(String identifier,IServiceProvider provider)处的身份,FrameworkName框架名称, rnal.Providers.VSDesignerContext.CreateIsolationProvider(IServiceProvider provider,IVsHierarchy hierarchy)at MS.Internal.Providers.VSDesignerContext。 <> c_DisplayClass1.b_0(IsolationProviderProxyⅰ)MS.Internal.Providers.IsolationProviderProxy.get_RealProvider()在MS.Internal.Providers.IsolationProviderProxy.add_UnhandledException(UnhandledExceptionEventHandler值)MS.Internal.Designer.DesignerPane.LoadDesignerView()
注意: - 我看到很多参考在网上&在计算器。没什么为我工作。
看来它是一个微软expressinon融合问题。您最近是否在Microsoft Expression Blend中打开了您的XAML,如果是这样,请检查您的参考。这似乎有一些Blend DLL的缺失。 – 2012-04-02 10:17:17
这里没有办法,我不是在谈论Expression Blend。 – 2012-04-02 20:30:45