2014-05-23 101 views
0

XBAP下載的最後,我得到了下面的錯誤跟蹤。我已經試圖找出使用ProcmonVS2013-debugger缺少的東西。然而,我迄今沒有成功......任何提示?XBAP下載失敗,FileNotFoundException

ERROR DETAILS 
    Following errors were detected during this operation. 
    * [23.05.2014 12:55:03] System.IO.FileNotFoundException 
     - The system cannot find the file specified. (Exception from HRESULT: 0x80070002) 
     - Source: mscorlib 
     - Stack trace: 
      at System.Deployment.Internal.Isolation.IsolationInterop.CreateActContext(CreateActContextParameters& Params) 
      at System.Deployment.Internal.Isolation.IsolationInterop.CreateActContext(IDefinitionAppId AppId) 
      at System.ActivationContext.CreateFromName(ApplicationIdentity applicationIdentity) 
      at System.ActivationContext.CreatePartialActivationContext(ApplicationIdentity identity) 
      at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking) 
      at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker() 

在Fidder酒店我得到了下載的所有文件200S ...

回答

0

OK,這個問題是高速緩存大小是250MB的默認限制。這是我必須做的:

添加/更改HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment\OnlineAppQuotaInKB,這是一個DWORD值,表示高速緩存大小(以千字節爲單位)。例如,爲了將緩存大小增加到500MB,我將此值設置爲512000.