0

我正要以其便携一起更新现有Windows 8.1中普遍应用到VS2015 projects.But失败下面的错误升级项目从VS 2013年至2015年VS Windows 8.1中普遍应用

"Error : DEP6810 : MdilXapCompile.exe failed with error code 1004. See log file 'C:\xxx\xxx.WindowsPhone\obj\ARM\Debug\MDIL\MDILXapCompileLog.txt' for more details" 

日志文件内容

Error: Compile filter argument specified non-existent file: C:\xxx\xxx\xxx.WindowsPhone\obj\ARM\Debug\MSIL\PhoneLibrary\Microsoft.SharePoint.Client.Portable.dll 
Invalid argument 

Microsoft (R) MDIL XAP Compiler - Version 4.0.0.0 
Copyright (c) Microsoft Corporation. All rights reserved. 

Usage: MDILXAPCompile /In:<InputPath> /Out:<OutputPath> /Config:<ConfigPath> [/CompileFilter:<Assembly Path>;<Assembly Path>] [/Timeout:<Timeout>] [/Log:<LogPath>] [/AppX] 

/In  - Path to directory containing files to process 
/Out  - Path to directory to place processed files in 
/Config  - Path to configuration file 
/CompileFilter - Optional restrictive list of assembly files in InputPath, 
      separated by semi-colons, to be compiled. 
/Timeout - Optional timeout in milliseconds before killing the Crossgen process. Overrides config file timeout value. Use -1 for infinite timeout, 0 for application default (2 hours). 
/Log  - Optional path to log file 
/AppX  - Specifies that assemblies correspond to an AppX package 

Relative paths are relative to this executable's directory. 

我只得到这个错误,当我调试的项目,但它工作正常,当我生成包,并将其部署到设备。

答案是非常感谢。

回答

0

我解决了这个问题。但可能不是直接的方式。它很奇怪。

我从应用程序内的文件夹(名为PhoneLibrary)中引用了我的dll。根据日志文件位置“C:\ xxx \ xxx \ xxx.WindowsPhone \ obj \ ARM \ Debug \ MSIL \ PhoneLibrary \ Microsoft.SharePoint.Client.Portable.dll”,它无法创建文件夹。

所以我只是在该位置创建文件夹,并复制我的dll在该文件夹中,并工作得很好。