I\'m trying to build my .NET Core app from the CLI using dotnet build, but every single time I get this error:
dotnet build
\'IConfigurationBuilder\' doe
I tried Microsoft.Extensions.Configuration.EnvironmentVariables but with no luck. I already had Microsoft.Extensions.Configuration from NuGet. I added Microsoft.Extensions.Configuration.UserSecrets and then it worked.