My.Settings Error 82 Reference to a non-shared member requires an object reference

The specific error generated is "Error 82 Reference to a non-shared member requires an object reference." I was editing app.config to change values of my.settings for appropriate debugging, and now none of my settings can be referanced, and are completely messed up. I get a blue squiggly line calling me a retard at every referance I had to a setting before this. Any help in this matter is greatly appreciated.

Answer this question

My.Settings Error 82 Reference to a non-shared member requires an object reference

  • Ross B.

    Did you solve this problem If so how I've got the same problem, only without editing the app.config. It was all fine, then blue lines come up and nothing is working :(
  • Sergey424701

    I would recommend phrasing your questions more appropriately. Talking about retards is not so appropriate in my opinion. The error you are reporting says that you are trying to use an object that has not been instantiated. Perhaps you should show an example.

  • ChecMate

    If you click on the "Show all files" button in solution explorer and navigate down into the My Project -> settings.settings -> settings.vb, what does the content of this file look like And were there *only* changes to the app.config file that caused this

    Best regards,
    Johan Stenberg



  • My.Settings Error 82 Reference to a non-shared member requires an object reference