Skip to content

Instantly share code, notes, and snippets.

@StefanWickDev
StefanWickDev / gist:097ec030d169eaeee6fb6be69cff6158
Last active October 24, 2018 19:58
Get started with 'allowElevation' capability in RS5 (hello world)
1. Install Windows insider SDK 17744 (or later) on a computer running Insider build 17744 (or later)
2. In VS2017 create a new C# Console app (or any desktop type application)
3. Optional: add two lines of code in Main()
Console.WriteLine("Hello World Elevated");
Console.ReadLine();
4. Add an Application Manifest file to the project (app.manifest)
5. In that file change requestedExecutionLevel from 'asInvoker' 'highestAvailable'.
6. Add a Windows Application Packaging Project to the solution
7. Set target and min version to 17744 (or later)
8. In the packaging project add a reference to the console application project