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.
Install .Net Core 2.2 run-time bundle on hosting machine.
Or
Publish your project as self-contained.