I used angular .net core 2.2 template to build application.In localhost working fine,When i host to IIS Im getting this error.Im using IIS 10 to host the application.
the best solution for when hosting has this problem is to override this value inside project.csproj file for release version.
notice when use legacy version of module in new version of visual studio debugger not work.
so the best solution is this .