Build failing on .net Core app due to missing definition

前端 未结 3 2143
别跟我提以往
别跟我提以往 2021-02-18 14:27

I\'m trying to build my .NET Core app from the CLI using dotnet build, but every single time I get this error:

\'IConfigurationBuilder\' doe

3条回答
  •  春和景丽
    2021-02-18 15:09

    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.

提交回复
热议问题