I'm getting the following error on my ASP.NET Core 3.1 site:
"The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app. "
The site is just following the Microsoft tutorial at http://docs.microsoft.com/en-us/aspnet/core//ef-rp/intro?view=aspnetcore-3.1&tabs=visual-studio - https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-3.1&tabs=visual-studio
I have set "ASPNETCORE_ENVIRONMENT": "Production" in launchSettings.json...so not sure where else I need to set this or if that is the real problem. Any ideas?
See http://parakeetbay.com/Students - http://parakeetbay.com/Students