原因:有可能是生成的bin或者debug文件夹下没有将appsetting.json或者appsettings.Production.json文件生成过去
解决方法:手动拷贝过去,或者设置成自动生成过去
注:我是在用abp core框架时遇到过这种情况,不知asp.net core中有没有这个问题,能否这样解决