Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Error Loading MAUI project #11694


User avatar
0
alliance225 created

Hello, I get these two errors even with fresh downloads:

Severity Code Description Project File Line Suppression State Error CS0103 The name 'abpHttpClientFactory' does not exist in the current context DocuPro.Mobile.MAUI C:\Users\hp\OneDrive\Visual Studio Apps 2\DocuProV10\src\DocuPro.Mobile.MAUI\Shared\Layout\MainLayout.razor.cs 122 Active

Severity Code Description Project File Line Suppression State Error CS5001 Program does not contain a static 'Main' method suitable for an entry point DocuPro.Mobile.MAUI C:\Users\hp\OneDrive\Visual Studio Apps 2\DocuProV10\src\DocuPro.Mobile.MAUI\CSC 1 Active


6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Did you make necessary installations explaiend here https://learn.microsoft.com/en-us/dotnet/maui/get-started/installation?tabs=vswin ?

  • User Avatar
    0
    alliance225 created

    Hello, yes I did. In fact i am able to create MAUI applications.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @alliance225

    Did you accidentally close the solution or did you solve the problem ?

  • User Avatar
    0
    alliance225 created

    No I did not solve the problem. Did you mean if I accidentally closed the "incident"? No i dit not.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Somehow the issue was closed. Could you close the Visual Studio, run dotnet workload install wasm-tools, then open the Visual Studio and see if it works ?

  • User Avatar
    0
    alliance225 created

    Yes, that did it. Thanks