Copy existing page

Create new file pair Right click the .xaml file and select copy Select the project > Right click > Paste You will now have a duplicate of the page and its .cs source code file with ” – Copy.xaml” as its name. Right click the .xaml file and select Rename to rename both the files […]

Read More

Rename Existing Project

A few places where the re-naming needs to occur (not a definitive list of how to, but as we find them!) Menu > Debug > [Project] Properties > Application Assembly Name Assembly Information Package Manifest

Read More

Issues – Getting Project To Run

Setting target version (to match the OS version running on your device) Right click project > Properties > Application > Targeting If you need a new version Visual Studio > Menu > Tools > Extensions & Updates > Online Visual Studio Can’t find device Right click project > Properties > Debug > Start options > […]

Read More

Capability Declarations for your App

Lots of things are blocked by default for UWP.  You have to enable the capabilities needed by your app in "Package.appxmanifest" Some can be altered using the Capabilities tab of this file in visual mode, but others require you to edit it in code mode (right click > view code) Full list of capabilities https://msdn.microsoft.com/en-gb/windows/uwp/packaging/app-capability-declarations […]

Read More

Running The Application

Running The Application On Your Device Select ‘Remote Machine’ from the run target drop down. Your device will likely be in the Auto Detected box. Alternatively enter the IP address of the device. Changing IP address later To change the device IP address select Menu > Debug > [your project name] Properties… We also have […]

Read More

main() function

"App.xaml" contains the class code that initialises the project and is the logical equivalent of main(). Constructor Effectively the app’s main method. The plumbing that makes it the app’s entry point is enabled by an “Entry point” setting in the package manifest (on the Application tab). When you create a project, Visual Studio automatically sets […]

Read More

Splash Screen

See here: https://ibex.tech/windows-iot/windows-iot/uwp-programming-in-c/projects-general/releasing-project      

Read More