예외 형식 'System.IO.FileNotFoundException'의 첫 번째 예외가 mscorlib.dll에서 에 입력 'System.IO.IsolatedStorage.IsolatedStorageException'의 첫 번째 예외가 발생 mscorlib.dll에서 발생'System.IO.IsolatedStorage.IsolatedStorageException'의 원인은 무엇입니까?
public static IsolatedStorageSettings settings = IsolatedStorageSettings.ApplicationSettings;
private void GetScoreData()
{
if (settings.Contains(dataItem2.Name))
{
this.textBlock2.Text = settings[dataItem2.Name].ToString();
}
else
{
settings.Add(dataItem2.Name, "N/A");
this.textBlock2.Text = "N/A";
}
settings.Save();
}
이제 다른 페이지
제가
이ScorePage.settings [ "있는 MyKey을"= moves.ToString()을 수행하여 그 값을 갱신하고 단계;
그래서 에뮬레이터를 다시 시작하고 내 프로젝트를 실행할 때마다 예외가 발생합니다. 어떤 이유로 든 ?
예외 메시지는 어떻습니까? –