Base solution for your next web application
Open Closed

Maui mobile app not starting #11654


User avatar
0
pliaspzero created

Hi, when I try to start MAUI mobile app -v12.1 - I get below error - how to get it up and running?

Web.Host>dotnet run --launch-profile Mobile The launch profile "Mobile" could not be applied. There is no launch profile with the name "Mobile" available.

thanks


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

    Hi,

    Could you open "Web.Host\Properties\launchSettings.json" and see if it contains Mobile profile ? You can also start the Host app with start-host-mobile.bat if you are using Windows.

  • User Avatar
    0
    pliaspzero created

    no there is no Mobile profile..

    also Host app with start-host-mobile.bat is not working

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @pliaspzero

    Are you able to run the Host project when you run start-host-mobile.bat ?