想新建一个空白应用程序,可是无法加载设计器,

我是一个C# 的初学者,在创建一个“window 应用商店”-“空白应用程序”后无法加载设计器,说发生了未经处理的错误?哪位大神能帮我解决呀!界面显示如下:
发生了未经处理的错误
单击以加载设计器
System.NullReferenceException
Object reference not set to an instance of an object.
在 Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal)
在 Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOutSynchronous(Action action, Int32 targetApartmentId, WaitHandle aborted, WaitHandle timeoutSignal)
在 Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOut(Action action, Int32 targetApartmentId, WaitHandle aborted, CallSynchronizationMode syncMode, WaitHandle timeoutSignal)
在 Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOutTValue
在 Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOutTResult,TValue
在 Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstanceT
在 Microsoft.Expression.DesignHost.Isolation.IsolatedExportProvider.Initialize()
在 Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateExportProvider(IIsolationTarget isolationTarget, ICatalogFactory catalogFactory, IExportFilter filter)
在 Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
在 Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)
在 Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
在 Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCultureT
在 Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa1.<StartTask>b__6()
在 System.Threading.Tasks.Task
1.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()

System.NullReferenceException
Object reference not set to an instance of an object.

Server stack trace:
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal)
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalIn(Action action, Int32 targetApartmentId)
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn(IRemoteObject targetObject, Action action)
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalInTResult
at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.RemoteIsolationContext.Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.IRemoteContext.CreateInstance(String assemblyName, String assemblyCodeBase, String typeName)
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]:
在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
在 Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.IRemoteContext.CreateInstance(String assemblyName, String assemblyCodeBase, String typeName)
在 Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.<>c__DisplayClassa1.<CreateInstance>b__9(IRemoteContext c)
在 Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass4
2.b__3()
在 Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()

System.NullReferenceException
Object reference not set to an instance of an object.
at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.RemoteIsolationContext.<>c__DisplayClass18.b__17()
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass16`1.b__15()
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()

3个回答

删除了重新创建一次试试看。需要先下载一个许可文件,以便不通过商店部署程序,在网络不好的情况下会出错。

是开发者许可证吗?我获取了的,再创建空白应用程序还是没有用

是开发者许可证吗?我获取了的,再创建空白应用程序还是没有用

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!