Reputation: 90603
File.Exists(AppDomain.CurrentDomain.SetupInformation.ConfigurationFile)
is false.
How to make it true?
Upvotes: 2
Views: 256
Reputation: 40160
The Configuration file and the Settings are not the same thing. The configuration file is the one named [Appname].exe.config
that should be in the same location as the application.
The settings are stored in the user store separately, and I'm not aware of any method to check if they exist by a file name anyway.
Upvotes: 2