locked
Blend doesnt work at all

    Question

  • When I try to create a new project in Blend if I select, "New Project" from the splash screen, and then select Grid Application (it only offers type C# and windows 8) I then get almost no change except for a line that says "Solution ApplicationX" (0 projects)

    The entire menu is whited out, but if I mouse over, I get File/Edit, etc.

    Virtually every menu item is disabled, with the exception of "Clean" which will generate a lot of error code if I select it.

    In Visual Studio, the designer spends most of its time crashed, even for newly generated projects, but for some reason, works for all the sample programs I have tried. 

    Friday, May 18, 2012 4:41 PM

Answers

  • Daniel,

    Can you please try the latest Windows8 Release Preview with Visual Studio 2012 RC? We expect this issue to be fixed in this release.

    -Navit Saxena

    • Marked as answer by danielsn Sunday, June 3, 2012 3:16 AM
    Thursday, May 31, 2012 8:36 PM

All replies

  • Hi Daniel,

    Please try the work-around listed on this thread: http://social.msdn.microsoft.com/Forums/en-US/toolsforwinapps/thread/5c50baae-717c-43af-a243-6fa3bb730641.

    This issue is fixed and will be available in next release.

    -Navit Saxena

    • Marked as answer by danielsn Sunday, June 3, 2012 3:16 AM
    • Unmarked as answer by danielsn Sunday, June 3, 2012 3:16 AM
    Saturday, May 19, 2012 1:22 AM
  • Navit

    Thank you very much, this did the trick.

    Saturday, May 19, 2012 4:57 AM
  • Hi Navit,

    ExpressionBlend does now load a project so making progress, but the designer still fails.  Here is the error from a basic page.  It fails on all pages.

    The same page can be displayed (now but not yesterday) in Visual Studio 2011 without problems.

    System.NullReferenceException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Expression.Utility.WindowsRuntimeContext.GetWinMDReference(String assemblyName)
       at Microsoft.Expression.DesignModel.Metadata.MemberCollection.IsAssemblyReferenced(ITypeResolver typeResolver, IAssembly assembly)
       at Microsoft.Expression.DesignModel.Metadata.MemberCollection.IsResolvableType(ITypeResolver typeResolver, IType typeId)
       at Microsoft.Expression.DesignModel.Metadata.MemberCollection.GetPropertyTypes(ITypeResolver typeResolver, PropertyImplementationBase implementation, IType& targetType, IType& valueType)
       at Microsoft.Expression.DesignModel.Metadata.MemberCollection.ApplyToAllProperties(ApplyToPropertyDelegate action)
       at Microsoft.Expression.DesignModel.Metadata.MemberCollection.AddAllPropertiesIfNecessary()
       at Microsoft.Expression.DesignModel.Metadata.MemberCollection.GetMember(MemberType memberTypes, String memberName, MemberAccessTypes access)
       at Microsoft.Expression.DesignModel.Metadata.ProjectContextType.GetMember(MemberType memberTypes, String memberName, MemberAccessTypes access)
       at Microsoft.Expression.DesignModel.Metadata.PlatformTypeHelper.GetProperty(ITypeResolver typeResolver, MemberType memberTypes, String memberName, ITypeId targetType)
       at Microsoft.Expression.DesignModel.Metadata.PlatformMetadataBase.GetNameProperty(ITypeResolver typeResolver, Type type)
       at Microsoft.Expression.DesignModel.Metadata.ClrObjectMetadata.<.ctor>b__0()
       at Microsoft.Expression.DesignModel.Metadata.DelayedInstance`1.get_Value()
       at Microsoft.Expression.DesignModel.Metadata.ClrObjectMetadata.Microsoft.Expression.DesignModel.Metadata.ITypeMetadata.get_NameProperty()
       at Microsoft.Expression.DesignModel.Metadata.ProjectContextType.Cache()
       at Microsoft.Expression.DesignModel.Metadata.ProjectContextType.Initialize(IXmlNamespace xmlNamespace, Type type)
       at Microsoft.Expression.DesignModel.Metadata.TypeResolver.GetType(String key, IAssembly assembly, Type type)
       at Microsoft.Expression.DesignModel.Metadata.TypeResolver.GetType(UsingNamespaceIdentifier usingNamespaceIdentifier, String typeName)
       at Microsoft.Expression.DesignModel.Metadata.TypeResolver.GetType(IXmlNamespace xmlNamespace, String typeName)
       at Microsoft.Expression.DesignSurface.Project.ProjectContextBase.XamlProjectMetadata.GetType(IXmlNamespace xmlNamespace, String typeName)
       at Microsoft.Expression.Markup.DocumentXmlnsDefinitionMap.GetType(IXmlNamespace xmlNamespace, String typeName)
       at Microsoft.Expression.Markup.XamlTypeHelper.ResolveTypeInternal(ITypeResolver typeResolver, IXmlNamespaceTypeResolver xmlNamespaceTypeResolver, XmlNamespace xmlNamespace, String typeName)
       at Microsoft.Expression.Markup.XamlTypeHelper.ResolveType(ITypeResolver typeResolver, IXmlNamespaceTypeResolver xmlNamespaceTypeResolver, XmlNamespace xmlNamespace, String typeName, Boolean inMarkupExtension)
       at Microsoft.Expression.Markup.XamlTypeHelper.GetTypeId(ITypeResolver typeResolver, DocumentXmlnsDefinitionMap documentNamespaces, XmlNamespace xmlNamespace, String typeName, Boolean instantiateUnrecognizedTypes, Boolean inMarkupExtension)
       at Microsoft.Expression.Markup.XamlRootNodeSniffer.SniffRootNodeType(Stream stream, IDocumentContext documentContext, String& xamlClassAttribute)
       at Microsoft.Expression.DesignSurface.Project.XamlProjectContext.GetDocumentType(ISourceItemContext sourceItem)
       at Microsoft.Expression.DesignSurface.Project.ProjectContextBase.TryUpgradeToProjectDocument(ISourceItemContext context)
       at Microsoft.Expression.DesignSurface.Project.ProjectContextBase.Initialize()
       at Microsoft.Expression.DesignSurface.Project.XamlProjectContext.Initialize()
       at Microsoft.Expression.DesignSurface.Project.ProjectContextManager.GetProjectContext(IHostProject project, IPlatform platform)
       at Microsoft.Expression.DesignSurface.Project.ProjectContextManager.GetSourceItemContext(IHostSourceItem sourceItem)
       at Microsoft.Expression.DesignSurface.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass9.<Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner>b__8()
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.<>c__DisplayClassa`1.<Invoke>b__9()
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Call.Invoke()
       --- End of inner exception stack trace ---

    Server stack trace:
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.WaitForCompletion(BlockingCall call)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke(BlockingCall call)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke[T](Func`1 func, Nullable`1 sourceProcessId, WaitHandle aborted)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn[TResult](IRemoteObject targetObject, Func`1 func)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.<>c__DisplayClass8.<Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner>b__7(IRemoteDesignerService d)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass4`2.<MarshalOut>b__3()
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.DirectInvoke[T](WaitHandle abort, Func`1 func)
       --- End of inner exception stack trace ---
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.DirectInvoke[T](WaitHandle abort, Func`1 func)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle`1 targetObject, Func`1 func)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle`1 targetObject, Func`2 func)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateDesignerViewInfo(IIsolationTarget isolationTarget, IHostSourceItem item, IHostTextEditor editor, CancellationTokenSource cancelSource)

    Saturday, May 19, 2012 5:22 AM
  • Daniel,

    Can you please try the latest Windows8 Release Preview with Visual Studio 2012 RC? We expect this issue to be fixed in this release.

    -Navit Saxena

    • Marked as answer by danielsn Sunday, June 3, 2012 3:16 AM
    Thursday, May 31, 2012 8:36 PM