Do I always have to click to deploy a UWP app before running it? Thats two steps and I'd like to perform just one.
I've just created a Blank Xaml App (Xamarin.Forms Portable) New Project from the list of Cross-Platform, Windows, Visual C# Templates in Visual Studio 2015 update 2. There are projects for Droid, iOS, and UWP (Universal Windows) as well as a few others. I set the UWP app as the startup project and attempted to run it (by clicking the green arrow on my local machine or hitting F5), but I received an error saying that I need to deploy first. If I right click the project and then choose deploy it deploys successfully and then if I run it runs successfully. If I stop execution, make modifications, then run again I do not see my changes. If I deploy again and then run I can see my changes.
I'm trying to just make sure my UI looks like it should and so anything that helps me iterate between making code changes and seeing those changes in any platform would be helpful. the Droid takes forever to start up and I can't run iOS (no Mac) or Windows 8.1 (I'm on windows 10 home) which is why I'm testing things out with UWP first. Is there a better way than right clicking the project to deploy every time before hitting run?
Visual Studio 2019 on Windows 10 is recommended to build UWP apps. For more information about the Universal Windows Platform, see Intro to the Universal Windows Platform. UWP is available in Xamarin. Forms 2.1 and later, and Xamarin.
Debug an installed UWP app on a local machineIn Visual Studio, select Debug > Other Debug Targets > Debug Installed App Package. In the Debug Installed App Package dialog, under Connection Type, select Local Machine. Under Installed App Packages, select the app you want to debug, or type its name in the search box.
Goto Build menu ->select configuration manager goto UWP project select both build and deploy option .. it will automatically deploy default this option switch off
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With