none
关于wp8.1 下使用htmlagilitypack RRS feed

  • 问题

  • 最近想做个应用,需要解析html页面的标签内容,网上找资料说可以用 WINRT版本的  htmlagilitypack.dll

    但是我现在发现当用release版本部署到手机的时候会报错,不知道这是什么问题,哪位大神看看这个怎么解决,错误提示和文件里的内容是这样的

    

    Error: Compile filter argument specified non-existent file: C:\Users\飒飒\documents\visual studio 2013\Projects\MicroStoreApp\abc\obj\Release\MSIL\lib\HtmlAgilityPack.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.

    2014年8月4日 15:01

全部回复

  • 你好,

    这个问题在Debug环境下是OK的吗?

    建议提供一下代码,这样方便社区成员去还原这个问题。另外可以到 http://htmlagilitypack.codeplex.com/ 上面提问,这个库是他们维护的,上面的社区成员对这个了解的更透彻。

    谢谢!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2014年8月6日 3:21
    版主
  • debug环境下是可以的
    2014年8月6日 8:34