VS2015中的XAML设计器问题

时间:2018-05-26 09:49:51

标签: visual-studio

大家好抱歉我的英语我是意大利语,我在2015年视觉工作室的设计师身上遇到了2周的问题,我在windows10平台上用Windows Basic 8.1应用程序编程,设计师向我展示了以下内容错误,我找不到解决方案,当我创建一个新的Windows Phone 8.1应用程序空(没有silverlight)时出现此问题,而对于设计师工作的所有其他应用程序。 我注意到此类应用程序的XDesProc.exe无法启动,而它存在于所有其他应用程序中 谢谢你的帮助

Windows.UI.Xaml.Markup.XamlParseException
XAML parsing failed.
   at Windows.UI.Xaml.Application.LoadComponent(Object component, Uri resourceLocator)
   at Microsoft.VisualStudio.DesignTools.WindowsPhoneXamlDesigner.InstanceBuilders.StatusBarStandIn..ctor()
   at Microsoft.VisualStudio.DesignTools.WindowsPhoneXamlDesigner.InstanceBuilders.WindowsXamlPhoneOverlayLayer..ctor()
   at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.Views.WindowsXamlPhoneImageHost.WindowsXamlPhoneSceneWrapper.CreateOverlayLayer()
   at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.Views.WindowsUIXamlImageHost.WindowsXamlSceneWrapper..ctor()
   at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.Views.WindowsXamlPhoneImageHost.CreateSceneWrapper()
   at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.Views.WindowsUIXamlImageHost.get_RootInstanceWrapper()
   at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.Views.WindowsUIXamlImageHost.get_OverlayLayer()
   at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.Views.WindowsXamlSceneView.get_OverlayLayer()
   at Microsoft.VisualStudio.DesignTools.WindowsPhoneXamlDesigner.UI.PlatformPane.WindowsXamlPhonePlatformPaneModel.UpdateStatusBarVisibility()
   at Microsoft.VisualStudio.DesignTools.Designer.UI.PlatformPane.PlatformPaneModel.set_SceneViewContract(SceneViewContract value)
   at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.UI.PlatformPane.WindowsUIXamlPlatformPaneModel.UpdateContract()
   at Microsoft.VisualStudio.DesignTools.WindowsXamlDesigner.UI.PlatformPane.WindowsUIXamlPlatformPaneModel.OnSubscriptionBasisNodeInserted(SceneNode newBasisNode, DocumentNode basisContent)
   at Microsoft.VisualStudio.DesignTools.Designer.UI.PlatformPane.PlatformPaneModel.Subscription_BasisNodeInserted(Object sender, SceneNode newBasisNode, DocumentNode basisContent)
   at Microsoft.VisualStudio.DesignTools.Designer.ViewModel.SceneNodeSubscription`2.OnBasisNodeInserted(BasisNodeHolder holder)
   at Microsoft.VisualStudio.DesignTools.Designer.ViewModel.SceneNodeSubscription`2.SetBasisNodesWorker(SceneViewModel viewModel, DocumentNodeMarkerSortedListOf`1 newBasisNodeList)
   at Microsoft.VisualStudio.DesignTools.Designer.ViewModel.SceneNodeSubscription`2.SetBasisNodes(SceneViewModel viewModel, IEnumerable`1 basisNodes)
   at Microsoft.VisualStudio.DesignTools.Designer.UI.PlatformPane.PlatformPaneModel.set_ActiveView(IDeviceOptionsView value)
   at Microsoft.VisualStudio.DesignTools.Designer.UI.PlatformPane.PlatformPaneService.GetModel(SceneView sceneView, Boolean setActiveView)
   at Microsoft.VisualStudio.DesignTools.Designer.UI.PlatformPane.PlatformPaneService.UpdateActiveModel(SceneView view)
   at Microsoft.VisualStudio.DesignTools.Designer.UI.PlatformPane.PlatformPaneService.DocumentViewContext_ActiveViewChanged(Object sender, ViewChangedEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Microsoft.VisualStudio.DesignTools.Designer.DocumentViewContext.OnActiveViewChanged(ViewChangedEventArgs e)
   at Microsoft.VisualStudio.DesignTools.Designer.DocumentViewContext.SetActiveDocumentAndView(SceneView view, Item item, HostViewEventArgs e)
   at Microsoft.VisualStudio.DesignTools.Designer.DocumentViewContext.SetActiveView(SceneView view, HostViewEventArgs e)
   at Microsoft.VisualStudio.DesignTools.Designer.DocumentViewContext.CreateAndOpenViewInternal(SceneDocument document, CancellationToken cancelToken, Boolean activate, Boolean ensureOpenInHost)
   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()

>Windows.UI.Xaml.Markup.XamlParseException
XAML parsing failed.

>Server stack trace: 
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.MarshalInSynchronous(Action action, Int32 targetApartmentId, CancellationToken cancelToken, CallModality callModality, String methodName, String filePath, Int32 lineNumber)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.MarshalIn(Action action, Int32 targetApartmentId, CancellationToken cancelToken, CallSynchronizationMode syncMode, CallModality callModality, String methodName, String filePath, Int32 lineNumber)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.ThreadMarshaler.MarshalIn(IRemoteObject targetObject, Action action, CancellationToken cancelToken, CallSynchronizationMode syncMode, CallModality callModality, ApartmentState apartmentState, String memberName, String filePath, Int32 lineNumber)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.RemoteDesignerService.MarshalInWithCancellation[TResult](IRemoteCancellationToken remoteToken, Func`2 func, ApartmentState apartmentState)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.RemoteDesignerService.Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostProject remoteProject, IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor, IRemoteCancellationToken remoteToken)
   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]: 
   in System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   in System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostProject remoteProject, IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor, IRemoteCancellationToken cancelToken)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.LocalDesignerService.CreateDesignerImpl(IRemoteDesignerService ds, IHostSourceItem item, IHostTextEditor editor, RemoteCancellationToken remoteCancelToken)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.LocalDesignerService.<>c__DisplayClass14_0.<Microsoft.VisualStudio.DesignTools.DesignerContract.IDesignerService.CreateDesigner>b__0(IRemoteDesignerService ds, RemoteCancellationToken remoteToken)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.LocalDesignerService.<>c__DisplayClass5_0`1.<MarshalOutWithCancellation>b__0(IRemoteDesignerService ds)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass29_0`1.<MarshalOut>b__0()
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()

Windows.UI.Xaml.Markup.XamlParseException
XAML parsing failed.
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.MarshalOutSynchronous(Action action, Int32 targetApartmentId, WaitHandle aborted, WaitHandle timeoutSignal, CancellationToken cancelToken, String methodName, String filePath, Int32 lineNumber)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.MarshalOut(Action action, Int32 targetApartmentId, WaitHandle aborted, CancellationToken cancelToken, CallSynchronizationMode syncMode, WaitHandle timeoutSignal, String methodName, String filePath, Int32 lineNumber)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle`1 targetObject, Action action, CancellationToken cancelToken, CallSynchronizationMode syncMode, ApartmentState apartmentState, String methodName, String filePath, Int32 lineNumber)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle`1 targetObject, Action`1 action, CancellationToken cancelToken, CallSynchronizationMode syncMode, ApartmentState apartmentState, String methodName, String filePath, Int32 lineNumber)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.LocalDesignerService.MarshalOutWithCancellation[TResult](CancellationToken cancelToken, Func`3 func, ApartmentState apartmentState)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.LocalDesignerService.Microsoft.VisualStudio.DesignTools.DesignerContract.IDesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken)
   in Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)

0 个答案:

没有答案