-
Notifications
You must be signed in to change notification settings - Fork 289
Sample Gallery SDK Retargeting
The Sample Gallery and Samples Common is authored to conditionally compile samples against the SDK version you specify in the properties of their respective Project files.
Currently they have been tested to run with the following versions:
- 10586
- 14295
- 14332
By default these Projects are targeted to the last major SDK release.
If you want to try out flighted APIs you will need to retarget the Project files to the flighted SDK.
- Right click on SampleGallery project file in the Solution Explorer in Visual Studio
- Click "Properties"
- Using the Target version drop down to select which installed SDK to use
Repeat for the SamplesCommon project file.
Once you've retargeted both Project files you should be able to Rebuild the Solution and press F5 to start debugging.
Note: You typically want to have matching SDK and Build versions to ensure predictable behavior. A common issue for Insiders will be trying to use an older SDK with a more recent flight Build with could run into build or runtime errors as things may have changed.