Aspnetcore: Naming a project "website-getdonet" causes ANCM to fail loading the app

Created on 25 Nov 2019  路  6Comments  路  Source: dotnet/aspnetcore

When I try this locally, here鈥檚 the application logs I see:

Application 'C:\Users\prkrishn\source\repos\website-getdotnet\website-getdotnet\' failed to start. Exception message:
Unable to find hostfxr directory at C:\Users\prkrishn\source\repos\website-getdotnet\website-getdotnet\bin\Debug\netcoreapp3.1\host\fxr
Failed to start application '/LM/W3SVC/2/ROOT', ErrorCode '0x8007023e'.

Different app:

Application 'C:\Users\prkrishn\source\repos\website-getdotne1\website-getdotne1\' started successfully.
area-servers good first issue help wanted servers-iis

Most helpful comment

Lol, do we have an EndsWith("dotnet") in there somewhere?

All 6 comments

Lol, do we have an EndsWith("dotnet") in there somewhere?

Sounds like it. We need to be a little cleverer and look at the trailing path.

However, no customers have reported this yet, so not the highest pri.

^ This one was customer reported, but I'd agree not the highest priority given it's fairly easy to run in to this.

Ah, thanks for the context :)

I think so

This was done! Thanks @newbienewbie

Was this page helpful?
0 / 5 - 0 ratings