none
我在BLEND中写的SL程序edit in Visual Stuido后看不到视图 提示click here to reload the designer点击后无效 【菜鸟初学,请多指教】 RRS feed

  • 问题

  •  提示click here to reload the designer点击后无效
    Detials:
    Exception has been thrown by the target of an invocation.
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
       at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at MS.Internal.Package.MetadataLoader.InitializeProfileMetadata(RegistryKey registryRoot, String profile, LogCallback logger)
       at MS.Internal.Package.VSIsolationProviderService.RemoteReferenceProxy.InitReferencedAssemblies(AssemblyName localAssemblyName, AssemblyName[] assemblies, RegistryKey registryRoot, FrameworkMultiTargetingProxy frameworkMultiTargeting, String targetFrameworkMoniker)
       at MS.Internal.Package.VSIsolationProviderService.RemoteReferenceProxy.InitReferencedAssemblies(AssemblyName localAssemblyName, AssemblyName[] assemblies, RegistryKey registryRoot, FrameworkMultiTargetingProxy frameworkMultiTargeting, String targetFrameworkMoniker)
       at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProvider(IServiceProvider provider, IVsHierarchy hierarchy, AssemblyReferenceProvider assemblyReferences, IEnumerable`1 assemblyFolders)
       at MS.Internal.Providers.VSDesignerContext.GetIsolationProvider(IServiceProvider provider, IVsHierarchy hierarchy, AssemblyReferenceProvider assemblyReferences, Boolean isSilverlightProject)
       at MS.Internal.Providers.VSDesignerContext.GetIsolationProvider(IServiceProvider provider, IVsHierarchy hierarchy, AssemblyReferenceProvider assemblyReferences)
       at MS.Internal.Providers.VSDesignerContext.Initialize(IServiceProvider provider, IVsHierarchy hierarchy, UInt32 itemid, Object docDataObj)
       at MS.Internal.Providers.VSDesignerContext..ctor(IServiceProvider provider, IVsWindowFrame frame, Object docDataObj)
       at MS.Internal.Providers.VSDesignerContext.GetContext(IServiceProvider services, IVsWindowFrame frame, Boolean createIfNotExist)
       at MS.Internal.Designer.DesignerPane.InitializeDesigner()

     
    Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. 系统找不到指定的文件。
       at Microsoft.Windows.Design.Platform.SilverlightMetadataContext..ctor()

    2010年1月5日 11:42

答案

全部回复