私のアプリケーションでは、hereのようなユーザー設定を使用しています。 次に、VS 2010で.NET 4.0を使用していて、.NET 2.0で十分であることに気付きました。プロジェクトのターゲットフレームワークを変更した後のアプリケーション設定エラー
私はフレームワークを変更し、私は今の設定にアクセスするたびに私のコードでは、プロジェクトをビルドするとき、私は次のエラーを取得する:
An error occurred creating the configuration section handler for userSettings/Vegi_Manager.Properties.Settings: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\Users\AKSHAY\AppData\Local\Microsoft\Vegi-Manager.vshost.exe_Url_44035dlkzpfaaauiqsd4nh3f0l0yq0tv\1.0.0.0\user.config line 5)
これは、バージョン4.0を使用して未知の理由のためです。 どうすればよいかお勧めします。
私はこれを私のapp.configに持っていました:sectionGroup name = "userSettings" type = "System.Configuration.UserSettingsGroup、System、Version = 4.0.0.0、Culture =ニュートラル、PublicKeyToken = b77a5c561934e089" –
@ V4Vendetta私は私が2を変更すると、バージョン2が表示されます。ファイルまたはアセンブリ 'System、Version = 2.0.0.0、Culture = neutral、PublicKeyToken = b77a5c561934e089'をロードできませんでした。 – Manoj