Jader Dias
Jader Dias

Reputation: 90603

How to create the settings file from default options?

File.Exists(AppDomain.CurrentDomain.SetupInformation.ConfigurationFile) is false.

How to make it true?

Upvotes: 2

Views: 256

Answers (1)

Andrew Barber
Andrew Barber

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

Related Questions