You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paul Gildea edited this page May 13, 2016
·
1 revision
How to retarget the SDK for the Sample Gallery and Samples Common projects
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.
Update the Target version in the .csproj files
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.