While we build project it will automatically create App.Config file...
But in case when we are not using this .Config file, so is there any way to stop create App.Config file.
If the app has a configuration profile, delete it. Go to Settings > General > Profiles or Profiles & Device Management,* then tap the app's configuration profile. Then tap Delete Profile.
If you don't want to expose values, make sure you have an app. config with deployment values (empty, 0, or something). The values WILL be compiled into the DLL as default values.
Benefits of using AWS AppConfig For syntactic validation, you can use a JSON schema. AWS AppConfig validates your configuration by using the JSON schema to ensure that configuration changes adhere to the application requirements.
This file is located in the %runtime install path%\Config directory.
if you are not using it at all, just remove it from your project and it won't get created anymore.
If the selected answer doesn't work for you, i.e. App.Config
file still keeps getting created, then you likely have the Auto-generate binding redirects selected in your Project -> Properties.
In this case, you can uncheck and save this setting, and then remove the app.config
file ans save the project.
This solves the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With