【问题标题】:Assembly loading problems when using Newtonsoft.Json.WindowsPhone.dll in my project在我的项目中使用 Newtonsoft.Json.WindowsPhone.dll 时的程序集加载问题
【发布时间】:2012-04-21 22:00:07
【问题描述】:

错误 2 无法加载程序集 file:///C:\Users\Jitendra\Downloads\Json40r1\Bin\WindowsPhone\Newtonsoft.Json.WindowsPhone.dll。 此程序集可能已从 Web 下载。如果一个组件 已从 Web 下载,它被 Windows 标记为 Web 文件,即使它位于本地计算机上。这可能会阻止 它不会在您的项目中使用。您可以通过以下方式更改此名称 更改文件属性。仅取消阻止您信任的程序集。 更多信息请见http://go.microsoft.com/fwlink/?LinkId=179545 信息。

添加 newtonsoft.Json.dll 后,我在 windows phone 7 中收到这样的错误

我怎样才能克服这个问题。?

谢谢。

【问题讨论】:

    标签: windows-phone-7 json.net


    【解决方案1】:

    转到:C:\Users\Jitendra\Downloads\Json40r1\Bin\WindowsPhone

    右击“Newtonsoft.Json.WindowsPhone.dll”

    选择“属性”

    查找并按“解锁”(应该出现在“常规”选项卡中)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-05-03
      • 2016-01-10
      • 1970-01-01
      相关资源
      最近更新 更多