Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Improvement) Guidance 2022.2.1.9 17/10/2022: Keep comments when modifying the .json files #64

Open
vvdb-architecture opened this issue Oct 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@vvdb-architecture
Copy link
Contributor

Comments in appsettings.[Environment].json are not kept when certain operations are executed.
Steps to reproduce:

  • Edit appsettings.Localhost.json in your service, and add a comment. For example
 /* Review these memory settings after adding feature whatchamacallit */
  "Memory.Settings": {
    "SizeLimitInMegaBytes": "10"
  },
  • Right click on the service host, and select "Add a service account".
  • View the appsettings.Localhost.json file: the service account has been added but the comment has disappeared.
@rdarko rdarko added the bug Something isn't working label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants