【发布时间】:2010-10-18 19:35:38
【问题描述】:
我一直在尝试在 Silverlight 和 XNA 之间移植一些 Windows Phone 7 代码,它依赖于 IsolatedStorageSettings,但我无法让 Visual Studio 解决它。当我查看 Intellisense 在 System.IO.IsolatedStorage 下解决的问题时,它列出了 IsolatedStorageFile、IsolatedStorageException 和 IsolatedStorageStream。
文档说受支持的版本适用于 Silverlight,但我不明白为什么我会因为项目类型而看到差异。
谢谢
【问题讨论】:
-
您是否添加了对 System.Windows.dll 的引用?这就是定义 IsolatedStorage 类型的地方。
-
不,我没有提到那个。我认为它不需要它,因为我能够在没有它的情况下解析该名称空间下的其他项目。谢谢。
标签: xna windows-phone-7 isolatedstorage