代码之家  ›  专栏  ›  技术社区  ›  Greg Finzer

Silverlight with Visual Studio 2010独立存储错误

  •  3
  • Greg Finzer  · 技术社区  · 16 年前

    在VS2010中运行Silverlight单元测试项目时,尝试访问隔离存储时出错。

    System.IO.IsolatedStorage.IsolatedStorage异常:无法确定调用方的应用程序标识。

    1 回复  |  直到 16 年前
        1
  •  0
  •   Matt F    16 年前

    如果类库没有实际的主机,那么单元测试将无法确定应用程序存储,因为没有实际的应用程序。

    当从Silverlight应用程序引用时,代码是否工作? 如果是的话,我建议是上面的。