5
我一直在嘗試移植Silverlight到XNA之間的一些Windows Phone 7代碼,它依賴於IsolatedStorageSettings,但我無法讓Visual Studio解決它。當我看看什麼Intellisense解決System.IO.IsolatedStorage &它列出IsolatedStorageFile IsolatedStorageException & IsolatedStorageStream。XNA遊戲可以使用WP7的IsolatedStorageSettings嗎?
該文檔說明受支持的版本適用於Silverlight,但我不明白爲什麼我會因爲項目類型而看到差異。
感謝
您是否添加了對System.Windows.dll的引用?這就是IsolatedStorage類型定義的地方。 – driis 2010-10-18 19:48:33
不,我沒有提及這一點。我認爲它並不需要它,因爲我能夠在沒有它的情況下解析該命名空間下的其他項目。謝謝。 – 2010-10-18 20:11:50