Could not parse the JSON file ,Error in Progam.cs asp.net core

后端 未结 11 1058
星月不相逢
星月不相逢 2021-02-07 19:42

I have some issues with the program.cs file, with the version of ASP.NetCORE 2.0

Here\'s my code

     public class Program
{
    public static void Main(st         


        
11条回答
  •  终归单人心
    2021-02-07 20:34

    In my case I had faced this issue as I had added User Secret to my solution and later removed all of its content including { }. Please make sure the content in the file is with proper JSON format. Or try providing an empty object { } to the file if no information needed from it.

提交回复
热议问题