Jak*_*164 5 visual-web-developer silverlight-toolkit silverlight-4.0
当我使用Silverlight 4(有或没有WCF RIA服务检查)创建一个新的Silverlight应用程序(C#,如果这很重要)并在设计器中打开MainPage.xaml时,我收到一个未处理的异常.堆栈在下面.这是一个未经修改的项目.
I have uninstalled all Silverlight and reinstalled the tools listed above. I the same error when I open the App.xaml file as well. When I compile it completes without error, however when I run the application it always comes up that Silverlight is not installed.
I have installed Visual Web Developer Express 2010 (v10.0.30319.1 RTMRel) and Silverlight Tools for VS2010 (v10.0.30319.332) on a 32bit Windows XP machine. The IDE works fine in other regards, only issue seems to be with xaml files.
Anybody run into this?
System.NullReferenceException Object reference not set to an instance of an object. at 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 identity, FrameworkName frameworkName, AssemblyName appAssemblyName, IVsHierarchy hierarchy) at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProviderWorker(String identifier, IServiceProvider provider) at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProvider(String identifier, IServiceProvider provider) at MS.Internal.Providers.VSDesignerContext.CreateIsolationProvider(IServiceProvider provider, IVsHierarchy hierarchy) at MS.Internal.Providers.VSDesignerContext.<>c__DisplayClass1.b__0(IsolationProviderProxy i) at MS.Internal.Providers.IsolationProviderProxy.get_RealProvider() at MS.Internal.Providers.IsolationProviderProxy.add_UnhandledException(UnhandledExceptionEventHandler value) at MS.Internal.Designer.DesignerPane.LoadDesignerView()
经过几个小时的努力,我发现了以下帖子,它引导我走上了解决问题的道路。我必须卸载标准版本的 silverlight,然后安装开发人员运行时,它解决了我的所有问题。去搞清楚。
Microsoft 于 2010 年 2 月 26 日下午 12:40 发布
可能发生的情况是您拥有标准版本的 Silverlight 运行时,并且需要安装 Silverlight 的开发人员运行时。Blend 将使用 silverlight 运行时的标准版本安装和运行,但 Visual Studio 需要运行时的开发人员版本。此问题已在 Visual Studio 的 RTM 版本中修复。目前,如果您遇到此问题,请通过以下链接安装 silverlight 开发人员运行时: http://go.microsoft.com/fwlink/? LinkId=146060
| 归档时间: |
|
| 查看次数: |
9841 次 |
| 最近记录: |