我出现此问题主要是appsetting.json 文件里面有多余的东西,配置不对,改一下就好了。
我也参考了其他的blog,大家可自行阅览
https://blog.csdn.net/qq_25042791/article/details/103055914
自己也是从下面这个网友中得到的答案:
Actually in my case, the problem was that appsettings.json was not formatted properly.
Win uses “\” as a dir separator so in path settings you’ll need to add “\” instead of \ and it will be Ok
种草,必坑呀各位!这个问题到此结束啦!