Xamarin iOS Simulator running old code

前端 未结 7 1108
挽巷
挽巷 2021-01-02 09:21

When I debug my Xamarin.iOS project from Visual Studio, it builds, installs on the simulator, and launches the app without issue. But on launching, I\'m seeing a bunch of D

7条回答
  •  我在风中等你
    2021-01-02 10:10

    I had a similar problem (though on an Android emulator).

    What didn't work for me:

    • restarting the computer
    • restarting Visual Studio
    • deleting bin / obj folders
    • going into Configuration Manager (Debug / Release / Configuration Manager) and ticking everything there - everything was ticked
    • changing the version of the app in the manifest

    What worked for me?

    Uninstalling the app from the emulator and then running Debug again. It was an Android emulator, so I uninstalled by clicking on the app icon and holidng for long, and then dragging it to "Uninstall App". On an iOS simulator it should be similar.

提交回复
热议问题