私はWindows Phone用のVS2010にSilverlightピボットアプリを書いています。私はmsdn hereからサンプルコードを追加しました。今度はデザイナーをリロードするたびに例外が発生します:発信者のアプリケーションIDを特定できませんか?
発信者のアプリケーションIDを特定できません。 System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorageScopeスコープ、タイプapplicationEvidenceType)でSystem.IO.IsolatedStorage.IsolatedStorage.InitStore(IsolatedStorageScopeスコープ、タイプappEvidenceType)で
System.IOでCで.IsolatedStorage.IsolatedStorageSettings.get_ApplicationSettings(SettingsSample.AppSettings..ctorで) ():.. \ Settings.cs:ライン34
これは、Visual Studio /のWindows Phone SDKのバグですか?
これは34行で、コンストラクタのコードです:
public AppSettings()
{
// Get the settings for this application.
try
{
settings = IsolatedStorageSettings.ApplicationSettings;
}
catch (System.Exception ex)
{
MessageBox.Show(ex.Message);
}
}
私は何が起こっていたか見るためのtry-catchを追加しました。
Visual Studio(呼び出し元)がコードを実行しようとしていますが、アプリケーション(アプリケーションID)が関連付けられていないと思われます。多分?
どのような考えですか?
パーフェクトありがとう! – Lemontongs