settings.settings または app.config から文字列を読み込む必要がある .Net 3.5 アプリケーションがあります。ConfigurationManager への参照があることを確認しましたが、フォーム ロード値からの非常に単純な呼び出しで null が返されます。
コードは次のとおりです。
void LoadSettings()
{
// I expect to get from my app.config or settings.settings
// Settings file set to application, public
m_connStr = System.Configuration.ConfigurationManager.AppSettings["somestring"];
// m_connStr is getting Null. I tried .ToString(); That throws a null exception.
}