C# – Properties does not exist in the current context

c++wpf

I have to store some strings in the Settings file of my project. However, I am not able to access the Settings file to store the strings.

I definitely have accessed Properties file in an earlier project without facing any problems to store values.

Properties.Settings.Default.test = ...
MyApp.Properties.Settings.Default.test = ...

But here in the current project, I am constantly being driven mad by getting the Properties does not exist in the current context
Is there any setting or something that has changed because of which Properties does not appear in Intellisense?

Best Solution

I had this same problem occur when I had been copying and pasting code for plug-ins. It turns out that I had accidentally left the namespace of the other project in place when I copied. By changing the namespace back to the appropriate project, I was able to use the Properties.