2017-12-29 11 views
0

私はビジュアルスタジオ2012、Windows Phone SDK 8.0、Windows Phoneエミュレータ8.0、Windows 8.1 proで作業しています。ビジュアルスタジオ2012でdesigerを初めて読み込んでいるときにエラーが処理されないエラー

ビジュアルスタジオを起動し、Windows Phoneアプリ で最初のプロジェクトを作成すると、デザイナーは表示されません。それはデザイナーを読み込む際にいくつかの例外を与えます。

System.NullReferenceExceptionオブジェクト参照がオブジェクトのインスタンス に設定されていません。 Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOutSynchronous(アクション アクション、のInt32 targetApartmentId、WaitHandleで Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext、BlockingCall呼び出し、WaitHandle timeoutSignal)で Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOut(アクション アクション、のInt32 targetApartmentIdでtimeoutSignal、WaitHandle )中止され、WaitHandleは Microsoft.Expression.DesignHost.Isolation.Remotingで CallSynchronizationMode SYNCMODE、WaitHandle timeoutSignal)、中止され.ThreadMarshaler.MarshalOut [TValue](RemoteHandle1 targetObject、アクションアクション、CallSync Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.CreateDesignerImplでMicrosoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut [TResult、TValue(RemoteHandle1 対象物体、FUNC2のFUNC、CallSynchronizationMode SYNCMODE)でhronizationMode SYNCMODE)( IHostSourceItem アイテム、IHostTextEditorエディタ、RemoteCancellationToken remoteCancelToken)at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService。 <> Microsoft.Expression.DesignHost.Isolation.RemotingでMicrosoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.CallWithCancellation [TResult(CancellationToken cancelToken、Func`2のFUNC)でc__DisplayClass12.b__11(RemoteCancellationToken remoteToken)。 LocalDesignerService.Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner(IHostSourceItem アイテム、IHostTextEditorエディタ、CancellationToken cancelToken) Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)で

System.NullReferenceExceptionオブジェクト参照しませんインスタントに設定オブジェクトのce 。

サーバースタックトレース: Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalInで Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletionで(NestedCallContext nestedCallContext、BlockingCall呼び出し、WaitHandle timeoutSignal)( Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn [TResult(IRemoteObjectで Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn(IRemoteObject 対象物体、アクションアクション)で作用 作用、のInt32 targetApartmentId)targetObject、Func`1 func) System.Runtime.Remoting.Messagingでst.Isolation.Remoting.RemoteDesignerService.Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem remoteItem、IRemoteHostTextEditor remoteEditor、 IRemoteCancellationToken remoteToken)。StackBuilderSink._PrivateProcessMessage [0]に再スロー System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessageが MSG)

例外で(のIntPtr MDは、[]引数、オブジェクトのサーバ、[] & outArgsオブジェクトをオブジェクト) : System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage Microsoft.Expressionで System.Runtime.Remoting.Proxies.RealProxy.PrivateInvokeで(IMessageが reqMsg、IMessageがretMsg)(のMessageData & msgData、のInt32型)で。 DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem remot) eItem、IRemoteHostTextEditor remoteEditor、 IRemoteCancellationToken cancelToken)at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService。 <> c__DisplayClass8.b__6(IRemoteDesignerService d): Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler。オブジェクトのインスタンス に設定されていない<> c__DisplayClass4`2.b__3() でMicrosoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()

System.NullReferenceExceptionオブジェクト参照。 Microsoft.Expression.Platform.PlatformService.PlatformEntry.get_PlatformCreator() でMicrosoft.Expression.Platform.PlatformService.GetPlatformCreator(文字列 frameworkSpec)で Microsoft.Expression.Platform.PlatformService.IsCompatibleFramework(FrameworkName hostFramework、FrameworkName guestFrameworkで) Microsoft.Expression.DesignSurfaceで Microsoft.Expression.DesignSurface.Project.ProjectContextManager.GetSourceItemContext(IHostSourceItem sourceItem)で Microsoft.Expression.DesignSurface.Project.ProjectContextManager.GetProjectContext(IHostProject プロジェクト、IPlatformプラットフォーム、ブールが作成)で、 .DesignerService.CreateDesigner(IHostSourceIt内の アイテム、IHostTextEditorエディタ、CancellationToken cancelToken)で Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService。 <> c__DisplayClass10。 <> Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerServiceでMicrosoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.CallWithCancellation [TResult(IRemoteCancellationToken remoteToken、関数func2のFUNC)でc__DisplayClass12.b__f(CancellationToken cancelToken)。 <> c__DisplayClass10.b__e() at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler。 <> c__DisplayClass16`1.b__15() Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()あなたはプロジェクトに問題がある場合は、同じメッセージが表示されます

答えて

0

で(単に削除objフォルダ)またはVisual Studio自体を使用します。

VS2012のアップデート4があるかどうかを確認することをお勧めします。

また、仮想化を有効にしたプロセッサを使用することも忘れないでください。

関連する問題