Build failing on .net Core app due to missing definition

前端 未结 3 2137
别跟我提以往
别跟我提以往 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 14:53

    The correct package to add for .AddEnvironmentVariables() is Microsoft.Extensions.Configuration.EnvironmentVariables

提交回复
热议问题