Add as a Link Right click Project > Add > Existing Item Select the file, BUT instead of pressing the “Add” button, use the button drop-down to select “Add as Link” instead
Category: .Projects General
Debugging UWP Apps(1)
Deploying Project(4)
Installing C# for WinIoT(1)
Interprocess communication (IPC)(2)
UWP Apps(1)
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 […]
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
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 > […]
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 […]
Enabling Hardware Devices & Peripherals For Your Application
Open the Package.appxmanifest file > Capabilities
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 […]
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 […]
App Icon
Open the "Package.appxmanifest" file and select the 'Visual Assets' tab.
Splash Screen
See here: https://ibex.tech/windows-iot/windows-iot/uwp-programming-in-c/projects-general/releasing-project