Open Closed

Version 11.0 Web.Host start error #10786


0
hypernetbilisim created

ANZ version 11.0 angular/.NET Core

I get the following error when Web.host runs. The view 'Login' was not found. The following locations were searched:

But the swager is working.


5 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @hypernetbilisim

    We couldn't reproduce this problem.

    • Did you select "Single Solution" option while downloading your project ?

    • Could you check if you have Login view under "Views/UI/" folder ?

  • 0
    hypernetbilisim created

    Hi

    we used multiple solution and available on the login view

  • 0
    ismcagdas created
    Support Team

    Hi,

    Is it possible for you to share the project with info@aspnetzero.com ? We may reproduce this problem on your solution.

    Thanks,

  • 0
    hypernetbilisim created

    To fix the problem:

    Inside the Startup.cs in the Web.Host project

    change

    Reference : https://docs.microsoft.com/en-us/aspnet/core/mvc/views/view-compilation?view=aspnetcore-6.0&tabs=visual-studio

  • 0
    musa.demir created
    Support Team

    Thanks hypernetbilisim

    The issue has been created after our meeting. https://github.com/aspnetzero/aspnet-zero-core/issues/4167