В моей новой панели я установил
AutoMapper v7.0.1
AutoMapper.extensions.microsoft.dependencyinjection v5.0.1
В моем Startup.cs,
Я добавил
Services.AddAutoMapper ();
но компилятор выдает
Severity Code Description Project File Line Suppression State
Error CS1061 'IServiceCollection' does not contain a definition for 'AddAutoMapper' and no accessible extension method 'AddAutoMapper' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?) OPEApiService J:\Projects\OPEApiService\OPEApiService\Startup.cs 58 Active
Я попытался очистить, восстановить, закрыть и снова открыть VS.
Любая помощь приветствуется.
Спасибо