opened
shellicar
username_0
### Describe the bug
ASP.NET Core project targeting .net framework doesn't start when hosted by IIS with InProcess hosting model.

### To Reproduce
Steps to reproduce the behavior:
1. Using ASP.NET Core 2.2
2. Create new "ASP.NET Core Web Application" targeting ".NET Framework"
3. Specify InProcess hosting model.
4. Host using IIS.
5. Browse to website.
6. Receive error: "HTTP Error 500.0 - ANCM In-Process Handler Load Failure"

### Expected behavior
Either application displays, or a clear error indicating the issue.

### Screenshots
error on browsing
![image](https://user-images.githubusercontent.com/20881638/52091763-a8333480-2609-11e9-91a3-63e6539f55a2.png)

ancm debug log
![image](https://user-images.githubusercontent.com/20881638/52091786-b84b1400-2609-11e9-94a7-b84af4dbdc15.png)

web.config
![image](https://user-images.githubusercontent.com/20881638/52091822-d153c500-2609-11e9-99fb-83796cd98f75.png)

IIS version
![image](https://user-images.githubusercontent.com/20881638/52092144-c188b080-260a-11e9-9a14-9ffc3b8710b6.png)


### Additional context
I have only run into this issue with projects with TargetFramework of net461.
Other projects targeting netcoreapp2.2 work fine.
Can't host ASP.NET 2.2 Core project targeting net461 with InProcess
issue
created
vovikdrg
username_1
Not supported.
comment
created
vovikdrg
username_1
https://stackoverflow.com/questions/54109762/aspnetcore-2-2-targetting-net-framework-inprocess-fails-on-azure-app-service-w/54119290#54119290
comment
created
vovikdrg
username_1
https://docs.microsoft.com/en-us/aspnet/core/migration/21-to-22?view=aspnetcore-2.2&tabs=visual-studio
comment
created
shellicar
username_0
I would expect an error when publishing then, as it should be obvious that it wouldn't work at that point.
comment