Build failing on .net Core app due to missing definition

You need the Microsoft.Extensions.Configuration namespace in scope to get that extension method. Either fully qualify it, or add this to the top of your file:

using Microsoft.Extensions.Configuration;

You also will need the NuGet reference Microsoft.Extensions.Configuration.EnvironmentVariables.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)