I've installed VS 2017 Preview and 2.1.300-preview2-008530 SDK. Now, in my Web Application project following sequence generates StackOverflowException:
var builder = new ConfigurationBuilder()
.SetBasePath(env.ContentRootPath)
.AddJsonFile("appsettings.json");
NET Core 2.1 Preview 2 Known Issues - does not contain anything related to my problem.
Add this package Microsoft.Extensions.Configuration.json
I ran into the same issue after upgrading to 2.1 and found this answer on microsoft online doc
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-2.1&tabs=basicconfiguration
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With