You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.
More discussion on this issue can be found here: https://github.com/aspnet/Configuration/issues/745
The "name" attribute feels like a workaround, and a rather poorly documented one too. Other than having to do some work, I see no reason to not support simple repeated XML elements.
From @sandersaares on February 1, 2018 10:4
I haven an appsettings.xml file with the following structure:
I wish to load this using the XML configuration loading pattern documented at https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?tabs=basicconfiguration
Expected behavior: a list is loaded, accessible as
aaa:0
andaaa:1
Actual behavior: System.FormatException occurred, Message=A duplicate key 'aaa' was found.
Copied from original issue: dotnet/aspnetcore#2842
The text was updated successfully, but these errors were encountered: