Base solution for your next web application
Open Closed

MAUI program has no suitable entry point in version 13.3.0 #12116


User avatar
0
drutter1954 created

I downloaded the 13.3.0 release and tried to run the new MAUI project as it is fresh from the download. I am getting the error: Program does not contain a static 'Main' method suitable for an entry point

The MAUI project from 13.2.0 compiles fine. Please advise.


1 Answer(s)
  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @drutter1954,

    Thanks for reporting. We will fix it on the website side.

    To fix this update *.Maui.csproj in your current project,

    <TargetFramework>net8.0</TargetFramework>

    to

    <TargetFrameworks>net8.0-android;net8.0-ios;</TargetFrameworks>