Project must be deployed before it can be started

JohnMobleyIIIJohnMobleyIII USMember, University
edited August 2017 in Visual Studio

I'm using Visual Studio 2013 and I'm trying to run the Xamarin store app for the Android project side and I receive the message:

The project XamarinStore.Droid needs to be deployed before it can be started.
Verify the project is select to be deployed in the Solution Configuration Manager.

I'm using the Xamarin Android Player for an emulator. Is this the recommended practice? All examples I see always shows "Mixed Platforms" when debugging.

Best Answer


  • MihaMarkicMihaMarkic SI ✭✭✭✭

    Important is that you check deploy in configuration settings for the android project and all the project involved as build. platform opting gives you different configuration combinations.

  • hucongyuhucongyu CNMember

    can you give me more detail? thanks.

  • hucongyuhucongyu CNMember

    I see, It cannot debug.

  • Clinton_RocksmithClinton_Rocksmith AUInsider, University ✭✭

    Cheers for that

  • GaryParkinGaryParkin USMember ✭✭
    edited July 2017

    Thank you! I was wondering how to get this to work. I'm new to Xamarin.Forms and loving it compared to Xamarin Android.
    I understand the Android and the IOS.

    What can you do with the UWA? Can I run it like a normal forms app? (exe)

  • AraujoAraujo USMember ✭✭
    edited June 2018

    @BlueRaja said:
    In Visual Studio, right-click the solution --> Configuration Manager --> check 'deploy'

    Spot on! Thanks!

  • Daxton47Daxton47 Member ✭✭

    Here's a great link for those curious about how the configurations work/what they do.

  • PierceBogganPierceBoggan USForum Administrator, Xamarin Team, Developer Group Leader Xamurai

    This shouldn't be happening on any new projects in Visual Studio 2017 version 15.7 and beyond. If it is, please log a bug by going to Help > Send Feedback > Report a Problem. Thanks!

  • sandeepkumar10sandeepkumar10 Member ✭✭

    For check deploy configuration settings In Visual Studio, follow the directions, right-click the solution --> Configuration Manager --> check 'deploy'

  • JeffGonzalesJeffGonzales USMember ✭✭

    Why do you need to select "deploy" just to debug on a local device?

  • nbinbi Member ✭✭

    Using VS 2017 (15.9.6) I'm trying to generate the apk for a solution consisting only of the default "Welcome to Xamarin.Forms!" xaml. It builds ok, but fails on 'deploy' without producing any text in the error list window. msbuild verbosity is set to "diagnostic". There is a lot of text in the output window, but nothing that is an obvious error indication. How do I make progress on this?

Sign In or Register to comment.