Ms visual studio 2017, updated .net frameworks (ms studio 2017 v15.9.31) .NET framework v4.8
The Solution won´t run. The IDE is marking CreateWebHostBuilder, and showing error: Could not parse the JSON file. But the Json launchsettings doesn´t seem to be the problem.
The full detailed error:
{System.FormatException: Could not parse the JSON file. Error on line number '2': '{ {'. --->
Newtonsoft.Json.JsonReaderException: Invalid property identifier character: {. Path '', line 2, position 4. at Newtonsoft.Json.JsonTextReader.ParseProperty() at Newtonsoft.Json.JsonTextReader.ParseObject() at Newtonsoft.Json.JsonTextReader.Read() at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options) at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader) at Microsoft.Extensions.Configuration.Json.JsonConfigurationFileParser.ParseStream(Stream input) at Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider.Load(Stream stream) --- End of inner exception stack trace --- at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload) at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load() at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers) at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build() at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors) at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build() at LinkdinAuth.Program.Main(String[] args)
in C:\Users.....\LinkdinAuth\Program.cs:line 17}
Thanks for anyone who has the time to help me.