使用到的库为:
Microsoft.Extensions.Configuration
Microsoft.Extensions.Configuration.Json

终端执行:

dotnet add Demo package Microsoft.Extensions.Configuration -v 2.2.0
dotnet add Demo package Microsoft.Extensions.Configuration.Json -v 2.2.0