System.IO.FileNotFoundException - Blend和XAML Design视图 [英] System.IO.FileNotFoundException - Blend and XAML Design view

查看:85
本文介绍了System.IO.FileNotFoundException - Blend和XAML Design视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

前一天刚刚安装了Win8和Express 2012。今天早上重新启动计算机后,即使重新安装Visual Studio Express 2012 for Windows 8,XAML Designer视图也会出现错误消息"System.IO.FileNotFoundException"。

Just installed Win8 and Express 2012 a day ago. After restarting computer this morning, XAML Designer view got crashed with an error message 'System.IO.FileNotFoundException', even after reinstalling Visual Studio Express 2012 for Windows 8.

问题还可以通过'XAML WebView控件样本'从
再现

This problem can also be reproduced with 'XAML WebView control sample' from

http://code.msdn.microsoft.com/windowsapps/XAML-WebView-control-sample-58ad63f7

即使Blend不工作,也可以构建和运行样本。

The sample can be built and run, even though the Blend is not working.

以下是详细错误消息。 

Here are the detail error msg. 

 

System.IO.FileNotFoundException

System.IO.FileNotFoundException

系统无法找到指定的文件。 (HRESULT异常:0x80070002)

The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

  在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.MarshalOut [TValue](RemoteHandle`1 targetObject,Action action,
CallSynchronizationMode syncMode)  在Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut [TResult,TValue](RemoteHandle`1 targetObject,Func`2 func,CallSynchronizationMode syncMode)  在Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.CreateDesignerImpl(IHostSourceItem
item,IHostTextEditor editor,RemoteCancellationToken remoteCancelToken)  在Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService。<> c__DisplayClass12。< Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner> b__11(RemoteCancellationToken
remoteToken)  在Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.CallWithCancellation [TResult](CancellationToken cancelToken,Func`2 func)  在Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner(IHostSourceItem
item,IHostTextEditor editor,CancellationToken cancelToken)  在Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)

System.IO.FileNotFoundException

System.IO.FileNotFoundException

系统找不到指定的文件。 (HRESULT异常:0x80070002)

The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

服务器堆栈跟踪:   在Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext,
BlockingCall call,WaitHandle timeoutSignal)  在Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalIn(Action action,Int32 targetApartmentId)  在Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn(IRemoteObject
targetObject,Action action)  在Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn [TResult](IRemoteObject targetObject,Func`1 func)  在Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem
remoteItem,IRemoteHostTextEditor remoteEditor,IRemoteCancellationToken remoteToken)  在System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md,Object [] args,Object server,Object []& outArgs)  在System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg)在[0]处重新抛出异常:   在System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg)  在System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData,Int32 type)  
at Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem remoteItem,IRemoteHostTextEditor remoteEditor,IRemoteCancellationToken cancelToken)  在Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService。<> c__DisplayClass8。< CreateDesignerImpl> b__6(IRemoteDesignerService
d)  在Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler。<> c__DisplayClass4`2。< MarshalOut> b__3()  在Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()

System.IO.FileNotFoundException

System.IO.FileNotFoundException

系统找不到指定的文件。 (HRESULT异常:0x80070002)

The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

  在Windows.Foundation.IAsyncOperation`1.GetResults()  在Microsoft.Expression.WindowsXamlPlatform.Host.RuntimeResourceManager.GetStorageFileForPath(String
indexPath)    at Microsoft.Expression.WindowsXamlPlatform.Host.RuntimeResourceManager.ProcessIndexUpdates()  在Microsoft.Expression.WindowsXamlPlatform.Host.RuntimeResourceManager.OnNewIndex(String newFileName,String newResourceMapName)  
at Microsoft.Expression.WindowsXamlPlatform.Host.XamlUIPresenterHostServices.OnResourceIndexUpdated(HostResourceIndexUpdatedEventArgs args)  在Microsoft.Expression.WindowsXamlPlatform.Host.WindowsUIXamlResourceIndexProvider.OnResourceIndexUpdated(EventArgs
args)  在Microsoft.Expression.DesignSurface.DesignerService.CreateDesigner(IHostSourceItem项目,IHostTextEditor编辑器,CancellationToken cancelToken)  在Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService。<> c__DisplayClass10。<> c__DisplayClass12。< Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner> b__f(CancellationToken
cancelToken) &NBSP;&NBSP;在Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.CallWithCancellation [TResult](IRemoteCancellationToken remoteToken,Func`2 func)  在Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService。<> c__DisplayClass10。< Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner> b__e()  
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler。<> c__DisplayClass16`1。< MarshalIn> b__15()  在Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()

 

推荐答案

我很乐意提供帮助,但需要更多信息。您可以通过Microsoft dot com的unnir离线与我联系吗?

I would love to help, but will need more information. Can you get in touch with me offline at unnir at Microsoft dot com?


这篇关于System.IO.FileNotFoundException - Blend和XAML Design视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆