每當我打開我的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