System.InvalidProgramException
Common Language Runtime detected an invalid program.
at System.ComponentModel.TypeConverterAttribute..ctor(Type type)
at MS.Internal.Metadata.IntrinsicMetadata.AddTypeConverterAttributes()
at MS.Internal.Metadata.IntrinsicMetadata.get_CustomAttributes()
at Microsoft.Windows.Design.Platform.SilverlightMetadataContext..ctor()
at Microsoft.Windows.Design.Platform.SilverlightMetadataContext..ctor(DesignerPlatform platformFactory, Platform blendPlatform)
at MS.Internal.Platform.SilverlightPlatformImpl.get_MetadataContext()
at MS.Internal.Platform.SlmPlatformImpl.get_MetadataContext()
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.<Initialize>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()
环境是为window 7 下,创建个项目就出现这个问题!
------最佳解决方案--------------------------------------------------------
要是找不到原因。卸载了,重装,直接有效
------其他解决方案--------------------------------------------------------
兄弟,你缺了什么东西吧。
------其他解决方案--------------------------------------------------------
创建其他类型的项目有问题么?
------其他解决方案--------------------------------------------------------
好像没问题!因为这个项目不是会有界面和XML文件么!所以点击MainPage.xaml,文件就出这个问题。
------其他解决方案--------------------------------------------------------
要是找不到原因。卸载了,重装,直接有效
------其他解决方案--------------------------------------------------------
要是找不到原因。卸载了,重装,直接有效
------其他解决方案--------------------------------------------------------
后面知道了,是SIVERLIGHT的版本问题,从5直接卸载掉,然后装上4就可以了。