locked
VS 2015 Designer error (Designer will not load) RRS feed

  • Question

  • I'm running VS 2105 Enterprise under Win10 Pro.

    Whether I create a new Universal project or load a sample project I get the same error in Designer (say for MainPage.xaml)... even if there is only a <grid>.  Showing the page in Design view I get this:

    System.NullReferenceException

    Object reference not set to an instance of an object.

    at Microsoft.VisualStudio.DesignTools.Platform.Metadata.MetadataStore.GetTypeConverter(Type type) at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.WindowsUIXamlDesignTimeProperties.ResolveImplementation(IPlatformMetadata platformMetadata, DesignTimePropertyId neutralProperty, IType declaringType, PropertyChangedCallback callback) at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.WindowsUIXamlDesignTimeProperties.RegisterProperty(IPropertyId neutralPropertyKey, IType declaringType, PropertyChangedCallback callback) at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.WindowsUIXamlCommonDesignTimeProperties.Initialize(WindowsUIXamlDesignTimeProperties designTimeProperties) at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.WindowsUIXamlDesignTimeProperties..ctor(IPlatformTypes platformMetadata) at Microsoft.VisualStudio.DesignTools.UniversalXamlDesigner.UniversalXamlPlatformMetadata.CreateDesignTimeProperties() at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.Metadata.WindowsUIXamlPlatformMetadata.Initialize() at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.WindowsStoreXamlPlatform.Initialize() at Microsoft.VisualStudio.DesignTools.Platform.PlatformCreatorBase.CreatePlatform(IPlatformReferenceAssemblyResolver referenceAssemblyResolver) at Microsoft.VisualStudio.DesignTools.Designer.Project.ProjectContextManager.GetProjectContext(IHostProject project, IPlatform platform, Boolean create) at Microsoft.VisualStudio.DesignTools.Designer.Project.ProjectContextManager.GetSourceItemContext(IHostSourceItem sourceItem) at Microsoft.VisualStudio.DesignTools.Designer.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass12_0.<Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.IRemoteDesignerService.CreateDesigner>b__0(CancellationToken cancelToken) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass6_0`1.<MarshalInWithCancellation>b__0() at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()

    ---------------------

    Digging down in the Log for VS 2015 I see this error reported>

    626 Begin package load [Windows Forms Designer Events Service Hosting Package] {9DA57A40-22DE-4CC9-896A-500489DCE0E7} VisualStudio 2015/07/31 00:32:25.416
    627 End package load [Windows Forms Designer Events Service Hosting Package] {9DA57A40-22DE-4CC9-896A-500489DCE0E7} VisualStudio 2015/07/31 00:32:25.418
    628 ERROR Assembly timestamp in MEF Cache does not match loaded assembly timestamp
              Microsoft.VisualStudio.TestWindow.Interfaces, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; code-base: file:///C:/Program Files (x86)/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.TestWindow.Interfaces.dll
    Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2015/07/31 00:32:27.849
    629 ERROR Microsoft.VisualStudio.ExtensibilityHosting.InvalidMEFCacheException: The Visual Studio component cache is out of date. Please restart Visual Studio. at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.<LoadAssembly>b__12_0(AssemblyName assemblyNameParam) at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.SafeGetOrAdd[TKey,TValue](IDictionary`2 dictionary, TKey key, Func`2 valueFactory) at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.LoadAssembly(AssemblyName assemblyName) at Microsoft.VisualStudio.Composition.Reflection.ResolverExtensions.GetManifest(Resolver resolver, AssemblyName assemblyName) at Microsoft.VisualStudio.Composition.Reflection.TypeRef.get_ResolvedType() at Microsoft.VisualStudio.Composition.Reflection.TypeRef.GetResolvedTypeArray(ImmutableArray`1 typeRefs) at Microsoft.VisualStudio.Composition.Reflection.TypeRef.get_ResolvedType() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteType() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteTypeWithoutCollection() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_IsLazy() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_LazyFactory() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.DelegateServices.<>c__DisplayClass2_0`1.<As>b__0() at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at System.Lazy`1.get_Value() at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.IndicatorCollection.<>c__DisplayClass13_0.<UpdateTemplateCollection>b__0() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) Editor or Editor Extension 2015/07/31 00:32:27.936
    630 ERROR Microsoft.VisualStudio.ExtensibilityHosting.InvalidMEFCacheException: The Visual Studio component cache is out of date. Please restart Visual Studio. at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.<LoadAssembly>b__12_0(AssemblyName assemblyNameParam) at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.SafeGetOrAdd[TKey,TValue](IDictionary`2 dictionary, TKey key, Func`2 valueFactory) at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.LoadAssembly(AssemblyName assemblyName) at Microsoft.VisualStudio.Composition.Reflection.ResolverExtensions.GetManifest(Resolver resolver, AssemblyName assemblyName) at Microsoft.VisualStudio.Composition.Reflection.TypeRef.get_ResolvedType() at Microsoft.VisualStudio.Composition.Reflection.TypeRef.GetResolvedTypeArray(ImmutableArray`1 typeRefs) at Microsoft.VisualStudio.Composition.Reflection.TypeRef.get_ResolvedType() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteType() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteTypeWithoutCollection() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_IsLazy() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_LazyFactory() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.DelegateServices.<>c__DisplayClass2_0`1.<As>b__0() at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at System.Lazy`1.get_Value() at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.IndicatorCollection.<>c__DisplayClass13_0.<UpdateTemplateCollection>b__0() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.DelegateServices.<>c__DisplayClass2_0`1.<As>b__0() at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at System.Lazy`1.get_Value() at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.IndicatorCollection.<>c__DisplayClass13_0.<UpdateTemplateCollection>b__0() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) Editor or Editor Extension 2015/07/31 00:32:27.993
    631 ERROR Microsoft.VisualStudio.ExtensibilityHosting.InvalidMEFCacheException: The Visual Studio component cache is out of date. Please restart Visual Studio. at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.<LoadAssembly>b__12_0(AssemblyName assemblyNameParam) at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.SafeGetOrAdd[TKey,TValue](IDictionary`2 dictionary, TKey key, Func`2 valueFactory) at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.LoadAssembly(AssemblyName assemblyName) at Microsoft.VisualStudio.Composition.Reflection.ResolverExtensions.GetManifest(Resolver resolver, AssemblyName assemblyName) at Microsoft.VisualStudio.Composition.Reflection.TypeRef.get_ResolvedType() at Microsoft.VisualStudio.Composition.Reflection.TypeRef.GetResolvedTypeArray(ImmutableArray`1 typeRefs) at Microsoft.VisualStudio.Composition.Reflection.TypeRef.get_ResolvedType() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteType() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteTypeWithoutCollection() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_IsLazy() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_LazyFactory() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.DelegateServices.<>c__DisplayClass2_0`1.<As>b__0() at System.Lazy`1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy`1.get_Value() at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.IndicatorCollection.<>c__DisplayClass13_0.<UpdateTemplateCollection>b__0() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) Editor or Editor Extension 2015/07/31 00:32:28.101
    632 ERROR

    Microsoft.VisualStudio.ExtensibilityHosting.InvalidMEFCacheException: The Visual Studio component cache is out of date. Please restart Visual Studio. at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.<LoadAssembly>b__12_0(AssemblyName assemblyNameParam) at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.SafeGetOrAdd[TKey,TValue](IDictionary`2 dictionary, TKey key, Func`2 valueFactory) at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.LoadAssembly(AssemblyName assemblyName) at Microsoft.VisualStudio.Composition.Reflection.ResolverExtensions.GetManifest(Resolver resolver, AssemblyName assemblyName) at Microsoft.VisualStudio.Composition.Reflection.TypeRef.get_ResolvedType() at Microsoft.VisualStudio.Composition.Reflection.TypeRef.GetResolvedTypeArray(ImmutableArray`1 typeRefs) at Microsoft.VisualStudio.Composition.Reflection.TypeRef.get_ResolvedType() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteType() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteTypeWithoutCollection() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_IsLazy() at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_LazyFactory() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.DelegateServices.<>c__DisplayClass2_0`1.<As>b__0() at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at System.Lazy`1.get_Value() at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.IndicatorCollection.<>c__DisplayClass13_0.<UpdateTemplateCollection>b__0() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() at Microsoft.VisualStudio.Composition.DelegateServices.<>c__DisplayClass2_0`1.<As>b__0() at System.Lazy`1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy`1.get_Value() at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.IndicatorCollection.<>c__DisplayClass13_0.<UpdateTemplateCollection>b__0() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)

    ------------------

    as told... I went to Tools> Options> XAML Designer and unchecked "Run project code in the XAML Designer (if supported)" ... but it made no difference...

    Designer does not work in EITHER VS 2015 Enterprise / Win10 Pro  OR  Blend 2015

    Please help, I'm totally stuck

    Tom


    Tom

    Friday, July 31, 2015 12:54 AM

Answers

  • This worked for me on 2 different HP products (HP sets the "Platform" environment variable).

    delete the "Platform" environment variable in System->Advanced System Settings->Environment Variables ...

    In my case it said =HPD


    Roman Müller, Founder and CEO - Interware LLC

    • Proposed as answer by Roman Müller Wednesday, August 5, 2015 7:51 AM
    • Marked as answer by Jiayi Li Friday, August 7, 2015 8:52 AM
    Wednesday, August 5, 2015 7:51 AM

All replies

  • Additionally:

    I have VS 2013 Ultimate installed w/ Update 5 

    I installed VS 2015 AFTER the update 5 was installed in VS2013


    Tom

    • Proposed as answer by coolboy881 Sunday, December 6, 2015 9:02 PM
    Friday, July 31, 2015 12:55 AM
  • Hi Tom,

    I found the following error:

    Assembly timestamp in MEF Cache does not match loaded assembly timestamp

    For this error, try to run the following two commands:

    Please open Windows Explorer, and navigate to  <Visual Studio Installation Path>\Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 14.0\Common7\IDE)

    1. Devenv.exe /UpdateConfiguration
    2. Devenv.exe /ClearCache

    Refer to: https://connect.microsoft.com/VisualStudio/feedback/details/1570345/mef-cache-version-mismatch-after-new-install

    If the above doesn’t help, to make sure whether it is related to the installation, please go to Control Panel to repair your Visual studio 2015, also repair your Visual studio 2013.

    If none of the above helps, try to use Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) to find out the error when your get the error in designer. And go to Event Viewer to check whether there is error.

    At last, you could share the result to us.

    Best Regards,

    Jiayi Li


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    • Proposed as answer by JayTBennett Wednesday, August 5, 2015 8:32 AM
    Friday, July 31, 2015 6:28 AM
  • I'm having exactly the same issue.

    Windows 10 build 10240 (Insider preview). Visual Studio Community 2015 RTM.

    I had VS 2013 community update 4 and VS 2015 community RC on this system. I removed both before installing VS 2015. After installing VS 2015, I created a simple universal blank app project. Clicked on mainpage.xaml. I got this null reference exception. Opening it in Blend generates the same error.

    I tried clearing cache by issuing the two commands as suggested. No difference.

    BTW, I'm getting this strange build error:

    Build action 'Page' is not supported by the specific combination of the project's targets.    TestApp1    C:\Projects\...\MainPage.xaml    0

    I'm not sure if this is related though.

    Thanks.

    Friday, July 31, 2015 9:10 AM
  • Hey Tom,

    I too am facing the same issue as you. I upgraded from VS Community 2013 Update 3 to VS Community 2015 on Windows 10 and am seeing the same issue - even down to the 'Page' issue.

    One thing that I found strange, when I created a new Universal Windows app I found that my references to System were all broken until I built, which I found strange.

    Running those commands did not fix the issue for me. Going to try repair 2015 and 2013. Previously I'd only tried repairing 2015

    Friday, July 31, 2015 2:49 PM
  • Hello Jaiyi Li,  I'm about to run those commands... but I wanted to update my info.

    I found the installation of VS2105 (Enterprise) here> C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE

    rather than Program Files...

    In this folder> C:\Program Files (x86)\ < I find:

    * Microsoft Visual Studio 12.0  (visual studio 2013)
    * Microsoft Visual Studio 14.0  (visual studio 2015)

    However, in this folder> C:\Program Files\ < I find only

    * Microsoft Visual Studio 12.0  (visual studio 2013)

    Why is that?
    I would think that I should also find <Microsoft Visual Studio 14.0> in C:\Program Files\

    When looking in C:\Program Files\Microsoft Visual Studio 12.0

    I find the folders <IDE> and <Packages>

    I'm guessing that installation is not creating a folder which should be there (in short, C:\Program Files\Microsoft Visual Studio 14.0  should have been created but has not been

    At any rate that is the only difference I see that's obvious


    Tom

    Friday, July 31, 2015 7:42 PM
  • I have now tried this:

    "Please open Windows Explorer, and navigate to  <Visual Studio Installation Path>\Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 14.0\Common7\IDE)

    1. Devenv.exe /UpdateConfiguration
    2. Devenv.exe /ClearCache"

    However the path I used was C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE  since there was not a folder "Microsoft Visual Studio 14.0" in C:\Program Files\

    When Visual Studio2015 loaded for the first time afterward I DID SEE that MEF data had been updated but it made no difference.  I still get the same error/exception in Designer.

    Will now try a repair of both 2015 and 2013


    Tom

    Friday, July 31, 2015 7:49 PM
  • your project is in vc++? I encountered the same issue, and eventually found the following work-around:

    1. close the old vc++ solutoin

    2. create a new blank C# project, and click on MainPage. now the designer seems to be loaded properly.

    3. Close the C# project, re-open vc++ project, and all of sudden, the designer loaded

    this looks like a bug in vc++ to me

    Friday, July 31, 2015 11:26 PM
  • An update Jiayi Li:

    I installed VS 2015 Community Edition on another development machine.  This one had/has VS 2012 Ultimate on it.  I installed ALL features of Community Edition.

    Installation went fine: one difference with my other machine (where I'm showing the above errors with Designer) is that GitHub is not installed... probably makes no difference but I note that.

    Also, VS2013 is NOT installed on this machine.

    Most important, when I run VS 2015 on this machine Designer WORKS ... I think the reason is that when I ran VS 2015 the first time and created a default Universal Project I was shown a dialogue that asked me to OK "certain permissions" for "elevated access" for Designer (and it said it would NOT work if I CANCEL'd.  So I OK'd and it works. Though its only showing me outlines of selected objects... its not rendering them in color in Design View... something's a bit wonky still. But at least I can see layout!

    Soooo... the solution would seem to be for my main machine to get this dialog to show... ???  But how... it looks like it only is shown once and never again <sigh....>

    Designer requires certain permissions dialog


    Tom


    • Edited by tbink Saturday, August 1, 2015 2:19 AM change wording
    Saturday, August 1, 2015 2:16 AM
  • CORRECTION:   Although the problem is definitely the fact that Custom Permissions for "elevated access" were not set... I don't see any visible difference between the folder permission for the  VS2015 installation folders of the working and non-working (Design View) computer/VS installations.

    Probably the cause is that I installed VS2015 Community in Windows 8.1 (before the release of Win10)... I was not shown the elevated permissions dialog when I did so.  When I upgraded my OS to Win10... the folder permissions were already set (Can those custom permissions ONLY be created when the first Universal Solution is created?  Weird if so...

    Anyway... that the cause of my problem with my primary VS2015 Enterprise installation. 

    I'm hoping MS can provide a quick solution...

    Thank you

    tom

    ----------------

    my original message below is not quite correct

    ---------------------

    I figured out why Designer is not working... Security> "Custom Permissions" are not set on the VS 2015 installation folder on this computer (where VS 2015 Designer is NOT working)... But ARE SET on the computer where Designer IS WORKING.  There is no Check in that box but it is ghosted (on the working machine) to show that it is set.


    ---------------

    so now PLEASE, Microsoft... tell me how I can set those "Special Permissions" so I can get Designer working on my main machine with VS 2015 Enterprise (uninstalling/reinstalling does NOT work to do that)



    • Edited by tbink Saturday, August 1, 2015 6:08 AM correction of original
    Saturday, August 1, 2015 3:52 AM
  • I have the same problem.

    It's a clean Windows 10 install with Visual Studio 2015.

    If I build & Run the app it shows the UI. But the designer gives me the same error.

    Almost lost a whole day on this problem. This is the only hit Google gives...

    Saturday, August 1, 2015 7:31 AM
  • I hope that this is the solution and not just a huge coincidence. 

    But the problem seems to be fixed on my pc.

    I was trying to make a Windows 10 Universal app the whole time. So I switched to a Windows 8 Universal app and the designer loaded. So I went back to the Windows 10 app and the designer loaded also!!!!

    If this isn't the solution to the problem I have no idea what changed.

    Saturday, August 1, 2015 7:56 AM
  • hey Soulshriek, I'm installing the Windoes 8 sdk now and am going to follow the same steps. I'll report back to let you know it works the same for me. Got to pop out now but will be back in about 4 hours.

    Saturday, August 1, 2015 9:00 AM
  • Soulshriek, think you got lucky. Creating a Win8 universal app then a Win10 universal app unfortunately did not fix the issue for me :(
    Saturday, August 1, 2015 1:48 PM
  • Sorry I couldn't help.

    I'm really dissappointed in VS2015. 

    The designer not starting is a known issue I think. I was reading the C++ UWP Hello World Example on msdn.

    https://msdn.microsoft.com/en-us/library/windows/apps/dn996906.aspx

    En this was in there.

    The designer fails to load if an unhandled exception occurs during rendering. Rendering in the designer involves running a design-time version of the page. It can be helpful to disable running user code. You can do this by changing the setting in the Tools, Options dialog box. Under XAML Designer, uncheck Run project code in XAML designer (if supported).

    Now the next problem for me is I can't deploy to the emulator. It just says "There were deployment errors" with no details whatsoever ...

    Visual Studio 2015 Enterprise pfffft. I'm back on 2013 ...

    Saturday, August 1, 2015 2:24 PM
  • I've been seeing those same messages on my Win10/VS2015 Enterprise machine...

    BUT NOT on my other machine which is also running Win10 + VS2015 (please see my earlier post for specifics). The difference between the two machines is that THIS dialog was shown to me the FIRST TIME I created a Win10 Universal (C#) solution on the machine where VS2015~Designer works...

    If you cancel, you will not be able to use the Designer

    "If you cancel, you will not be able to use the Designer"... I WAS NOT SHOWN THIS DIALOG on the machine where Designer doesn't work

    Please MS... a fix... please!

    tom


    Tom

    Saturday, August 1, 2015 8:14 PM
  • I'm disappointed about VS2015 community edition as well. 

    MainPage.xaml is not loading in the designer for a UWP project.

    I tried to open the page from Blend for Visual Studio 2015 with the same result.

    In all the cases I get the following error:

    System.Runtime.InteropServices.COMException

    Δεν έγινε έναρξη της εφαρμογής. (Exception from HRESULT: 0x8027025B)

    at Microsoft.VisualStudio.DesignTools.HostUtility.AppPackage.AppPackageNativeMethods.IApplicationActivationManager.ActivateApplication(String appUserModelId, String activationContext, ActivateOptions options, Int32& processId) at Microsoft.VisualStudio.DesignTools.HostUtility.AppPackage.DesignerWrtUtility.ActivateApplication(String appUserModelId, String activationContext, Object site, Boolean isRunningElevated) at Microsoft.VisualStudio.DesignTools.HostUtility.Platform.AppContainerProcessDomainFactory.ActivateApplicationInternal(String appUserModelId, String activationContext, Object site) at Microsoft.VisualStudio.DesignTools.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, IIsolationTarget isolationTarget, String baseDirectory) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary) at Microsoft.VisualStudio.DesignTools.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.Initialize() at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedObjectFactory.Initialize() at Microsoft.VisualStudio.DesignTools.DesignerHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget) at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry, IServiceProvider serviceOverrides) at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.<>c__DisplayClass10_0`1.<StartTask>b__0() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()

    Any help would be appreciated.

    Hope to get it soon!


    • Edited by Chatzisa Sunday, August 2, 2015 1:04 PM Clarified the project type.
    Sunday, August 2, 2015 1:01 PM
  • I have had the same experience using VS 2015, C++ Universal, Blank Template.   The designer view worked fine until some event shortly after installation.  I got it to work by following these steps:

    1.  Close C++ Solution

    2.  Create new C# Solution, Universal Blank Template.  View the MainPage XAML file in the designer.  Designer worked as expected for the C# Solution...noticed it was incredi-zoomed to 800% for 5" phone screen but I zoomed down to reasonable 100% at 23" desktop.  Built.  Didn't run it.

    3.  Closed C# Solution.

    4.  Created new C++ Solution, Universal, Blank Template.  Double click MainPage.xaml, click Design tab. 

    Designer now loads and displays as expected.

    A few other notes:  doesn't appear to be related to a subversion directory issue.  Originally tried creating C++ Solution in a repository location, then in a non-repository location, and no effect on the designer.



    • Edited by Kris Weber Sunday, August 2, 2015 5:23 PM added subversion notes
    Sunday, August 2, 2015 5:07 PM
  • I'm slightly concerned that there appears to be a couple of different ways that this issue is manifesting itself. One thing I noticed when using the designer for the first time, a command prompt is run. In my initial run through this happened a couple of times, and most recently it only ran once. I'm wondering if an error occurred while running through these command prompts which is causing the issue. 

    I'm going to have a dig through the program files and see what I can find....

    Quite disappointed so far though..

    Tuesday, August 4, 2015 8:08 AM
  • This worked for me on 2 different HP products (HP sets the "Platform" environment variable).

    delete the "Platform" environment variable in System->Advanced System Settings->Environment Variables ...

    In my case it said =HPD


    Roman Müller, Founder and CEO - Interware LLC

    • Proposed as answer by Roman Müller Wednesday, August 5, 2015 7:51 AM
    • Marked as answer by Jiayi Li Friday, August 7, 2015 8:52 AM
    Wednesday, August 5, 2015 7:51 AM
  • These commands fixed my problem and also another issue with the "Store" menu not showing up for UWP projects preventing me from building App packages, so thank you Jiayi

    Windows Development lead at UI Centric

    Wednesday, August 5, 2015 8:33 AM
  • Wow. That was incredible, Roman.

    How did you figure that out? I was thinking a similar thing: This could be, possibly, related to some environment var or path issues, etc. since this problem occurs for this particular computer but not for others. 

    When I saw your post, I immediately, almost instinctively, knew this would solve my problem. :) The laptop I was having this problem with was also HP, and the "Platform" var was set to MCD in my case. I removed that var, rebooted it just to be sure, and fired up Visual Studio 2015.

    Voila!!!

    This solved both my problems (Designer issue as well as this "no Page build action" error).

    Thanks, ~Harry


    • Edited by Harry-- Wednesday, August 5, 2015 8:47 AM
    Wednesday, August 5, 2015 8:44 AM
  • This worked for me on 2 different HP products (HP sets the "Platform" environment variable).

    delete the "Platform" environment variable in System->Advanced System Settings->Environment Variables ...

    In my case it said =HPD


    Roman Müller, Founder and CEO - Interware LLC

    Also running on HP hardware. Didn't work for me initially, but took closing and opening my solution a couple of times, but it worked for me!! Thank you Roman! Maybe we can all get on with some work now ;)
    Wednesday, August 5, 2015 10:48 AM
  • Kudos go to @unnir for pointing me into the right direction:

    https://twitter.com/unnir/status/628645019243536384

    Thank him!


    Roman Müller, Founder and CEO - Interware LLC

    Wednesday, August 5, 2015 11:00 AM
  • Thanks, Roman, and others for sharing their possible solutions. (Believe me, I tried every potential solution I read on this forum. :))

    I was almost giving up after 5 days of hair splitting (and, 2 days of non-stop drinking out of despair, jk, but, cf: http://www.harrysmemo.com/post/125554635742/no-windows-10-dev-machine ;)) I ended up purchasing a new Windows 10 computer just to run VS2015.

    Anyways, as with Braydie, I'm now so ready to get some work done.

    Thanks, ~Harry

    Wednesday, August 5, 2015 6:04 PM
  • Thanks, Roman, that was exactly the problem.  Removed the platform environment variable, rebooted VS 2015 and presto...it worked.

    John Carroll- Director of Technology, ForgetMeNot Software

    Saturday, August 8, 2015 12:35 AM
  • Thanks Roman, It really helped.

    What's up with VS 2015, should we be parking it for latter use :( ?

    Saturday, August 8, 2015 7:43 PM
  • Great!! It works on my HP laptop too.

    In my case it said = MCD

    Thanks Roman.  :)

    Sunday, August 9, 2015 6:03 AM
  • Thanks a lot, this worked for me on my HP machine...

    Raj

    Sunday, August 9, 2015 6:04 AM
  • This work for my HP laptop too! Thanks

    All proper answers are appreciated!!

    • Proposed as answer by Tilcey Friday, August 21, 2015 9:18 PM
    • Unproposed as answer by Tilcey Friday, August 21, 2015 9:18 PM
    Tuesday, August 11, 2015 2:48 PM
  • I too have had unending issues with loading the VS Designer. 

    After searching high and low and trying everything I came across something that suggested to me that it was my profile. I know that sounds very vague - but I've searched so much that I really can't remember why I thought it was - and I didn't fully understand it. 

    So I tried creating a new User profile - and bam - I'm up and running. 

    I think "removing" VS and installing doesn't fully remove everything. So the left overs just hang around and screwed me up. Not really knowing what I was doing - I didn't want to go ahead and delete stuff in my user profile so creating a new one was easier for me. 


    Friday, August 21, 2015 9:21 PM
  • After deleting "Platform" environment variable ( I work on a HP ENVY23 all in one touch screen) : 

    I create a C# UWA that didn't work.

    So I create a C++ UWA

    Then I came back to create then C# UWA

    And it works perfectly.

    Regards

    Jean


    • Edited by bjean54116 Friday, September 4, 2015 5:52 PM
    Friday, September 4, 2015 5:50 PM
  • hi

    I have zbook hp laptop and win10 and vs 2015

    I have this problem . but I cant not find platform environment variable that I delete.

    where is platform environment variable?


    Amir Ameri

    Saturday, September 12, 2015 11:34 AM
  • This fixed my issue on my HP Laptop. It initially got rid of the "no Page build action" error. I had to actually right click on the file in the Solution explore and select design in Blend. Once it opened in Blend then it was able to load in the designer in visual studio. 

    Thanks Roman!!! Been trying to figure this out for a little over a week now.

    Saturday, September 12, 2015 2:21 PM
  • I found yet another solution at https://channel9.msdn.com/Forums/Coffeehouse/Problem-with-XAML-designer-in-Visual-Studio-2015

    This one worked for me!

    Monday, January 11, 2016 3:31 PM

  • Thanks Li, it worked for me and I had issues with SSDT-2013, so I had to change Microsoft Visual Studio 14.0 to Microsoft Visual Studio 12.0.

    Tuesday, July 18, 2017 3:29 PM