Hey,
Has anyone experienced this before? I am deploying an ASP.Net Core MVC 6 web app. Right now I am getting this error. It relates to my startup method. Ive check online and I have everything as it needs to be. I have added it to my publishOptions in my program.json, and I have a set base in my method as well.
public Startup(IHostingEnvironment environment)
{
var builder = new ConfigurationBuilder()
.SetBasePath(environment.ContentRootPath)
.AddJsonFile("TestJson.json");
Configuration = builder.Build();
}
If you have any suggestions please let me know!! Ive been struggling with this for a few weeks now.
#1 Posted by rune Support staff on 08 Sep, 2017 03:02 AM
Hi,
I've followed up in this related discussion and will close this one for now!
Best,
Rune
rune closed this discussion on 08 Sep, 2017 03:02 AM.