diff --git a/README.md b/README.md
index 4e7990b035..6533fdf1e1 100644
--- a/README.md
+++ b/README.md
@@ -14,9 +14,9 @@ This repo contains the samples that demonstrate the API usage patterns for the U
## Universal Windows Platform development
-These samples require Visual Studio 2015 and the Windows Software Development Kit (SDK) for Windows 10 to build, test, and deploy your Universal Windows Platform apps.
+These samples require Visual Studio 2017 and the Windows Software Development Kit (SDK) for Windows 10 to build, test, and deploy your Universal Windows Platform apps.
- [Get a free copy of Visual Studio 2015 Community Edition with support for building Universal Windows Platform apps](http://go.microsoft.com/fwlink/p/?LinkID=280676)
+ [Get a free copy of Visual Studio 2017 Community Edition with support for building Universal Windows Platform apps](http://go.microsoft.com/fwlink/p/?LinkID=280676)
Additionally, to stay on top of the latest updates to Windows and the development tools, become a Windows Insider by joining the Windows Insider Program.
@@ -24,14 +24,14 @@ Additionally, to stay on top of the latest updates to Windows and the developmen
## Using the samples
-The easiest way to use these samples without using Git is to download the zip file containing the current version (using the following link or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in Visual Studio 2015.
+The easiest way to use these samples without using Git is to download the zip file containing the current version (using the following link or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in Visual Studio 2017.
[Download the samples ZIP](../../archive/master.zip)
**Notes:**
* Before you unzip the archive, right-click it, select **Properties**, and then select **Unblock**.
* Be sure to unzip the entire archive, and not just individual samples. The samples all depend on the SharedContent folder in the archive.
- * In Visual Studio 2015, the platform target defaults to ARM, so be sure to change that to x64 or x86 if you want to test on a non-ARM device.
+ * In Visual Studio 2017, the platform target defaults to ARM, so be sure to change that to x64 or x86 if you want to test on a non-ARM device.
The samples use Linked files in Visual Studio to reduce duplication of common files, including sample template files and image assets. These common files are stored in the SharedContent folder at the root of the repository, and are referred to in the project files using links.
@@ -412,8 +412,11 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
diff --git a/Samples/3DPrinting/README.md b/Samples/3DPrinting/README.md
index d1984484ab..3e938ede53 100644
--- a/Samples/3DPrinting/README.md
+++ b/Samples/3DPrinting/README.md
@@ -35,8 +35,8 @@ Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/3DPrintingFromUnity/README.md b/Samples/3DPrintingFromUnity/README.md
index 9779ccc968..000dee26e8 100644
--- a/Samples/3DPrintingFromUnity/README.md
+++ b/Samples/3DPrintingFromUnity/README.md
@@ -31,7 +31,7 @@ In addition to Visual Studio and the Windows SDK, you need the following:
* The Unity plugin for Visual Studio.
This can be installed as part of installing Unity,
or you can
- [download it](https://visualstudiogallery.msdn.microsoft.com/8d26236e-4a64-4d64-8486-7df95156aba9 "Visual Studio 2015 Tools for Unity")
+ [download it](https://visualstudiogallery.msdn.microsoft.com/8d26236e-4a64-4d64-8486-7df95156aba9 "Visual Studio 2017 Tools for Unity")
manually.
* The 3D Builder app.
diff --git a/Samples/Accelerometer/README.md b/Samples/Accelerometer/README.md
index 848c9a9117..d04ba2cf26 100644
--- a/Samples/Accelerometer/README.md
+++ b/Samples/Accelerometer/README.md
@@ -79,8 +79,8 @@ When you choose the **Enable** button for the **Data Events** option, the app be
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Accelerometer/cpp/Accelerometer.vcxproj b/Samples/Accelerometer/cpp/Accelerometer.vcxproj
index 9307d5cee1..40491f3782 100644
--- a/Samples/Accelerometer/cpp/Accelerometer.vcxproj
+++ b/Samples/Accelerometer/cpp/Accelerometer.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/ActivitySensor/README.md b/Samples/ActivitySensor/README.md
index 3c63ecbba0..1c2e3b7e83 100644
--- a/Samples/ActivitySensor/README.md
+++ b/Samples/ActivitySensor/README.md
@@ -49,8 +49,8 @@ Registers a background task for activity changes. The background task runs whene
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/ActivitySensor/cpp/ActivitySensor.vcxproj b/Samples/ActivitySensor/cpp/ActivitySensor.vcxproj
index 4c8ac97ac4..a87513c0b6 100644
--- a/Samples/ActivitySensor/cpp/ActivitySensor.vcxproj
+++ b/Samples/ActivitySensor/cpp/ActivitySensor.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/ActivitySensor/cpp/Tasks/ActivitySensorTasks.vcxproj b/Samples/ActivitySensor/cpp/Tasks/ActivitySensorTasks.vcxproj
index b812ae9bee..b5ec3ad437 100644
--- a/Samples/ActivitySensor/cpp/Tasks/ActivitySensorTasks.vcxproj
+++ b/Samples/ActivitySensor/cpp/Tasks/ActivitySensorTasks.vcxproj
@@ -43,37 +43,37 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141true
diff --git a/Samples/AdaptiveStreaming/README.md b/Samples/AdaptiveStreaming/README.md
index c6de782be6..482b629de0 100644
--- a/Samples/AdaptiveStreaming/README.md
+++ b/Samples/AdaptiveStreaming/README.md
@@ -86,11 +86,10 @@ by imposing a lower DesiredMaxBitrate in order to restrict content on unsecured
Not shown in this scenario, but related in concept:
-* Passing a Stream to a manifest in the constructor of AdaptiveMediaSource,
-to replace the first web request for a Uri.
+* Passing a Stream to a manifest in the constructor of AdaptiveMediaSource, to replace the first web request for a Uri.
* Getting a copy of the downloaded bytes after they have been consumed by the platform in DownloadCompleted.
-*Tune the AdaptiveMediaSource download and bitrate switching heuristics**
+**Tune the AdaptiveMediaSource download and bitrate switching heuristics**
This scenario shows ways in which the app can tune the adaptive media source.
@@ -104,10 +103,14 @@ only after extensive testing under a range of network conditions.
This scenario shows ways in which the app can consume or create timed metadata.
-The AdaptiveMediaSource publishes ID3 tags within TS content
-and any M3U8 comment tags it finds in manifests
-as TimedMetadataTracks.
-This sample shows how to register to consume this data in the app.
+The AdaptiveMediaSource creates TimedMetadataTracks, and fires Cues for
+
+* ID3 tags within TS content
+* emsg boxes within fragmented MP4 content
+* Comment tags found in HLS manifests
+
+This sample shows how to register to consume this data in the app, and demonstrates
+how SCTE-35 can be parsed from emsg boxes and used to schedule ads.
The captioning system will also publish TimedMetadataTracks for:
WebVTT segments within an HLS presentation,
@@ -115,13 +118,12 @@ additional files (TTML, SRT or WebVTT) added to the source,
or 608 captions within SEI NALUs of H.264.
Although it is not demonstrated in this sample,
the app can opt to render the captions itself
-by following a process similar to one used in this scenario.
+by following a process similar to one used for data cues in this scenario.
The app can also create a Custom TimedMetadataTrack and add it to a MediaSource.
This provides a uniform event-based mechanism to consume timed-synchronized information.
Here we demonstrate playback progress reporting using a custom class TrackingEventCue.
-We re-use this concept in the next sample
-to provide reporting on five ads inserted into a main MediaPlaybackItem.
+We re-use this concept in the next sample to provide reporting on ads inserted into a main MediaPlaybackItem.
**Create advertisements within an AdaptiveMediaSource MediaPlaybackItem**
@@ -135,11 +137,37 @@ For each of these ads, and the main content,
we re-use the Custom TimedMetadataTracks from the Metadata sample
to raise playback progress events.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Live Seekable Range**
+
+This scenario demonstrates seeking within the MediaTimeRange exposed by
+`MediaPlayer.MediaPlaybackSession.GetSeekableRanges()`
+This is often called a DVR Window and is used in over the top television (OTT) broadcasts
+and live event streaming.
+
+The sample also demonstrate how to further limit the size of the DVR window
+using the AdaptiveMediaSource properties:
+
+* MinLiveOffset: The leading edge of the DRV window, as imposed by the content or platform.
+
+* DesiredLiveOffset: The application-controlled leading-edge of the DRV window.
+It allows the app to provide additional back-off from the leading edge of the Content
+to manage Content Distribution Network conditions.
+
+* DesiredSeekableWindowSize: The application-controlled DVR window depth.
+This allows the app to limit how far back into the DVR window the user can seek.
+
+* MaxSeekableWindowSize: The DRV window depth, as imposed by the content.
+
+The sample demonstrates the use of AdaptiveMediaSourceCorrelatedTimes,
+an object which provides the offsets between the platform's media Position,
+the original PresentationTimeStamp within the media segments, and
+the content encoding time (EXT-X-PROGRAM-DATE-TIME in HLS and its equivalent in DASH).
+
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -169,9 +197,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
-1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio?2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
@@ -185,3 +212,4 @@ The next steps depend on whether you just want to deploy the sample or you want
### Deploying and running the sample
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.
+
diff --git a/Samples/AdaptiveStreaming/cs/AdaptiveStreaming.csproj b/Samples/AdaptiveStreaming/cs/AdaptiveStreaming.csproj
index 02501d0e59..226075faa6 100644
--- a/Samples/AdaptiveStreaming/cs/AdaptiveStreaming.csproj
+++ b/Samples/AdaptiveStreaming/cs/AdaptiveStreaming.csproj
@@ -21,8 +21,7 @@
truebin\ARM\Debug\
- DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
- ;2008
+ DEBUG;TRACE;NETFX_CORE;WINDOWS_UAPfullARMfalse
@@ -31,9 +30,8 @@
bin\ARM\Release\
- TRACE;NETFX_CORE;WINDOWS_UWP
+ TRACE;NETFX_CORE;WINDOWS_UAPtrue
- ;2008pdbonlyARMfalse
@@ -44,8 +42,7 @@
truebin\x64\Debug\
- DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
- ;2008
+ DEBUG;TRACE;NETFX_CORE;WINDOWS_UAPfullx64false
@@ -54,9 +51,8 @@
bin\x64\Release\
- TRACE;NETFX_CORE;WINDOWS_UWP
+ TRACE;NETFX_CORE;WINDOWS_UAPtrue
- ;2008pdbonlyx64false
@@ -67,8 +63,7 @@
truebin\x86\Debug\
- DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
- ;2008
+ DEBUG;TRACE;NETFX_CORE;WINDOWS_UAPfullx86false
@@ -77,9 +72,8 @@
bin\x86\Release\
- TRACE;NETFX_CORE;WINDOWS_UWP
+ TRACE;NETFX_CORE;WINDOWS_UAPtrue
- ;2008pdbonlyx86false
@@ -102,13 +96,50 @@
Properties\AssemblyInfo.cs
+
+ Shared\Logging\LogView.xaml.cs
+
+
+ Shared\Logging\AdaptiveMediaSourceHttpFilterLogger.cs
+
+
+ Shared\Logging\AdaptiveMediaSourceLogger.cs
+
+
+ Shared\Logging\MediaPlaybackItemLogger.cs
+
+
+ Shared\Logging\MediaPlaybackListLogger.cs
+
+
+ Shared\Logging\MediaPlayerLogger.cs
+
+
+ Shared\Logging\MediaSourceLogger.cs
+
+
+ Shared\Logging\Extensions\AdaptiveMediaSourceStringExtensions.cs
+
+
+ Shared\Logging\Extensions\HttpProgressStringExtensions.cs
+
+
+ Shared\Logging\Extensions\JsonFormatter.cs
+
+
+ Shared\Logging\Extensions\MediaFoundationGuidStringExtensions.cs
+
+
+ Shared\Logging\Extensions\MediaPlaybackItemStringExtensions.cs
+
+
+ Shared\Logging\Extensions\MediaPlaybackListStringExtensions.cs
+
-
-
-
- Logger.xaml
+
+ ContentSelector.xaml
@@ -130,6 +161,9 @@
Scenario6_AdInsertion.xaml
+
+ Scenario7_LiveSeekableRange.xaml
+
@@ -148,7 +182,12 @@
MSBuild:CompileDesigner
-
+
+ Shared\Logging\LogView.xaml
+ MSBuild:Compile
+ Designer
+
+ DesignerMSBuild:Compile
@@ -176,6 +215,10 @@
DesignerMSBuild:Compile
+
+ Designer
+ MSBuild:Compile
+
Styles\Styles.xaml
MSBuild:Compile
diff --git a/Samples/AdaptiveStreaming/cs/Controls/ContentSelector.xaml b/Samples/AdaptiveStreaming/cs/Controls/ContentSelector.xaml
new file mode 100644
index 0000000000..502900bffa
--- /dev/null
+++ b/Samples/AdaptiveStreaming/cs/Controls/ContentSelector.xaml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Samples/AdaptiveStreaming/cs/Controls/ContentSelector.xaml.cs b/Samples/AdaptiveStreaming/cs/Controls/ContentSelector.xaml.cs
new file mode 100644
index 0000000000..87643c3649
--- /dev/null
+++ b/Samples/AdaptiveStreaming/cs/Controls/ContentSelector.xaml.cs
@@ -0,0 +1,175 @@
+//*********************************************************
+//
+// Copyright (c) Microsoft. All rights reserved.
+// This code is licensed under the MIT License (MIT).
+// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
+// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
+// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
+// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
+//
+//*********************************************************
+
+using SDKTemplate.Models;
+using SDKTemplate.Logging;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Windows.ApplicationModel.DataTransfer;
+using Windows.Media.Playback;
+using Windows.UI.Core;
+using Windows.UI.Xaml;
+using Windows.UI.Xaml.Controls;
+using System.Threading.Tasks;
+using Windows.Web.Http;
+
+namespace SDKTemplate.Controls
+{
+ public sealed partial class ContentSelector : UserControl
+ {
+ public ContentSelector()
+ {
+ this.InitializeComponent();
+ }
+
+ private MediaPlayer mediaPlayer;
+ private IEnumerable adaptiveContentModels;
+ public AdaptiveContentModel SelectedModel;
+ private LogView loggerControl;
+ Func> CreateMediaPlaybackItem;
+ public MediaPlaybackItem MediaPlaybackItem;
+ public HttpClient optionalHttpClient;
+
+ internal void Initialize(MediaPlayer mediaPlayer,
+ IEnumerable adaptiveContentModels,
+ HttpClient optionalHttpClient,
+ LogView loggerControl,
+ Func> loadSourceFromUriAsync)
+ {
+ if (mediaPlayer == null)
+ throw new ArgumentNullException("mediaPlayer");
+ this.mediaPlayer = mediaPlayer;
+
+ if (adaptiveContentModels == null)
+ throw new ArgumentNullException("adaptiveContentModels");
+ this.adaptiveContentModels = adaptiveContentModels;
+
+ if (loggerControl == null)
+ throw new ArgumentNullException("loggerControl");
+ this.loggerControl = loggerControl;
+
+ if (loadSourceFromUriAsync == null)
+ throw new ArgumentNullException("loadSourceFromUriAsync");
+ this.CreateMediaPlaybackItem = loadSourceFromUriAsync;
+
+ this.optionalHttpClient = optionalHttpClient;
+
+ // Set data context:
+ SelectedContent.ItemsSource = this.adaptiveContentModels;
+ // Set default item:
+ SetSelectedModel(this.adaptiveContentModels.First());
+ }
+
+ public void SetSelectedModel(AdaptiveContentModel model)
+ {
+ SelectedModel = model;
+ SelectedContent.SelectedItem = SelectedModel;
+ }
+
+ public async void HideLoadUri()
+ {
+ await this.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
+ {
+ this.LoadUriPanel.Visibility = Visibility.Collapsed;
+ });
+ }
+ public async void SetAutoPlay(bool IsChecked)
+ {
+ await this.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
+ {
+ AutoPlay.IsChecked = IsChecked;
+ });
+ }
+
+ private async void LoadId_Click(object sender, RoutedEventArgs e)
+ {
+ if (mediaPlayer == null || adaptiveContentModels == null || loggerControl == null)
+ return;
+
+ this.SelectedModel = (AdaptiveContentModel)SelectedContent.SelectedItem;
+
+ UriBox.Text = SelectedModel.ManifestUri.ToString();
+ await CreateNewMediaPlaybackItem(SelectedModel.ManifestUri);
+ }
+
+ private async void LoadUri_Click(object sender, RoutedEventArgs e)
+ {
+ if (mediaPlayer == null || adaptiveContentModels == null || loggerControl == null)
+ return;
+
+ Uri uri;
+ if (!Uri.TryCreate(UriBox.Text, UriKind.Absolute, out uri))
+ {
+ loggerControl.Log("Malformed Uri in Load text box.", SDKTemplate.Logging.LogViewLoggingLevel.Critical);
+ return;
+ }
+ await CreateNewMediaPlaybackItem(uri);
+ }
+
+ private async Task CreateNewMediaPlaybackItem(Uri uri)
+ {
+ SetSourceEnabled(false);
+ this.MediaPlaybackItem = null;
+ this.MediaPlaybackItem = await CreateMediaPlaybackItem(uri, optionalHttpClient);
+ if (this.MediaPlaybackItem != null)
+ {
+ loggerControl.Log($"Loaded Uri: {uri}");
+ SetSourceEnabled(true);
+ }
+ }
+
+ private async void SetSourceEnabled(bool SetEnabled)
+ {
+ await this.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
+ {
+ SetSource.IsEnabled = SetEnabled;
+ });
+ }
+
+ private void AutoPlay_Checked(object sender, RoutedEventArgs e)
+ {
+ if (mediaPlayer == null || adaptiveContentModels == null || loggerControl == null)
+ return;
+
+ mediaPlayer.AutoPlay = (bool)(sender as CheckBox).IsChecked;
+ }
+
+ private void ForceEquirectangularSphericalVideoFrameFormat()
+ {
+ if (mediaPlayer.PlaybackSession.PlaybackState == MediaPlaybackState.None ||
+ mediaPlayer.PlaybackSession.PlaybackState == MediaPlaybackState.Opening)
+ return;
+
+ var mpsvp = mediaPlayer.PlaybackSession.SphericalVideoProjection;
+ if (mpsvp == null)
+ return;
+
+ if (mpsvp.FrameFormat != Windows.Media.MediaProperties.SphericalVideoFrameFormat.Equirectangular)
+ mpsvp.FrameFormat = Windows.Media.MediaProperties.SphericalVideoFrameFormat.Equirectangular;
+
+ if (mpsvp.IsEnabled != true)
+ mpsvp.IsEnabled = true;
+
+ mpsvp.HorizontalFieldOfViewInDegrees = 120;
+ }
+
+ private void SetSource_Click(object sender, RoutedEventArgs e)
+ {
+ if (mediaPlayer == null || adaptiveContentModels == null || loggerControl == null)
+ return;
+
+ // It is at this point that the MediaSource (within a MediaPlaybackItem) will be fully resolved.
+ // For an AdaptiveMediaSource, this is the point at which media is first requested and parsed.
+ mediaPlayer.Source = this.MediaPlaybackItem;
+ }
+ }
+}
diff --git a/Samples/AdaptiveStreaming/cs/Helpers/MediaFoundationGuidStringExtensions.cs b/Samples/AdaptiveStreaming/cs/Helpers/MediaFoundationGuidStringExtensions.cs
deleted file mode 100644
index 61bf1e0c8a..0000000000
--- a/Samples/AdaptiveStreaming/cs/Helpers/MediaFoundationGuidStringExtensions.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-//*********************************************************
-//
-// Copyright (c) Microsoft. All rights reserved.
-// This code is licensed under the MIT License (MIT).
-// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
-// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
-// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
-// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
-//
-//*********************************************************
-
-
-using System;
-using System.Collections.Generic;
-
-namespace SDKTemplate.Helpers
-{
- public static class MediaFoundationGuidStringExtensions
- {
- // Translation of selected GUIDs used in MF to their human-readable attribute strings
- // These are in defined the Windows SDK and in various regkeys.
- // Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/dd317906(v=vs.85).aspx
-
- public static string ToMFAttributeName(Guid guidToFind)
- {
- string retVal = guidToFind.ToString();
- string mfAttribute;
- if (MfGuidDictionary.TryGetValue(guidToFind, out mfAttribute))
- {
- retVal = mfAttribute;
- }
- return retVal;
- }
- public static string ToMFAttributeName(object objectToCheck)
- {
- // Return .ToString as default:
- string retVal = objectToCheck.ToString();
-
- // Passed object is Guid
- if (objectToCheck is Guid)
- {
- Guid guidToFind = (Guid)objectToCheck;
- retVal = ToMFAttributeName(guidToFind);
- }
- else
- {
- // Passed object is Guid.ToString()
- Guid guidToFind;
- if (Guid.TryParse(retVal, out guidToFind))
- {
- retVal = ToMFAttributeName(guidToFind);
- }
- }
- return retVal;
- }
-
-
- private static Dictionary MfGuidDictionary = new Dictionary()
- {
- {new Guid("73646976-0000-0010-8000-00AA00389B71"), "[MEDIATYPE_Video]"},
- {new Guid("73647561-0000-0010-8000-00AA00389B71"), "[MEDIATYPE_Audio]"},
- {new Guid("73747874-0000-0010-8000-00AA00389B71"), "[MEDIATYPE_Text]"},
-
- {new Guid("3F40F4F0-5622-4FF8-B6D8-A17A584BEE5E"), "[MFVideoFormat_H264_ES]"},
-
- {new Guid("7632f0e6-9538-4d61-acda-ea29c8c14456"), "[MF_MT_AAC_AUDIO_PROFILE_LEVEL_INDICATION]"},
- {new Guid("bfbabe79-7434-4d1c-94f0-72a3b9e17188"), "[MF_MT_AAC_PAYLOAD_TYPE]"},
- {new Guid("c9173739-5e56-461c-b713-46fb995cb95f"), "[MF_MT_ALL_SAMPLES_INDEPENDENT]"},
- {new Guid("73d1072d-1870-4174-a063-29ff4ff6c11e"), "[MF_MT_AM_FORMAT_TYPE]"},
- {new Guid("1aab75c8-cfef-451c-ab95-ac034b8e1731"), "[MF_MT_AUDIO_AVG_BYTES_PER_SECOND]"},
- {new Guid("f2deb57f-40fa-4764-aa33-ed4f2d1ff669"), "[MF_MT_AUDIO_BITS_PER_SAMPLE]"},
- {new Guid("322de230-9eeb-43bd-ab7a-ff412251541d"), "[MF_MT_AUDIO_BLOCK_ALIGNMENT]"},
- {new Guid("55fb5765-644a-4caf-8479-938983bb1588"), "[MF_MT_AUDIO_CHANNEL_MASK]"},
- {new Guid("37e48bf5-645e-4c5b-89de-ada9e29b696a"), "[MF_MT_AUDIO_NUM_CHANNELS]"},
- {new Guid("a901aaba-e037-458a-bdf6-545be2074042"), "[MF_MT_AUDIO_PREFER_WAVEFORMATEX]"},
- {new Guid("5faeeae7-0290-4c31-9e8a-c534f68d9dba"), "[MF_MT_AUDIO_SAMPLES_PER_SECOND]"},
- {new Guid("799cabd6-3508-4db4-a3c7-569cd533deb1"), "[MF_MT_AVG_BIT_ERROR_RATE]"},
- {new Guid("20332624-fb0d-4d9e-bd0d-cbf6786c102e"), "[MF_MT_AVG_BITRATE]"},
- {new Guid("3afd0cee-18f2-4ba5-a110-8bea502e1f92"), "[MF_MT_COMPRESSED]"},
- {new Guid("b8ebefaf-b718-4e04-b0a9-116775e3321b"), "[MF_MT_FIXED_SIZE_SAMPLES]"},
- {new Guid("c459a2e8-3d2c-4e44-b132-fee5156c7bb0"), "[MF_MT_FRAME_RATE]"},
- {new Guid("1652c33d-d6b2-4012-b834-72030849a37d"), "[MF_MT_FRAME_SIZE]"},
- {new Guid("e2724bb8-e676-4806-b4b2-a8d6efb44ccd"), "[MF_MT_INTERLACE_MODE]"},
- {new Guid("48eba18e-f8c9-4687-bf11-0a74c9f96a8f"), "[MF_MT_MAJOR_TYPE]"},
- {new Guid("3c036de7-3ad0-4c9e-9216-ee6d6ac21cb3"), "[MF_MT_MPEG_SEQUENCE_HEADER]"},
- {new Guid("9aa7e155-b64a-4c1d-a500-455d600b6560"), "[MF_MT_MPEG4_CURRENT_SAMPLE_ENTRY]"},
- {new Guid("261e9d83-9529-4b8f-a111-8b9c950a81a9"), "[MF_MT_MPEG4_SAMPLE_DESCRIPTION]"},
- {new Guid("c6376a1e-8d0a-4027-be45-6d9a0ad39bb6"), "[MF_MT_PIXEL_ASPECT_RATIO]"},
- {new Guid("dad3ab78-1990-408b-bce2-eba673dacc10"), "[MF_MT_SAMPLE_SIZE]"},
- {new Guid("f7e34c9a-42e8-4714-b74b-cb29d72c35e5"), "[MF_MT_SUBTYPE]"},
- {new Guid("b6bc765f-4c3b-40a4-bd51-2535b66fe09d"), "[MF_MT_USER_DATA]"},
- {new Guid("96f66574-11c5-4015-8666-bff516436da7"), "[MF_MT_VIDEO_LEVEL | MF_MT_MPEG2_LEVEL]"},
- {new Guid("ad76a80b-2d5c-4e0b-b375-64e520137036"), "[MF_MT_VIDEO_PROFILE]"},
- {new Guid("c380465d-2271-428c-9b83-ecea3b4a85c1"), "[MF_MT_VIDEO_ROTATION]"},
- {new Guid("a7911d53-12a4-4965-ae70-6eadd6ff0551"), "[MF_NALU_LENGTH_SET]"},
- {new Guid("8f020eea-1508-471f-9da6-507d7cfa40db"), "[MF_PROGRESSIVE_CODING_CONTENT]"},
- };
- }
-
-}
diff --git a/Samples/AdaptiveStreaming/cs/Helpers/MediaPlaybackItemStringExtensions.cs b/Samples/AdaptiveStreaming/cs/Helpers/MediaPlaybackItemStringExtensions.cs
deleted file mode 100644
index a4dc0577b1..0000000000
--- a/Samples/AdaptiveStreaming/cs/Helpers/MediaPlaybackItemStringExtensions.cs
+++ /dev/null
@@ -1,169 +0,0 @@
-//*********************************************************
-//
-// Copyright (c) Microsoft. All rights reserved.
-// This code is licensed under the MIT License (MIT).
-// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
-// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
-// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
-// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
-//
-//*********************************************************
-
-
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Windows.Media.MediaProperties;
-using Windows.Media.Playback;
-
-namespace SDKTemplate.Helpers
-{
- ///
- /// This class demonstrates the full range of properties available on the MediaPlaybackItem.
- ///
- ///
- public static class MediaPlaybackItemStringExtensions
- {
-
- public static string ToFormattedString(this MediaPlaybackItem item)
- {
- if (item == null)
- return String.Empty;
-
- StringBuilder sb = new StringBuilder();
-
- // MediaPlaybackItem.Source.CustomProperties
- var source = item.Source;
- if (source != null && source.CustomProperties.Any())
- {
- sb.AppendLine();
- sb.AppendLine("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- sb.AppendLine("Source.CustomProperties:");
- foreach (var prop in source.CustomProperties)
- {
- sb.AppendLine(prop.Key + ":\t" + prop.Value);
- }
- }
-
- // MediaPlaybackItem.VideoTracks[].*
- foreach (var track in item.VideoTracks)
- {
- // Note that AdaptiveMediaSource only exposes a single Video track. Details on bitrates are directly on the AdaptiveMediaSource.
- sb.AppendLine();
- sb.AppendLine("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- sb.AppendLine("TrackKind:\t" + track.TrackKind);
- sb.AppendLine("Id:\t" + track.Id);
- sb.AppendLine("Label:\t" + track.Label);
- sb.AppendLine("Language:\t" + track.Language);
- sb.AppendLine("Name:\t" + track.Name);
- sb.AppendLine("DecoderStatus:\t" + track.SupportInfo.DecoderStatus);
- sb.AppendLine("MediaSourceStatus:\t" + track.SupportInfo.MediaSourceStatus);
- var encodingProps = track.GetEncodingProperties();
- if (encodingProps != null)
- {
- sb.AppendLine("Encoding Properties:");
- sb.AppendLine("Type:\t" + encodingProps.Type);
- sb.AppendLine("Subtype:\t" + MediaFoundationGuidStringExtensions.ToMFAttributeName(encodingProps.Subtype));
- sb.AppendLine("Bitrate:\t" + encodingProps.Bitrate);
- sb.AppendLine(encodingProps.FrameRate.ToFormattedString("FrameRate"));
- sb.AppendLine("Height:\t" + encodingProps.Height);
- sb.AppendLine(encodingProps.PixelAspectRatio.ToFormattedString("PixelAspectRatio"));
- sb.AppendLine("ProfileId:\t" + encodingProps.ProfileId);
- sb.AppendLine("StereoscopicVideoPackingMode:\t" + encodingProps.StereoscopicVideoPackingMode);
- sb.AppendLine("Width:\t" + encodingProps.Width);
- var additionalProperties = encodingProps.Properties;
- sb.AppendLine(additionalProperties.ToFormattedString());
- }
- }
-
- // MediaPlaybackItem.AudioTracks[].*
- foreach (var track in item.AudioTracks)
- {
- sb.AppendLine();
- sb.AppendLine("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- sb.AppendLine("TrackKind:\t" + track.TrackKind);
- sb.AppendLine("Id:\t" + track.Id);
- sb.AppendLine("Label:\t" + track.Label);
- sb.AppendLine("Language:\t" + track.Language);
- sb.AppendLine("Name:\t" + track.Name);
- sb.AppendLine("DecoderStatus:\t" + track.SupportInfo.DecoderStatus);
- sb.AppendLine("MediaSourceStatus:\t" + track.SupportInfo.MediaSourceStatus);
- var encodingProps = track.GetEncodingProperties();
- if (encodingProps != null)
- {
- sb.AppendLine("Encoding Properties:");
- sb.AppendLine("Type:\t" + encodingProps.Type);
- sb.AppendLine("Subtype:\t" + MediaFoundationGuidStringExtensions.ToMFAttributeName(encodingProps.Subtype));
- sb.AppendLine("Bitrate:\t" + encodingProps.Bitrate);
- sb.AppendLine("BitsPerSample:\t" + encodingProps.BitsPerSample);
- sb.AppendLine("ChannelCount:\t" + encodingProps.ChannelCount);
- sb.AppendLine("SampleRate:\t" + encodingProps.SampleRate);
- var additionalProperties = encodingProps.Properties;
- sb.AppendLine(additionalProperties.ToFormattedString());
- }
- }
-
- // MediaPlaybackItem.TimedMetadataTracks[].*
- foreach (var track in item.TimedMetadataTracks)
- {
- sb.AppendLine();
- sb.AppendLine("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- sb.AppendLine("TrackKind:\t" + track.TrackKind);
- sb.AppendLine("Id:\t" + track.Id);
- sb.AppendLine("Label:\t" + track.Label);
- sb.AppendLine("Language:\t" + track.Language);
- sb.AppendLine("Name:\t" + track.Name);
- if (track.ActiveCues != null)
- sb.AppendLine("ActiveCues.Count:\t" + track.ActiveCues.Count);
- if (track.Cues != null)
- sb.AppendLine("Cues.Count:\t" + track.Cues.Count);
- sb.AppendLine("DispatchType:\t" + track.DispatchType);
- sb.AppendLine("TimedMetadataKind:\t" + track.TimedMetadataKind);
- }
- return sb.ToString();
- }
-
- static string ToFormattedString(this MediaRatio mediaRatio, string key)
- {
- string retVal = string.Empty;
- if (!String.IsNullOrEmpty(key) && mediaRatio != null)
- {
- retVal = key + ":\t" + mediaRatio.Numerator + "/" + mediaRatio.Denominator;
- }
- return retVal;
- }
-
- static string ToFormattedString(this MediaPropertySet mediaPropertySet)
- {
- var retVal = new StringBuilder();
-
- if (mediaPropertySet.Count != 0)
- retVal.AppendLine("Additional Encoding Properties:");
- foreach (var prop in mediaPropertySet)
- {
- // We can also get the various MF_ Guid-based props, some of which are a repeat from above:
- retVal.AppendLine(MediaFoundationGuidStringExtensions.ToMFAttributeName(prop.Key) + ":\t" + MediaFoundationGuidStringExtensions.ToMFAttributeName(prop.Value));
-
- // Special case for Byte Arrays:
- if (prop.Value.GetType() == typeof(System.Byte[]))
- {
- var propBytes = prop.Value as System.Byte[];
- if (propBytes != null && propBytes.Length > 0)
- {
- String byteString = "";
- foreach (var b in propBytes)
- {
- byteString += String.Format("{0:X2} ", b);
- }
- retVal.AppendLine(MediaFoundationGuidStringExtensions.ToMFAttributeName(prop.Key) + " as Hex:\t" + byteString);
- }
- }
- }
- return retVal.ToString();
- }
- }
-
-
-}
diff --git a/Samples/AdaptiveStreaming/cs/Helpers/MediaPlayerExtensions.cs b/Samples/AdaptiveStreaming/cs/Helpers/MediaPlayerExtensions.cs
index 929e9e1106..c06d8dc6ee 100644
--- a/Samples/AdaptiveStreaming/cs/Helpers/MediaPlayerExtensions.cs
+++ b/Samples/AdaptiveStreaming/cs/Helpers/MediaPlayerExtensions.cs
@@ -38,7 +38,33 @@ public static void DisposeSource(this MediaPlayer mediaPlayer)
var item = mediaPlayer.Source as MediaPlaybackItem;
if (item != null && item.Source != null)
+ {
+ if (item.BreakSchedule.PrerollBreak != null)
+ {
+ foreach (var mpItem in item.BreakSchedule.PrerollBreak.PlaybackList.Items)
+ {
+ mpItem.Source?.Dispose();
+ }
+ }
+ if (item.BreakSchedule.MidrollBreaks.Count != 0)
+ {
+ foreach (var mrBreak in item.BreakSchedule.MidrollBreaks)
+ {
+ foreach (var mpItem in mrBreak.PlaybackList.Items)
+ {
+ mpItem.Source?.Dispose();
+ }
+ }
+ }
+ if (item.BreakSchedule.PostrollBreak != null)
+ {
+ foreach (var mpItem in item.BreakSchedule.PostrollBreak.PlaybackList.Items)
+ {
+ mpItem.Source?.Dispose();
+ }
+ }
item.Source.Dispose();
+ }
};
mediaPlayer.Source = null;
}
diff --git a/Samples/AdaptiveStreaming/cs/Helpers/PlayReadyHelper.cs b/Samples/AdaptiveStreaming/cs/Helpers/PlayReadyHelper.cs
index 04cd494a68..790c04b13a 100644
--- a/Samples/AdaptiveStreaming/cs/Helpers/PlayReadyHelper.cs
+++ b/Samples/AdaptiveStreaming/cs/Helpers/PlayReadyHelper.cs
@@ -10,6 +10,7 @@
//*********************************************************
using SDKTemplate;
+using SDKTemplate.Logging;
using System;
using System.Collections.Generic;
using System.Net.Http;
@@ -36,11 +37,11 @@ namespace SDKTemplate.Helpers
///
public class PlayReadyHelper
{
- public PlayReadyHelper(Logger logger = null)
+ public PlayReadyHelper(LogView logger = null)
{
this.logger = logger;
}
- private Logger logger;
+ private LogView logger;
private const int MSPR_E_CONTENT_ENABLING_ACTION_REQUIRED = -2147174251;
@@ -58,7 +59,7 @@ private void Log(string message)
{
if (logger != null)
{
- logger.Log(message);
+ logger.Log(message, LogViewLoggingLevel.Information);
}
else
{
diff --git a/Samples/AdaptiveStreaming/cs/Logger.xaml b/Samples/AdaptiveStreaming/cs/Logger.xaml
deleted file mode 100644
index 55d5094eb6..0000000000
--- a/Samples/AdaptiveStreaming/cs/Logger.xaml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Samples/AdaptiveStreaming/cs/Logger.xaml.cs b/Samples/AdaptiveStreaming/cs/Logger.xaml.cs
deleted file mode 100644
index 8d9e850607..0000000000
--- a/Samples/AdaptiveStreaming/cs/Logger.xaml.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-//*********************************************************
-//
-// Copyright (c) Microsoft. All rights reserved.
-// This code is licensed under the MIT License (MIT).
-// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
-// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
-// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
-// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
-//
-//*********************************************************
-
-using System;
-using System.Linq;
-using Windows.ApplicationModel.DataTransfer;
-using Windows.UI.Core;
-using Windows.UI.Xaml.Controls;
-
-namespace SDKTemplate
-{
- public sealed partial class Logger : UserControl
- {
- public Logger()
- {
- this.InitializeComponent();
- }
-
- public async void Log(string message)
- {
- string logEntry = $"{DateTime.Now:HH:mm:ss.fff} - {message}";
- await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
- {
- LoggingListBox.Items.Insert(0, new TextBlock() { Text = logEntry });
- });
- }
-
- public void CopyLogToClipboard_Click()
- {
- var content = new DataPackage();
- content.SetText(String.Join("\r\n", LoggingListBox.Items.Select(item => (item as TextBlock).Text)));
- Clipboard.SetContent(content);
- }
-
- public void ClearLog_Click()
- {
- LoggingListBox.Items.Clear();
- }
- }
-}
diff --git a/Samples/AdaptiveStreaming/cs/Models/AdaptiveContentModel.cs b/Samples/AdaptiveStreaming/cs/Models/AdaptiveContentModel.cs
index cddaadbaf2..0960edb230 100644
--- a/Samples/AdaptiveStreaming/cs/Models/AdaptiveContentModel.cs
+++ b/Samples/AdaptiveStreaming/cs/Models/AdaptiveContentModel.cs
@@ -93,27 +93,52 @@ public override string ToString()
{ Captions = "Indexer,en,http://nimbuspm.origin.mediaservices.windows.net/aed33834-ec2d-4788-88b5-a4505b3d032c/pp4_blog_demo.vtt" },
// Live HLS content:
- new AdaptiveContentModel(10, "Azure Media Services 24x7 (HLS, Live) - (CC) blender.org", "http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/manifest(format=m3u8-aapl)")
+ new AdaptiveContentModel(10, "60min Azure Media Services 24x7 (HLS, Live) - (CC) blender.org", "http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/manifest(format=m3u8-aapl)")
+ { Live = true },
+ new AdaptiveContentModel(15, "30min Azure Media Services 24x7 (HLS, Live) - (CC) blender.org", "http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/manifest(format=m3u8-aapl,filter=30mindvr)")
+ { Live = true },
+ new AdaptiveContentModel(16, "5min Azure Media Services 24x7 (HLS, Live) - (CC) blender.org", "http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/manifest(format=m3u8-aapl,filter=5mindvr)")
+ { Live = true },
+ new AdaptiveContentModel(17, "2min Azure Media Services 24x7 (HLS, Live) - (CC) blender.org", "http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/manifest(format=m3u8-aapl,filter=2mindvr)")
{ Live = true },
// Live DASH content (manifest type = dynamic) is not available using the AdaptiveMediaSource:
- // new AdaptiveContentModel(NA, "Azure Media Services 24x7 (DASH, Live) - (CC) blender.org", "http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/manifest(format=mpd-time-csf)")
- // { Live = true },
+ new AdaptiveContentModel(110, "60min Azure Media Services 24x7 (DASH, Live) - (CC) blender.org", "http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/manifest(format=mpd-time-csf)")
+ { Live = true },
+ new AdaptiveContentModel(111, "30min Azure Media Services 24x7 (DASH, Live) - (CC) blender.org", "http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/manifest(format=mpd-time-csf,filter=30mindvr)")
+ { Live = true },
+ new AdaptiveContentModel(112, "5min Azure Media Services 24x7 (DASH, Live) - (CC) blender.org", "http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/manifest(format=mpd-time-csf,filter=5mindvr)")
+ { Live = true },
+ new AdaptiveContentModel(113, "2min Azure Media Services 24x7 (DASH, Live) - (CC) blender.org", "http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/manifest(format=mpd-time-csf,filter=2mindvr)")
+ { Live = true },
// PlayReady DASH streams need a properly setup MediaProtectionManager:
- new AdaptiveContentModel(110, "Big Buck Bunny (DASH) with DRM (PlayReady/Widevine CENC) - (CC) peach.blender.org", "http://amssamples.streaming.mediaservices.windows.net/622b189f-ec39-43f2-93a2-201ac4e31ce1/BigBuckBunny.ism/manifest(format=mpd-time-csf)")
+ new AdaptiveContentModel(115, "Big Buck Bunny (DASH) with DRM (PlayReady/Widevine CENC) - (CC) peach.blender.org", "http://amssamples.streaming.mediaservices.windows.net/622b189f-ec39-43f2-93a2-201ac4e31ce1/BigBuckBunny.ism/manifest(format=mpd-time-csf)")
{ PlayReady = true },
- new AdaptiveContentModel(111, "Tears of Steel Trailer (DASH, PlayReady) - (CC) mango.blender.org", "http://amssamples.streaming.mediaservices.windows.net/de1470b3-7b3c-4902-ab53-d19b37ef3bd7/TearsOfSteelTeaser.ism/manifest(format=mpd-time-csf)")
+ new AdaptiveContentModel(116, "Tears of Steel Trailer (DASH, PlayReady) - (CC) mango.blender.org", "http://amssamples.streaming.mediaservices.windows.net/de1470b3-7b3c-4902-ab53-d19b37ef3bd7/TearsOfSteelTeaser.ism/manifest(format=mpd-time-csf)")
{ PlayReady = true },
- new AdaptiveContentModel(112, "Sintel Trailer (DASH, PlayReady) - (CC) durian.blender.org", "http://amssamples.streaming.mediaservices.windows.net/bf657309-71d9-4436-b94b-8ac0d2ca222b/SintelTrailer.ism/manifest(format=mpd-time-csf)")
+ new AdaptiveContentModel(117, "Sintel Trailer (DASH, PlayReady) - (CC) durian.blender.org", "http://amssamples.streaming.mediaservices.windows.net/bf657309-71d9-4436-b94b-8ac0d2ca222b/SintelTrailer.ism/manifest(format=mpd-time-csf)")
{ PlayReady = true },
// Live DASH PlayReady content is not available using the AdaptiveMediaSource:
- // new AdaptiveContentModel(NA, "Azure Media Services 24x7 Live PlayReady/Widevine CENC - (CC) blender.org (DASH)", "http://b028.wpc.azureedge.net/80B028/SampleStream/3f6088ec-9e1f-4db7-b7d9-3ec07183ce7d/e405bd0a-a34f-40e2-b70b-4322c46f5cb7.ism/manifest(format=mpd-time-csf)")
- // { PlayReady = true, Live = true },
- // new AdaptiveContentModel(NA, "Azure Media Services 24x7 Live PlayReady - (CC) blender.org (DASH)", "http://b028.wpc.azureedge.net/80B028/Samples/859b335f-eebc-4ff1-ac03-98e9b614e2c1/0cc164eb-193e-48cb-bc6b-041cc28307e4.ism/manifest(format=mpd-time-csf)")
- // { PlayReady = true, Live = true, },
-
+ new AdaptiveContentModel(118, "60min Azure Media Services 24x7 Live PlayReady/Widevine CENC - (CC) blender.org (DASH, Live)", "http://b028.wpc.azureedge.net/80B028/SampleStream/3f6088ec-9e1f-4db7-b7d9-3ec07183ce7d/e405bd0a-a34f-40e2-b70b-4322c46f5cb7.ism/manifest(format=mpd-time-csf)")
+ { PlayReady = true, Live = true },
+ new AdaptiveContentModel(119, "30min Azure Media Services 24x7 Live PlayReady/Widevine CENC - (CC) blender.org (DASH, Live)", "http://b028.wpc.azureedge.net/80B028/SampleStream/3f6088ec-9e1f-4db7-b7d9-3ec07183ce7d/e405bd0a-a34f-40e2-b70b-4322c46f5cb7.ism/manifest(format=mpd-time-csf,filter=30mindvr)")
+ { PlayReady = true, Live = true },
+ new AdaptiveContentModel(120, "5min Azure Media Services 24x7 Live PlayReady/Widevine CENC - (CC) blender.org (DASH, Live)", "http://b028.wpc.azureedge.net/80B028/SampleStream/3f6088ec-9e1f-4db7-b7d9-3ec07183ce7d/e405bd0a-a34f-40e2-b70b-4322c46f5cb7.ism/manifest(format=mpd-time-csf,filter=5mindvr)")
+ { PlayReady = true, Live = true },
+ new AdaptiveContentModel(121, "2min Azure Media Services 24x7 Live PlayReady/Widevine CENC - (CC) blender.org (DASH, Live)", "http://b028.wpc.azureedge.net/80B028/SampleStream/3f6088ec-9e1f-4db7-b7d9-3ec07183ce7d/e405bd0a-a34f-40e2-b70b-4322c46f5cb7.ism/manifest(format=mpd-time-csf,filter=2mindvr)")
+ { PlayReady = true, Live = true },
+
+ new AdaptiveContentModel(122, "60min Azure Media Services 24x7 Live PlayReady - (CC) blender.org (DASH, Live, 60min)", "http://b028.wpc.azureedge.net/80B028/Samples/859b335f-eebc-4ff1-ac03-98e9b614e2c1/0cc164eb-193e-48cb-bc6b-041cc28307e4.ism/manifest(format=mpd-time-csf)")
+ { PlayReady = true, Live = true, },
+ new AdaptiveContentModel(123, "30min Azure Media Services 24x7 Live PlayReady - (CC) blender.org (DASH, Live, 30min)", "http://b028.wpc.azureedge.net/80B028/Samples/859b335f-eebc-4ff1-ac03-98e9b614e2c1/0cc164eb-193e-48cb-bc6b-041cc28307e4.ism/manifest(format=mpd-time-csf,filter=30mindvr)")
+ { PlayReady = true, Live = true, },
+ new AdaptiveContentModel(124, "5min Azure Media Services 24x7 Live PlayReady - (CC) blender.org (DASH, Live, 5min)", "http://b028.wpc.azureedge.net/80B028/Samples/859b335f-eebc-4ff1-ac03-98e9b614e2c1/0cc164eb-193e-48cb-bc6b-041cc28307e4.ism/manifest(format=mpd-time-csf,filter=5mindvr)")
+ { PlayReady = true, Live = true, },
+ new AdaptiveContentModel(125, "2min Azure Media Services 24x7 Live PlayReady - (CC) blender.org (DASH, Live, 2min)", "http://b028.wpc.azureedge.net/80B028/Samples/859b335f-eebc-4ff1-ac03-98e9b614e2c1/0cc164eb-193e-48cb-bc6b-041cc28307e4.ism/manifest(format=mpd-time-csf,filter=2mindvr)")
+ { PlayReady = true, Live = true, },
+
// HLS streams with AES-128 CBC encryption:
new AdaptiveContentModel(11, "Sintel (HLS, AES-128 encryption) - (CC) durian.blender.org", "http://amssamples.streaming.mediaservices.windows.net/49b57c87-f5f3-48b3-ba22-c55cfdffa9cb/Sintel.ism/manifest(format=m3u8-aapl)")
{ Aes = true },
@@ -132,6 +157,10 @@ public override string ToString()
Aes = true,
AesToken = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cm46bWljcm9zb2Z0OmF6dXJlOm1lZGlhc2VydmljZXM6Y29udGVudGtleWlkZW50aWZpZXIiOiI5ZGRhMGJjYy01NmZiLTQxNDMtOWQzMi0zYWI5Y2M2ZWE4MGIiLCJpc3MiOiJodHRwOi8vdGVzdGFjcy5jb20vIiwiYXVkIjoidXJuOnRlc3QiLCJleHAiOjE3MTA4MDczODl9.lJXm5hmkp5ArRIAHqVJGefW2bcTzd91iZphoKDwa6w8"
},
+
+ // From: http://se-mashup.fokus.fraunhofer.de:8080/adinsertion-sample/scte.html
+ new AdaptiveContentModel(200, "Fraunhofer Fokus test stream (DASH, Live, SCTE35 emsg) - (Copyright) Fraunhofer Fokus", "http://vm2.dashif.org/livesim/scte35_1/testpic_2s/Manifest.mpd")
+ { Live = true },
};
public static IReadOnlyList GetKnownAzureMediaServicesModels()
diff --git a/Samples/AdaptiveStreaming/cs/SampleConfiguration.cs b/Samples/AdaptiveStreaming/cs/SampleConfiguration.cs
index 8e5fdca56e..a86998c913 100644
--- a/Samples/AdaptiveStreaming/cs/SampleConfiguration.cs
+++ b/Samples/AdaptiveStreaming/cs/SampleConfiguration.cs
@@ -31,6 +31,7 @@ public partial class MainPage : Page
new Scenario() { Title="Adaptive Streaming Tuning", ClassType=typeof(Scenario4_Tuning)},
new Scenario() { Title="Metadata", ClassType=typeof(Scenario5_Metadata)},
new Scenario() { Title="Ad Insertion", ClassType=typeof(Scenario6_AdInsertion)},
+ new Scenario() { Title="Live Seekable Range", ClassType=typeof(Scenario7_LiveSeekableRange)},
};
public static IReadOnlyList ContentManagementSystemStub = AdaptiveContentModel.GetKnownAzureMediaServicesModels();
@@ -86,4 +87,4 @@ public Symbol GetBitrateSymbol(uint currentBitrate)
return Symbol.ZeroBars;
}
}
-}
\ No newline at end of file
+}
diff --git a/Samples/AdaptiveStreaming/cs/Scenario1_SimplestAdaptiveStreaming.xaml b/Samples/AdaptiveStreaming/cs/Scenario1_SimplestAdaptiveStreaming.xaml
index 61c6169b0e..e53ae52edc 100644
--- a/Samples/AdaptiveStreaming/cs/Scenario1_SimplestAdaptiveStreaming.xaml
+++ b/Samples/AdaptiveStreaming/cs/Scenario1_SimplestAdaptiveStreaming.xaml
@@ -16,7 +16,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- Loaded="Page_OnLoaded"
mc:Ignorable="d">
@@ -31,6 +30,7 @@
An AdaptiveMediaSource is created implicitly when a manifest URI is used with MediaSource.CreateFromUri(uri).
No properties or callbacks of the AdaptiveMediaSource can be retrieved when it is created implicitly.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This scenario demonstrates a seekable range in Live content, also known as a Live DVR window.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Samples/AdaptiveStreaming/cs/Scenario7_LiveSeekableRange.xaml.cs b/Samples/AdaptiveStreaming/cs/Scenario7_LiveSeekableRange.xaml.cs
new file mode 100644
index 0000000000..0d4fb7dd9d
--- /dev/null
+++ b/Samples/AdaptiveStreaming/cs/Scenario7_LiveSeekableRange.xaml.cs
@@ -0,0 +1,515 @@
+//*********************************************************
+//
+// Copyright (c) Microsoft. All rights reserved.
+// This code is licensed under the MIT License (MIT).
+// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
+// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
+// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
+// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
+//
+//*********************************************************
+
+using SDKTemplate.Helpers;
+using SDKTemplate.Logging;
+using SDKTemplate.Logging.Extensions;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using Windows.Media;
+using Windows.Media.Core;
+using Windows.Media.Playback;
+using Windows.Media.Streaming.Adaptive;
+using Windows.UI.Core;
+using Windows.UI.Xaml;
+using Windows.UI.Xaml.Controls;
+using Windows.UI.Xaml.Navigation;
+using Windows.Web.Http;
+
+namespace SDKTemplate
+{
+ /// See the README.md for discussion of this scenario.
+
+ public sealed partial class Scenario7_LiveSeekableRange : Page
+ {
+ public Scenario7_LiveSeekableRange()
+ {
+ this.InitializeComponent();
+ }
+
+ protected override void OnNavigatedFrom(NavigationEventArgs e)
+ {
+ // Release handles on various media objects to ensure a quick clean-up
+ ContentSelectorControl.MediaPlaybackItem = null;
+ var mediaPlayer = mediaPlayerElement.MediaPlayer;
+ if (mediaPlayer != null)
+ {
+ mediaPlayerLogger?.Dispose();
+ mediaPlayerLogger = null;
+
+ UnregisterForDiscreteControls(mediaPlayer);
+ UnregisterForPositionUpdateControl(mediaPlayer);
+
+ UnregisterHandlers(mediaPlayer);
+
+ mediaPlayer.DisposeSource();
+ mediaPlayerElement.SetMediaPlayer(null);
+ mediaPlayer.Dispose();
+ }
+ }
+
+ private void UnregisterHandlers(MediaPlayer mediaPlayer)
+ {
+ mediaPlaybackItemLogger?.Dispose();
+ mediaPlaybackItemLogger = null;
+
+ mediaSourceLogger?.Dispose();
+ mediaSourceLogger = null;
+
+ adaptiveMediaSourceLogger?.Dispose();
+ adaptiveMediaSourceLogger = null;
+ }
+
+ private void Page_OnLoaded(object sender, RoutedEventArgs e)
+ {
+ var mediaPlayer = new MediaPlayer();
+
+ // We use a helper class that logs all the events for the MediaPlayer:
+ mediaPlayerLogger = new MediaPlayerLogger(LoggerControl, mediaPlayer);
+
+ // In addition to logging, we use the callbacks to update some UI elements in this scenario:
+ RegisterForDiscreteControls(mediaPlayer);
+ RegisterForPositionUpdateControls(mediaPlayer);
+
+ // Ensure we have PlayReady support, in case the user enters a DASH/PR Uri in the text box.
+ var prHelper = new PlayReadyHelper(LoggerControl);
+ prHelper.SetUpProtectionManager(mediaPlayer);
+ mediaPlayerElement.SetMediaPlayer(mediaPlayer);
+
+ ContentSelectorControl.Initialize(
+ mediaPlayer,
+ MainPage.ContentManagementSystemStub.Where(m => !m.Aes && m.Live),
+ null,
+ LoggerControl,
+ LoadSourceFromUriAsync);
+
+ // Initialize scenario specific layout:
+ ContentSelectorControl.SetAutoPlay(true);
+ mediaPlayerElement.AreTransportControlsEnabled = false;
+ LoggerControl.Height = 200;
+ }
+
+ #region Content Loading
+
+ private async Task LoadSourceFromUriAsync(Uri uri, HttpClient httpClient = null)
+ {
+ UnregisterHandlers(mediaPlayerElement.MediaPlayer);
+ mediaPlayerElement.MediaPlayer?.DisposeSource();
+
+ AdaptiveMediaSourceCreationResult result = null;
+ if (httpClient != null)
+ {
+ result = await AdaptiveMediaSource.CreateFromUriAsync(uri, httpClient);
+ }
+ else
+ {
+ result = await AdaptiveMediaSource.CreateFromUriAsync(uri);
+ }
+
+ MediaSource source;
+ if (result.Status == AdaptiveMediaSourceCreationStatus.Success)
+ {
+ var adaptiveMediaSource = result.MediaSource;
+
+ // We use a helper class that logs all the events for the AdaptiveMediaSource:
+ adaptiveMediaSourceLogger = new AdaptiveMediaSourceLogger(LoggerControl, adaptiveMediaSource);
+
+ source = MediaSource.CreateFromAdaptiveMediaSource(adaptiveMediaSource);
+
+ if (adaptiveMediaSource.MaxSeekableWindowSize.HasValue)
+ {
+ UpdateSeekableWindowControls(adaptiveMediaSource);
+ }
+ }
+ else
+ {
+ Log($"Error creating the AdaptiveMediaSource. Status: {result.Status}, ExtendedError.Message: {result.ExtendedError.Message}, ExtendedError.HResult: {result.ExtendedError.HResult.ToString("X8")}");
+ return null;
+ }
+
+ // We use a helper class that logs all the events for the MediaSource:
+ mediaSourceLogger = new MediaSourceLogger(LoggerControl, source);
+
+ // Save the original Uri.
+ source.CustomProperties["uri"] = uri.ToString();
+
+ // You're likely to put a content tracking id into the CustomProperties.
+ source.CustomProperties["contentId"] = Guid.NewGuid().ToString();
+
+ var mpItem = new MediaPlaybackItem(source);
+
+ // We use a helper class that logs all the events for the MediaPlaybackItem:
+ mediaPlaybackItemLogger = new MediaPlaybackItemLogger(LoggerControl, mpItem);
+
+ HideDescriptionOnSmallScreen();
+
+ return mpItem;
+ }
+
+ private async void HideDescriptionOnSmallScreen()
+ {
+ // On small screens, hide the description text to make room for the video.
+ await this.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
+ {
+ DescriptionText.Visibility = (ActualHeight < 500) ? Visibility.Collapsed : Visibility.Visible;
+ });
+ }
+ #endregion
+
+ #region CustomMediaControl
+
+ #region SeekableWindowControls
+
+ private void DesiredSeekableWindowSizeButton_Click(object sender, RoutedEventArgs e)
+ {
+ var adaptiveMediaSource = (mediaPlayerElement.MediaPlayer.Source as MediaPlaybackItem)?.Source?.AdaptiveMediaSource;
+ if (adaptiveMediaSource == null)
+ return;
+ TimeSpan result = adaptiveMediaSource.DesiredSeekableWindowSize.GetValueOrDefault();
+ if (TimeSpan.TryParse(DesiredSeekableWindowSize.Text, out result))
+ {
+ adaptiveMediaSource.DesiredSeekableWindowSize = result;
+ }
+ UpdateSeekableWindowControls();
+ }
+
+ private void DesiredLiveOffsetButton_Click(object sender, RoutedEventArgs e)
+ {
+ var adaptiveMediaSource = (mediaPlayerElement.MediaPlayer.Source as MediaPlaybackItem)?.Source?.AdaptiveMediaSource;
+ if (adaptiveMediaSource == null)
+ return;
+ TimeSpan result = adaptiveMediaSource.DesiredLiveOffset;
+ if (TimeSpan.TryParse(DesiredLiveOffset.Text, out result))
+ {
+ adaptiveMediaSource.DesiredLiveOffset = result;
+ }
+ UpdateSeekableWindowControls();
+ }
+
+ private void UpdateSeekableWindowControls()
+ {
+ var adaptiveMediaSource = (mediaPlayerElement.MediaPlayer.Source as MediaPlaybackItem)?.Source?.AdaptiveMediaSource;
+ UpdateSeekableWindowControls(adaptiveMediaSource);
+ }
+
+ private void UpdateSeekableWindowControls(AdaptiveMediaSource adaptiveMediaSource)
+ {
+ if (adaptiveMediaSource == null)
+ return;
+
+ var task = Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
+ {
+ MaxSeekableWindowSize.Text = adaptiveMediaSource.MaxSeekableWindowSize.HasValue ? $"{adaptiveMediaSource.MaxSeekableWindowSize.Value.ToString("c")}" : "";
+ DesiredSeekableWindowSize.Text = adaptiveMediaSource.DesiredSeekableWindowSize.HasValue ? $"{adaptiveMediaSource.DesiredSeekableWindowSize.Value.ToString("c")}" : "";
+ DesiredLiveOffset.Text = $"{adaptiveMediaSource.DesiredLiveOffset.ToString("c")}";
+ MinLiveOffset.Text = adaptiveMediaSource.MinLiveOffset.HasValue ? $"{adaptiveMediaSource.MinLiveOffset.Value.ToString("c")}" : "";
+ });
+ }
+
+ #endregion
+
+ #region PositionUpdateControl
+
+ double m_SliderFullScale = 100000.0; // Sets granularity of slider
+
+ TimeSpan m_PlaybackPositionMaxTime = TimeSpan.FromHours(1);
+ TimeSpan m_PlaybackPositionMinTime= TimeSpan.Zero;
+
+ private void RegisterForPositionUpdateControls(MediaPlayer mp)
+ {
+ // Setup slider
+ PositionSlider.Minimum = 0.0;
+ PositionSlider.Maximum = m_SliderFullScale;
+ PositionSlider.Value = 0.0;
+
+ // Register for events
+ mp.SourceChanged += PositionUpdateControl_SourceChanged;
+ mp.PlaybackSession.PositionChanged += PositionUpdateControl_PositionChanged;
+ mp.PlaybackSession.SeekableRangesChanged += PositionUpdateControl_SeekableRangesChanged;
+ }
+
+ private void PositionUpdateControl_SourceChanged(MediaPlayer sender, object args)
+ {
+ m_PlaybackPositionMaxTime = TimeSpan.FromHours(1);
+ m_PlaybackPositionMinTime = TimeSpan.Zero;
+ }
+
+ private void UnregisterForPositionUpdateControl(MediaPlayer mp)
+ {
+ mp.SourceChanged -= PositionUpdateControl_SourceChanged;
+ mp.PlaybackSession.PositionChanged -= PositionUpdateControl_PositionChanged;
+ mp.PlaybackSession.SeekableRangesChanged -= PositionUpdateControl_SeekableRangesChanged;
+ }
+
+ private void PositionUpdateControl_SeekableRangesChanged(MediaPlaybackSession sender, object args)
+ {
+ var seekableRanges = sender.GetSeekableRanges();
+ UpdateSeekableRangesControl(seekableRanges);
+ }
+
+ private void UpdateSeekableRangesControl(IReadOnlyList SeekableRanges)
+ {
+ if (SeekableRanges.Count > 0)
+ {
+ var SeekableRangeMin = SeekableRanges.First();
+ m_PlaybackPositionMinTime = SeekableRangeMin.Start;
+
+ var SeekableRangeMax = SeekableRanges.Last();
+ m_PlaybackPositionMaxTime = SeekableRangeMax.End;
+ }
+ else
+ {
+ m_PlaybackPositionMaxTime = TimeSpan.FromHours(1);
+ m_PlaybackPositionMinTime = TimeSpan.Zero;
+ }
+
+ var task = Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
+ {
+ StartPosition.Text = m_PlaybackPositionMinTime.ToString("c");
+ EndPosition.Text = m_PlaybackPositionMaxTime.ToString("c");
+ });
+
+ string ranges = "";
+ foreach (var range in SeekableRanges)
+ {
+ ranges += $"[{range.Start},{range.End}],";
+ }
+ ranges = ranges.TrimEnd(',');
+ Log($"MediaPlayer_PlaybackSession_SeekableRangesChanged: {ranges}");
+ }
+
+ private async void PositionUpdateControl_PositionChanged(MediaPlaybackSession sender, object args)
+ {
+ var postion = sender.Position;
+ var newSliderValue = GetSliderPositionAtPlaybackPosition(postion, m_SliderFullScale, m_PlaybackPositionMinTime, m_PlaybackPositionMaxTime);
+ await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
+ {
+ CurrentPosition.Text = postion.ToString("c");
+ PositionSlider.Value = newSliderValue;
+ });
+ }
+
+ #region PositionSlider events
+
+ private void SeekToRequestedPosition(TimeSpan requestedPosition)
+ {
+ Log($"Seeking to:{requestedPosition.ToString("c")}");
+ mediaPlayerElement.MediaPlayer.PlaybackSession.Position = requestedPosition;
+ }
+
+ #endregion
+
+ ///
+ /// We will use slider ticks to drive a playback Position.
+ ///
+ /// This is a linear interpolation, so:
+ /// y = m*x + b
+ /// Where:
+ /// Position = m*sliderPosition + b
+ ///
+ /// Where we have some data points:
+ ///
+ /// At MinPosition, we are at slider position=0
+ /// MinPosition = m * 0 + b
+ /// Thus:
+ /// b = MinPosition
+ ///
+ /// We choose a 100000 tick granularity for the slider,
+ /// at which point it will be at MaxPosition:
+ /// MaxPosition = m * 100000 + b
+ /// MaxPosition = m * 100000 + MinPosition
+ ///
+ /// Thus:
+ /// m = (MaxPosition - MinPosition) / 100000
+ /// m = (MaxPosition - MinPosition) / sliderFullScale
+ ///
+ /// And more generally, we have:
+ ///
+ /// PlaybackPosition = [(MaxPosition - MinPosition) / sliderFullScale] * SliderPosition + MinPosition
+ /// or:
+ /// PlaybackPosition = ((MaxPosition - MinPosition) * SliderPosition / sliderFullScale) + MinPosition
+ ///
+ ///
+ public TimeSpan GetPlaybackPosition(double sliderPosition, double sliderFullScale, TimeSpan MinPosition, TimeSpan MaxPosition)
+ {
+ if (sliderFullScale == 0)
+ return TimeSpan.Zero;
+ return TimeSpan.FromTicks((long)((MaxPosition - MinPosition).Ticks * sliderPosition / sliderFullScale) + MinPosition.Ticks);
+ }
+
+ ///
+ /// Given:
+ /// y = m * x + b
+ /// x = (y - b) /m
+ ///
+ /// Where from above:
+ /// b = MinPosition
+ /// m = (MaxPosition - MinPosition) / sliderFullScale
+ ///
+ /// We have:
+ /// Position = (PlaybackPosition - MinPosition) * sliderFullScale / (MaxPosition - MinPosition)
+ ///
+ ///
+ public double GetSliderPositionAtPlaybackPosition(TimeSpan playbackPosition, double sliderFullScale, TimeSpan MinPosition, TimeSpan MaxPosition)
+ {
+ if ((MaxPosition - MinPosition).Ticks == 0)
+ return 0;
+
+ if (playbackPosition == TimeSpan.Zero)
+ {
+ LoggerControl.Log("Transient playbackPosition == TimeSpan.Zero", LogViewLoggingLevel.Error);
+ }
+
+ var interpolatedPosition = (playbackPosition - MinPosition).Ticks * sliderFullScale / (MaxPosition - MinPosition).Ticks;
+
+ if (interpolatedPosition < 0)
+ {
+ interpolatedPosition = 0;
+ LoggerControl.Log("Transient calculatedPosition < 0", LogViewLoggingLevel.Error);
+ }
+
+ return interpolatedPosition;
+ }
+
+ #endregion
+
+
+ #region DiscreteControls
+
+ private void SeekFixedAmount_Click(object sender, RoutedEventArgs e)
+ {
+ TimeSpan amount = TimeSpan.Zero;
+ string selected = (sender as Button).Tag.ToString();
+ TimeSpan.TryParse(selected, out amount);
+ if (amount != TimeSpan.Zero)
+ {
+ var requestedPosition = mediaPlayerElement.MediaPlayer.PlaybackSession.Position + amount;
+ SeekToRequestedPosition(requestedPosition);
+ }
+ }
+
+ private void Play_Click(object sender, RoutedEventArgs e)
+ {
+ if(mediaPlayerElement.MediaPlayer.PlaybackSession.PlaybackState == MediaPlaybackState.Paused)
+ {
+ mediaPlayerElement.MediaPlayer.Play();
+ }
+ }
+
+ private void Pause_Click(object sender, RoutedEventArgs e)
+ {
+ if (mediaPlayerElement.MediaPlayer.PlaybackSession.PlaybackState == MediaPlaybackState.Playing)
+ {
+ mediaPlayerElement.MediaPlayer.Pause();
+ }
+ }
+
+ private void GoToStart_Click(object sender, RoutedEventArgs e)
+ {
+ if (mediaPlayerElement.MediaPlayer != null)
+ {
+ var seekableRanges = mediaPlayerElement.MediaPlayer.PlaybackSession.GetSeekableRanges();
+ if (seekableRanges.Count > 0)
+ {
+ UpdateSeekableRangesControl(seekableRanges);
+ var requestedPosition = seekableRanges[0].Start;
+ SeekToRequestedPosition(requestedPosition);
+ }
+ }
+ }
+
+ private void GoToLive_Click(object sender, RoutedEventArgs e)
+ {
+ if (mediaPlayerElement.MediaPlayer != null)
+ {
+ var seekableRanges = mediaPlayerElement.MediaPlayer.PlaybackSession.GetSeekableRanges();
+ if (seekableRanges.Count > 0)
+ {
+ UpdateSeekableRangesControl(seekableRanges);
+ var requestedPosition = seekableRanges[seekableRanges.Count-1].End;
+ SeekToRequestedPosition(requestedPosition);
+ }
+ }
+ }
+
+ private void RegisterForDiscreteControls(MediaPlayer mediaPlayer)
+ {
+ // PlaybackSession Events
+ mediaPlayer.PlaybackSession.PlaybackStateChanged += MediaPlayer_PlaybackSession_PlaybackStateChanged;
+ }
+
+ private void UnregisterForDiscreteControls(MediaPlayer mediaPlayer)
+ {
+ if (mediaPlayer == null)
+ {
+ return;
+ }
+
+ // PlaybackSession Events
+ mediaPlayer.PlaybackSession.PlaybackStateChanged -= MediaPlayer_PlaybackSession_PlaybackStateChanged;
+ }
+
+ private async void MediaPlayer_PlaybackSession_PlaybackStateChanged(MediaPlaybackSession sender, object args)
+ {
+ Log($"PlaybackSession_PlaybackStateChanged, PlaybackState: {sender.PlaybackState}");
+
+ await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
+ {
+ switch (sender.PlaybackState)
+ {
+ case MediaPlaybackState.None:
+ case MediaPlaybackState.Opening:
+ case MediaPlaybackState.Buffering:
+ PlayButton.IsEnabled = false;
+ PauseButton.IsEnabled = false;
+ break;
+ case MediaPlaybackState.Playing:
+ PlayButton.IsEnabled = false;
+ PauseButton.IsEnabled = true;
+ break;
+ case MediaPlaybackState.Paused:
+ PlayButton.IsEnabled = true;
+ PauseButton.IsEnabled = false;
+ break;
+ default:
+ break;
+ }
+ });
+ }
+
+ private void LogCurrentTimeCorrelation_Click(object sender, RoutedEventArgs e)
+ {
+ var adaptiveMediaSource = (mediaPlayerElement.MediaPlayer.Source as MediaPlaybackItem)?.Source?.AdaptiveMediaSource;
+ if (adaptiveMediaSource == null)
+ return;
+ var times = adaptiveMediaSource.GetCorrelatedTimes();
+ Log(times.ToJsonObject().ToString());
+ }
+ #endregion
+
+ #endregion // CustomMediaControl
+
+ #region Utilities
+ private void Log(string message)
+ {
+ LoggerControl.Log(message);
+ }
+ MediaPlayerLogger mediaPlayerLogger;
+ MediaSourceLogger mediaSourceLogger;
+ MediaPlaybackItemLogger mediaPlaybackItemLogger;
+ AdaptiveMediaSourceLogger adaptiveMediaSourceLogger;
+ #endregion
+
+ }
+
+}
diff --git a/Samples/AdvancedCasting/README.md b/Samples/AdvancedCasting/README.md
index d6f8bf4453..4c76c8efa2 100644
--- a/Samples/AdvancedCasting/README.md
+++ b/Samples/AdvancedCasting/README.md
@@ -61,8 +61,8 @@ Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/Advertising/README.md b/Samples/Advertising/README.md
index 4fbb16be5d..ca24fb0e9a 100644
--- a/Samples/Advertising/README.md
+++ b/Samples/Advertising/README.md
@@ -56,8 +56,8 @@ for more details.
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio�2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Advertising/cpp/Advertising.vcxproj b/Samples/Advertising/cpp/Advertising.vcxproj
index 17dabc0848..9d49cb3fde 100644
--- a/Samples/Advertising/cpp/Advertising.vcxproj
+++ b/Samples/Advertising/cpp/Advertising.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/AllJoyn/Common/Scenario1WinRTComponent/Scenario1WinRTComponent.vcxproj b/Samples/AllJoyn/Common/Scenario1WinRTComponent/Scenario1WinRTComponent.vcxproj
index 90395f1c46..44347cc5df 100644
--- a/Samples/AllJoyn/Common/Scenario1WinRTComponent/Scenario1WinRTComponent.vcxproj
+++ b/Samples/AllJoyn/Common/Scenario1WinRTComponent/Scenario1WinRTComponent.vcxproj
@@ -44,37 +44,37 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141true
diff --git a/Samples/AllJoyn/Common/Scenario2WinRTComponent/Scenario2WinRTComponent.vcxproj b/Samples/AllJoyn/Common/Scenario2WinRTComponent/Scenario2WinRTComponent.vcxproj
index 59f1e8519b..e2f10eab95 100644
--- a/Samples/AllJoyn/Common/Scenario2WinRTComponent/Scenario2WinRTComponent.vcxproj
+++ b/Samples/AllJoyn/Common/Scenario2WinRTComponent/Scenario2WinRTComponent.vcxproj
@@ -44,37 +44,37 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141true
diff --git a/Samples/AllJoyn/ConsumerExperiences/README.md b/Samples/AllJoyn/ConsumerExperiences/README.md
index c0580e6d53..14b67a4b1f 100644
--- a/Samples/AllJoyn/ConsumerExperiences/README.md
+++ b/Samples/AllJoyn/ConsumerExperiences/README.md
@@ -24,26 +24,26 @@ Specifically, this sample covers:
- Discovering and connecting to an Onboardee's SoftAP.
- Implementing method calls to get an Onboardee's network scan, configuring an Onboardee with WiFi credentials etc.
-**Note** The Universal Windows samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Universal Windows samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
### Samples
-[AllJoyn Producer Experiences](http://go.microsoft.com/fwlink/p/?LinkId=534025)
-[AllJoyn Consumer Experiences](http://go.microsoft.com/fwlink/p/?LinkID=534021)
+[AllJoyn Producer Experiences](http://go.microsoft.com/fwlink/p/?LinkId=534025)
+[AllJoyn Consumer Experiences](http://go.microsoft.com/fwlink/p/?LinkID=534021)
The AllSeen Alliance has samples in [Windows SDK](https://allseenalliance.org/developers/download)
### Reference
-[MSDN Reference](https://msdn.microsoft.com/library/windows/apps/windows.devices.alljoyn.aspx)
-[AllJoyn Reference] (https://allseenalliance.org/developers/develop/api-reference)
-[Troubleshooting AllJoyn blog](http://channel9.msdn.com/Blogs/Internet-of-Things-Blog/Troubleshooting-AllJoyn-with-Windows-10-Insider-Preview-Builds)
+[MSDN Reference](https://msdn.microsoft.com/library/windows/apps/windows.devices.alljoyn.aspx)
+[AllJoyn Reference](https://allseenalliance.org/developers/develop/api-reference)
+[Troubleshooting AllJoyn blog](http://channel9.msdn.com/Blogs/Internet-of-Things-Blog/Troubleshooting-AllJoyn-with-Windows-10-Insider-Preview-Builds)
## System requirements
@@ -57,8 +57,8 @@ ARM, ARM64, x86, or amd64 system
## Build the sample
-1. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the C# language. Double-click the Visual Studio 2015 Solution (.sln) file.
+1. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the C# language. Double-click the Visual Studio Solution (.sln) file.
3. Set the active solution configuration and platform to the desired values under **Build** \> **Configuration Manager**.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
diff --git a/Samples/AllJoyn/ProducerExperiences/README.md b/Samples/AllJoyn/ProducerExperiences/README.md
index 3db61ae201..ec5e9d8c13 100644
--- a/Samples/AllJoyn/ProducerExperiences/README.md
+++ b/Samples/AllJoyn/ProducerExperiences/README.md
@@ -24,26 +24,26 @@ Specifically, this sample covers:
- Creating and launching an Onboarding Producer.
- Handling the Onboarding interface's Method calls, Property get/set requests and Signals.
-**Note** The Universal Windows samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Universal Windows samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
### Samples
-[AllJoyn Producer Experiences](http://go.microsoft.com/fwlink/p/?LinkId=534025)
-[AllJoyn Consumer Experiences](http://go.microsoft.com/fwlink/p/?LinkID=534021)
+[AllJoyn Producer Experiences](http://go.microsoft.com/fwlink/p/?LinkId=534025)
+[AllJoyn Consumer Experiences](http://go.microsoft.com/fwlink/p/?LinkID=534021)
The AllSeen Alliance has samples in [Windows SDK](https://allseenalliance.org/developers/download)
### Reference
-[MSDN Reference](https://msdn.microsoft.com/library/windows/apps/windows.devices.alljoyn.aspx)
-[AllJoyn Reference] (https://allseenalliance.org/developers/develop/api-reference)
-[Troubleshooting AllJoyn blog](http://channel9.msdn.com/Blogs/Internet-of-Things-Blog/Troubleshooting-AllJoyn-with-Windows-10-Insider-Preview-Builds)
+[MSDN Reference](https://msdn.microsoft.com/library/windows/apps/windows.devices.alljoyn.aspx)
+[AllJoyn Reference](https://allseenalliance.org/developers/develop/api-reference)
+[Troubleshooting AllJoyn blog](http://channel9.msdn.com/Blogs/Internet-of-Things-Blog/Troubleshooting-AllJoyn-with-Windows-10-Insider-Preview-Builds)
## System requirements
@@ -57,8 +57,8 @@ ARM, ARM64, x86, or amd64 system
## Build the sample
-1. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the C# language. Double-click the Visual Studio 2015 Solution (.sln) file.
+1. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the C# language. Double-click the Visual Studio Solution (.sln) file.
3. Set the active solution configuration and platform to the desired values under **Build** \> **Configuration Manager**.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
diff --git a/Samples/Altimeter/README.md b/Samples/Altimeter/README.md
index 0a130cbae9..0a7513564c 100644
--- a/Samples/Altimeter/README.md
+++ b/Samples/Altimeter/README.md
@@ -38,8 +38,8 @@ When you choose the **Get Data** button for the **Polling** option, the app will
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Altimeter/cpp/Altimeter.vcxproj b/Samples/Altimeter/cpp/Altimeter.vcxproj
index 1f71ce2277..937d4f0699 100644
--- a/Samples/Altimeter/cpp/Altimeter.vcxproj
+++ b/Samples/Altimeter/cpp/Altimeter.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/AnimationLibrary/README.md b/Samples/AnimationLibrary/README.md
index f8a6307dcc..e003b4715c 100644
--- a/Samples/AnimationLibrary/README.md
+++ b/Samples/AnimationLibrary/README.md
@@ -42,11 +42,11 @@ The sample demonstrates the following animation scenarios:
This sample is written in HTML, CSS, and JavaScript. For the XAML version, see the [XAML personality animations sample](http://go.microsoft.com/fwlink/p/?linkid=242401) and the [XAML animations sample](http://go.microsoft.com/fwlink/p/?linkid=242404).
-**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Universal Windows app samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -104,8 +104,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/AnimationMetrics/README.md b/Samples/AnimationMetrics/README.md
index 1aa947fd02..b2d570ce3b 100644
--- a/Samples/AnimationMetrics/README.md
+++ b/Samples/AnimationMetrics/README.md
@@ -22,11 +22,11 @@ The sample shows the metrics involved in the following scenarios:
- Adding an item to a list
- Bringing a new page on the screen
-**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Universal Windows app samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -49,8 +49,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/AnimationMetrics/cpp/AnimationMetrics.vcxproj b/Samples/AnimationMetrics/cpp/AnimationMetrics.vcxproj
index 2b47c029bf..ab6cf31ef8 100644
--- a/Samples/AnimationMetrics/cpp/AnimationMetrics.vcxproj
+++ b/Samples/AnimationMetrics/cpp/AnimationMetrics.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/AppServices/README.md b/Samples/AppServices/README.md
index 8e40a2b2bf..8257422b9e 100644
--- a/Samples/AppServices/README.md
+++ b/Samples/AppServices/README.md
@@ -55,8 +55,8 @@ which an app service uses to receive and respond to messages.
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/ApplicationData/README.md b/Samples/ApplicationData/README.md
index 0fd354be5a..fb30969726 100644
--- a/Samples/ApplicationData/README.md
+++ b/Samples/ApplicationData/README.md
@@ -59,8 +59,8 @@ The sample covers these key tasks:
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/ApplicationResources/README.md b/Samples/ApplicationResources/README.md
index 9e5accbf59..34c324c3b3 100644
--- a/Samples/ApplicationResources/README.md
+++ b/Samples/ApplicationResources/README.md
@@ -19,11 +19,11 @@ The sample uses the [Windows.ApplicationModel.Resources.Core](http://msdn.micros
We encourage you to separate your resources, such as strings and files, from your app code, so you can maintain and alter your resources independently. You can use [Application Resources](http://msdn.microsoft.com/library/windows/apps/br225039) APIs to tailor your apps to a variety of device, system, and user configurations. Resources enable apps to be localized into multiple languages, customized for various device DPIs and form factors, and tailored for specific types of users.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -46,8 +46,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/ApplicationResources/cpp/ApplicationResources.vcxproj b/Samples/ApplicationResources/cpp/ApplicationResources.vcxproj
index c801bca46a..c6ebf36ebe 100644
--- a/Samples/ApplicationResources/cpp/ApplicationResources.vcxproj
+++ b/Samples/ApplicationResources/cpp/ApplicationResources.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/Appointments/README.md b/Samples/Appointments/README.md
index cc3aa623e0..d849730279 100644
--- a/Samples/Appointments/README.md
+++ b/Samples/Appointments/README.md
@@ -47,8 +47,8 @@ For more info about the concepts and APIs demonstrated in this sample, see these
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/AssociationLaunching/README.md b/Samples/AssociationLaunching/README.md
index 289ee07b89..b81081af97 100644
--- a/Samples/AssociationLaunching/README.md
+++ b/Samples/AssociationLaunching/README.md
@@ -65,8 +65,8 @@ To obtain an insider copy of Windows 10, go to [Windows 10](http://insider.windo
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/AudioCategory/README.md b/Samples/AudioCategory/README.md
index 8051e28c13..dfe7383e14 100644
--- a/Samples/AudioCategory/README.md
+++ b/Samples/AudioCategory/README.md
@@ -25,8 +25,8 @@ Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/AudioCreation/README.md b/Samples/AudioCreation/README.md
index fa4135ceba..7e062e16e9 100644
--- a/Samples/AudioCreation/README.md
+++ b/Samples/AudioCreation/README.md
@@ -72,7 +72,7 @@ The custom effect has a property set that can be modified by calling the **SetPr
Related topics
--------------
-[Windows.Media.Audio namespace] (https://msdn.microsoft.com/library/windows/apps/windows.media.audio.aspx)
+[Windows.Media.Audio namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.audio.aspx)
System requirements
@@ -86,8 +86,8 @@ Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/AudioCreation/cs/AudioCreation/Scenario1_FilePlayback.xaml.cs b/Samples/AudioCreation/cs/AudioCreation/Scenario1_FilePlayback.xaml.cs
index a11ecf9356..9bded98f21 100644
--- a/Samples/AudioCreation/cs/AudioCreation/Scenario1_FilePlayback.xaml.cs
+++ b/Samples/AudioCreation/cs/AudioCreation/Scenario1_FilePlayback.xaml.cs
@@ -60,6 +60,9 @@ protected override void OnNavigatedFrom(NavigationEventArgs e)
private async void File_Click(object sender, RoutedEventArgs e)
{
+ // Clear any old messages.
+ rootPage.NotifyUser("", NotifyType.StatusMessage);
+
// If another file is already loaded into the FileInput node
if (fileInput != null)
{
@@ -96,6 +99,16 @@ private async void File_Click(object sender, RoutedEventArgs e)
}
fileInput = fileInputResult.FileInputNode;
+
+ if (fileInput.Duration <= TimeSpan.FromSeconds(3))
+ {
+ // Imported file is too short
+ rootPage.NotifyUser("Please pick an audio file which is longer than 3 seconds", NotifyType.ErrorMessage);
+ fileInput.Dispose();
+ fileInput = null;
+ return;
+ }
+
fileInput.AddOutgoingConnection(deviceOutput);
fileButton.Background = new SolidColorBrush(Colors.Green);
diff --git a/Samples/BackButton/README.md b/Samples/BackButton/README.md
index 84eb1b8f0d..06db9295f4 100644
--- a/Samples/BackButton/README.md
+++ b/Samples/BackButton/README.md
@@ -40,8 +40,8 @@ To obtain an insider copy of Windows 10, go to [Windows 10](http://insider.windo
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/BackButton/cpp/SystemBack.vcxproj b/Samples/BackButton/cpp/SystemBack.vcxproj
index 04a61fab2f..133b91a91b 100644
--- a/Samples/BackButton/cpp/SystemBack.vcxproj
+++ b/Samples/BackButton/cpp/SystemBack.vcxproj
@@ -41,37 +41,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/BackgroundActivation/README.md b/Samples/BackgroundActivation/README.md
index 02deb0a589..3a194c722d 100644
--- a/Samples/BackgroundActivation/README.md
+++ b/Samples/BackgroundActivation/README.md
@@ -14,7 +14,7 @@ Shows how to create and register background tasks that will run in the main proc
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center.
-**Note** This Universal Windows app sample requires Visual Studio 2015 to build and Windows 10 Anniversay Update to execute.
+**Note** This Universal Windows app sample requires Visual Studio 2017 to build and Windows 10 Anniversay Update to execute.
A background task is triggered by a system or time event and can be constrained by one or more conditions. When a background task is triggered, OnBackgroundActivated is invoked and performs the work of the background task. A background task can run even when the app that registered the background task is suspended or not running.
@@ -72,8 +72,8 @@ Windows Phone 10 Anniversary Update
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/BackgroundActivation/cpp/BackgroundActivation.vcxproj b/Samples/BackgroundActivation/cpp/BackgroundActivation.vcxproj
index 1cf7431416..a09182a2c3 100644
--- a/Samples/BackgroundActivation/cpp/BackgroundActivation.vcxproj
+++ b/Samples/BackgroundActivation/cpp/BackgroundActivation.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/BackgroundMediaPlayback/README.md b/Samples/BackgroundMediaPlayback/README.md
index 5610938ac6..637e2c094e 100644
--- a/Samples/BackgroundMediaPlayback/README.md
+++ b/Samples/BackgroundMediaPlayback/README.md
@@ -334,8 +334,8 @@ Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/BackgroundSensors/README.md b/Samples/BackgroundSensors/README.md
index d0b437a72f..14bab0d4fd 100644
--- a/Samples/BackgroundSensors/README.md
+++ b/Samples/BackgroundSensors/README.md
@@ -42,8 +42,8 @@ Related topics
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/BackgroundSensors/cpp/BackgroundSensors.vcxproj b/Samples/BackgroundSensors/cpp/BackgroundSensors.vcxproj
index 211e0ee235..261b6739f5 100644
--- a/Samples/BackgroundSensors/cpp/BackgroundSensors.vcxproj
+++ b/Samples/BackgroundSensors/cpp/BackgroundSensors.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/BackgroundSensors/cpp/BackgroundTask/BackgroundTask.vcxproj b/Samples/BackgroundSensors/cpp/BackgroundTask/BackgroundTask.vcxproj
index 30eef8b118..13551f26d3 100644
--- a/Samples/BackgroundSensors/cpp/BackgroundTask/BackgroundTask.vcxproj
+++ b/Samples/BackgroundSensors/cpp/BackgroundTask/BackgroundTask.vcxproj
@@ -44,37 +44,37 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141true
diff --git a/Samples/BackgroundTask/README.md b/Samples/BackgroundTask/README.md
index cfc8cdc737..5ecb86b0be 100644
--- a/Samples/BackgroundTask/README.md
+++ b/Samples/BackgroundTask/README.md
@@ -76,8 +76,8 @@ Windows Phone 10
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/BackgroundTask/cpp/BackgroundTask/BackgroundTask.vcxproj b/Samples/BackgroundTask/cpp/BackgroundTask/BackgroundTask.vcxproj
index 566ea5f9f8..f27f0df527 100644
--- a/Samples/BackgroundTask/cpp/BackgroundTask/BackgroundTask.vcxproj
+++ b/Samples/BackgroundTask/cpp/BackgroundTask/BackgroundTask.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/BackgroundTask/cpp/Tasks/Tasks.vcxproj b/Samples/BackgroundTask/cpp/Tasks/Tasks.vcxproj
index 6208351a7c..7a69f3c73f 100644
--- a/Samples/BackgroundTask/cpp/Tasks/Tasks.vcxproj
+++ b/Samples/BackgroundTask/cpp/Tasks/Tasks.vcxproj
@@ -44,37 +44,37 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141true
diff --git a/Samples/BackgroundTransfer/README.md b/Samples/BackgroundTransfer/README.md
index 55ae2d7301..cc1157d255 100644
--- a/Samples/BackgroundTransfer/README.md
+++ b/Samples/BackgroundTransfer/README.md
@@ -67,8 +67,8 @@ For more information on network capabilities, see [How to set network capabiliti
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
### Deploying and running the Windows version of the sample
diff --git a/Samples/BackgroundTransfer/cpp/BackgroundTransfer/BackgroundTransfer.vcxproj b/Samples/BackgroundTransfer/cpp/BackgroundTransfer/BackgroundTransfer.vcxproj
index fb5a6518b3..047a29a6f5 100644
--- a/Samples/BackgroundTransfer/cpp/BackgroundTransfer/BackgroundTransfer.vcxproj
+++ b/Samples/BackgroundTransfer/cpp/BackgroundTransfer/BackgroundTransfer.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/BackgroundTransfer/cpp/Tasks/Tasks.vcxproj b/Samples/BackgroundTransfer/cpp/Tasks/Tasks.vcxproj
index 2a0915a18a..ed065264b6 100644
--- a/Samples/BackgroundTransfer/cpp/Tasks/Tasks.vcxproj
+++ b/Samples/BackgroundTransfer/cpp/Tasks/Tasks.vcxproj
@@ -44,37 +44,37 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141true
diff --git a/Samples/BarcodeScanner/README.md b/Samples/BarcodeScanner/README.md
index aef5999cbf..f07e87fbe1 100644
--- a/Samples/BarcodeScanner/README.md
+++ b/Samples/BarcodeScanner/README.md
@@ -18,7 +18,7 @@ This sample shows how to:
1. **Obtain the barcode scanner**
- Uses a [**DeviceWatcher**](https://docs.microsoft.com/en-us/uwp/api/Windows.Devices.Enumeration.DeviceWatcher)
+ Uses a [**DeviceWatcher**](https://docs.microsoft.com/uwp/api/Windows.Devices.Enumeration.DeviceWatcher)
to enumerate and select the first barcode scanner.
2. **Claim the barcode scanner for exclusive use**
@@ -47,20 +47,20 @@ This sample shows how to:
The app package manifest shows how to specify the device capability name for the Point of Service (POS) devices. All POS apps are required declare [DeviceCapability](http://msdn.microsoft.com/library/windows/apps/br211430) in the app package manifest, either by using "PointofService" as shown in this sample or by using a device specific GUID, such as "C243FFBD-3AFC-45E9-B3D3-2BA18BC7EBC5" for a barcode scanner.
-For a list of compatible barcode scanners, see [Barcode Scanner Compatible Hardware](https://docs.microsoft.com/en-us/windows/uwp/devices-sensors/barcode-scanner#compatible-hardware).
+For a list of compatible barcode scanners, see [Barcode Scanner Compatible Hardware](https://docs.microsoft.com/windows/uwp/devices-sensors/barcode-scanner#compatible-hardware).
-**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Universal Windows app samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
### Reference
[Windows.Devices.PointOfService namespace](http://msdn.microsoft.com/library/windows/apps/dn298071)
-[Barcode Scanner Compatible Hardware](https://docs.microsoft.com/en-us/windows/uwp/devices-sensors/barcode-scanner#compatible-hardware)
+[Barcode Scanner Compatible Hardware](https://docs.microsoft.com/windows/uwp/devices-sensors/barcode-scanner#compatible-hardware)
[USB HID POS Scanner specification](http://go.microsoft.com/fwlink/p/?linkid=309230)
[Windows app samples](http://go.microsoft.com/fwlink/p/?LinkID=227694)
@@ -75,8 +75,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/BarcodeScanner/cpp/BarcodeScanner.vcxproj b/Samples/BarcodeScanner/cpp/BarcodeScanner.vcxproj
index 6e4e2153e1..8f00d96c8f 100644
--- a/Samples/BarcodeScanner/cpp/BarcodeScanner.vcxproj
+++ b/Samples/BarcodeScanner/cpp/BarcodeScanner.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/Barometer/README.md b/Samples/Barometer/README.md
index a75e1c4f72..1ea7438a07 100644
--- a/Samples/Barometer/README.md
+++ b/Samples/Barometer/README.md
@@ -38,8 +38,8 @@ When you choose the **Get Data** button for the **Polling** option, the app will
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Barometer/cpp/Barometer.vcxproj b/Samples/Barometer/cpp/Barometer.vcxproj
index 9c779689a2..9dbffe7664 100644
--- a/Samples/Barometer/cpp/Barometer.vcxproj
+++ b/Samples/Barometer/cpp/Barometer.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/BasicFaceDetection/README.md b/Samples/BasicFaceDetection/README.md
index c36d154e9c..c4f0a01efe 100644
--- a/Samples/BasicFaceDetection/README.md
+++ b/Samples/BasicFaceDetection/README.md
@@ -23,11 +23,11 @@ Specifically, this sample shows how to:
- **Acquire a video frame** from a video capture stream and convert it to a format supported by FaceDetector
- **Retrieve results** from FaceDetector and visualize them
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -74,8 +74,8 @@ The FaceDetector is intended to operate on a static image or a single frame of v
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++ or C#). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++ or C#). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/BasicFaceDetection/cpp/BasicFaceDetection.vcxproj b/Samples/BasicFaceDetection/cpp/BasicFaceDetection.vcxproj
index 027102595f..b6c8909c3e 100644
--- a/Samples/BasicFaceDetection/cpp/BasicFaceDetection.vcxproj
+++ b/Samples/BasicFaceDetection/cpp/BasicFaceDetection.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/BasicFaceTracking/README.md b/Samples/BasicFaceTracking/README.md
index cd4c02164c..1baef91a3f 100644
--- a/Samples/BasicFaceTracking/README.md
+++ b/Samples/BasicFaceTracking/README.md
@@ -23,11 +23,11 @@ Specifically, this sample shows how to:
- **Acquire video frames** from the video capture stream and convert it to a format supported by FaceTracker
- **Retrieve results** from FaceTracker and visualize them
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -64,8 +64,8 @@ The FaceTracker is intended to operate on a running video stream and is optimize
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/BasicFaceTracking/cpp/BasicFaceTracking.vcxproj b/Samples/BasicFaceTracking/cpp/BasicFaceTracking.vcxproj
index b1dac9920b..72bba071a0 100644
--- a/Samples/BasicFaceTracking/cpp/BasicFaceTracking.vcxproj
+++ b/Samples/BasicFaceTracking/cpp/BasicFaceTracking.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/BasicInput/README.md b/Samples/BasicInput/README.md
index 3545748d11..bcc210ba5d 100644
--- a/Samples/BasicInput/README.md
+++ b/Samples/BasicInput/README.md
@@ -22,11 +22,11 @@ Specifically, this sample shows how to:
- **Manipulate a XAML element:** Use the ManipulationMode property to register for specific manipulation events on XAML elements and react to them in order to move and rotate the element.
- **Manipulate an object using a GestureRecognizer:** Use an instance of a GestureRecognizer to move and rotate an object. This is useful if your app uses its own framework and, thus, cannot use the manipulation events on XAML elements.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -55,8 +55,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/BasicInput/cpp/BasicInput.vcxproj b/Samples/BasicInput/cpp/BasicInput.vcxproj
index 137acd95bd..e8a672a732 100644
--- a/Samples/BasicInput/cpp/BasicInput.vcxproj
+++ b/Samples/BasicInput/cpp/BasicInput.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/BasicMediaCasting/README.md b/Samples/BasicMediaCasting/README.md
index 3a7d830543..2441677957 100644
--- a/Samples/BasicMediaCasting/README.md
+++ b/Samples/BasicMediaCasting/README.md
@@ -48,8 +48,8 @@ Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/BasicSuspension/README.md b/Samples/BasicSuspension/README.md
index 53ec0cd7d1..e91519cea5 100644
--- a/Samples/BasicSuspension/README.md
+++ b/Samples/BasicSuspension/README.md
@@ -21,7 +21,7 @@ Specifically, this sample covers:
From the Visual Studio debugging toolbar, use the Lifecycle Events menu to trigger suspend and resume events.
-**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Universal Windows app samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain an insider copy of Windows 10, go to [Windows 10](http://insider.windows.com).
@@ -45,8 +45,8 @@ To obtain an insider copy of Windows 10, go to [Windows 10](http://insider.windo
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/BluetoothAdvertisement/README.md b/Samples/BluetoothAdvertisement/README.md
index 21e7cea72c..b19a04b0a4 100644
--- a/Samples/BluetoothAdvertisement/README.md
+++ b/Samples/BluetoothAdvertisement/README.md
@@ -34,8 +34,8 @@ This sample allows the user to publish and watch for Bluetooth Low Energy advert
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/BluetoothLEClient/README.md b/Samples/BluetoothLEClient/README.md
index 690e5094e4..8df8286dcf 100644
--- a/Samples/BluetoothLEClient/README.md
+++ b/Samples/BluetoothLEClient/README.md
@@ -28,11 +28,11 @@ Search for "BT_Code" to find the portions of the sample that are particularly
relevant to Bluetooth.
Note in particular the "bluetooth" capability declaration in the manifest.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -67,8 +67,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio?2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/BluetoothRfcommChat/README.md b/Samples/BluetoothRfcommChat/README.md
index d4c37d3d56..917c415d94 100644
--- a/Samples/BluetoothRfcommChat/README.md
+++ b/Samples/BluetoothRfcommChat/README.md
@@ -38,11 +38,11 @@ Same as the Foreground Chat Server,
except that it initializes a Background task that runs only when a client device is connected.
The host device will advertise support for the custom service in the SDP record until the background task is unregistered.
-**Note:** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note:** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -66,8 +66,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
-1. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the language you desire - either C++, C#, or JavaScript. Double-click the Visual Studio 2015 Solution (.sln) file.
+1. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the language you desire - either C++, C#, or JavaScript. Double-click the Visual Studio Solution (.sln) file.
3. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Calendar/README.md b/Samples/Calendar/README.md
index 7797416f4f..e3b177a8a5 100644
--- a/Samples/Calendar/README.md
+++ b/Samples/Calendar/README.md
@@ -75,8 +75,8 @@ This scenario also demonstrates converting from a language-specific date type to
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Calendar/cpp/Calendar.vcxproj b/Samples/Calendar/cpp/Calendar.vcxproj
index 473e509b17..66b279698f 100644
--- a/Samples/Calendar/cpp/Calendar.vcxproj
+++ b/Samples/Calendar/cpp/Calendar.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CallerID/README.md b/Samples/CallerID/README.md
index 74831d7aa0..d05620b0aa 100644
--- a/Samples/CallerID/README.md
+++ b/Samples/CallerID/README.md
@@ -21,11 +21,11 @@ Specifically, this sample shows how to:
See the Package.appxmanifest file for the extensions and capabilities a Caller ID app must declare.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
### Reference
@@ -46,8 +46,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio?2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CameraAdvancedCapture/README.md b/Samples/CameraAdvancedCapture/README.md
index d75187cc12..259c0e46e0 100644
--- a/Samples/CameraAdvancedCapture/README.md
+++ b/Samples/CameraAdvancedCapture/README.md
@@ -84,8 +84,8 @@ This sample also implements a custom UI to better simulate the experience that a
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CameraAdvancedCapture/cpp/CameraAdvancedCapture.vcxproj b/Samples/CameraAdvancedCapture/cpp/CameraAdvancedCapture.vcxproj
index 5985e98c4f..dfcf6ac89b 100644
--- a/Samples/CameraAdvancedCapture/cpp/CameraAdvancedCapture.vcxproj
+++ b/Samples/CameraAdvancedCapture/cpp/CameraAdvancedCapture.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CameraFaceDetection/README.md b/Samples/CameraFaceDetection/README.md
index 96dbb67e2c..87d2edf067 100644
--- a/Samples/CameraFaceDetection/README.md
+++ b/Samples/CameraFaceDetection/README.md
@@ -68,8 +68,8 @@ This sample also implements a custom UI to better simulate the experience that a
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CameraFaceDetection/cpp/CameraFaceDetection.vcxproj b/Samples/CameraFaceDetection/cpp/CameraFaceDetection.vcxproj
index 77b3672f27..d8d5d9e2ae 100644
--- a/Samples/CameraFaceDetection/cpp/CameraFaceDetection.vcxproj
+++ b/Samples/CameraFaceDetection/cpp/CameraFaceDetection.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CameraFrames/README.md b/Samples/CameraFrames/README.md
index 0ad6104026..c259d670eb 100644
--- a/Samples/CameraFrames/README.md
+++ b/Samples/CameraFrames/README.md
@@ -41,7 +41,7 @@ Use the FrameReader class to read frames from a frame source as they arrive.
### Additional remarks
-**Note** The Windows universal samples for Windows 10 require Visual Studio 2015 Update 2
+**Note** The Windows universal samples for Windows 10 require Visual Studio 2017 Update 2
and Windows SDK version 14332 or above to build.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com).
@@ -64,10 +64,10 @@ To obtain information about Windows 10 development, go to the [Windows Dev Cente
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with
the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the
subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or
- JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+ JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CameraFrames/cpp/CameraFrames.vcxproj b/Samples/CameraFrames/cpp/CameraFrames.vcxproj
index a0bf218646..226e22f1b3 100644
--- a/Samples/CameraFrames/cpp/CameraFrames.vcxproj
+++ b/Samples/CameraFrames/cpp/CameraFrames.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/CameraGetPreviewFrame/README.md b/Samples/CameraGetPreviewFrame/README.md
index 375a5aa9b5..fbc9403e21 100644
--- a/Samples/CameraGetPreviewFrame/README.md
+++ b/Samples/CameraGetPreviewFrame/README.md
@@ -59,8 +59,8 @@ Due to the custom UI that this sample implements, any messages intended for the
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CameraGetPreviewFrame/cpp/CameraGetPreviewFrame.vcxproj b/Samples/CameraGetPreviewFrame/cpp/CameraGetPreviewFrame.vcxproj
index a83a3b97ff..406c4f31b6 100644
--- a/Samples/CameraGetPreviewFrame/cpp/CameraGetPreviewFrame.vcxproj
+++ b/Samples/CameraGetPreviewFrame/cpp/CameraGetPreviewFrame.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CameraHdr/README.md b/Samples/CameraHdr/README.md
index d91a59a517..20e05f5ccc 100644
--- a/Samples/CameraHdr/README.md
+++ b/Samples/CameraHdr/README.md
@@ -1,4 +1,4 @@
-
diff --git a/Samples/CameraManualControls/README.md b/Samples/CameraManualControls/README.md
index 9144134abf..4ff3f94c46 100644
--- a/Samples/CameraManualControls/README.md
+++ b/Samples/CameraManualControls/README.md
@@ -77,8 +77,8 @@ To keep code complexity low, but offer easier navigation between the different c
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CameraProfile/README.md b/Samples/CameraProfile/README.md
index ecc47e7cb6..aa57f0ccf7 100644
--- a/Samples/CameraProfile/README.md
+++ b/Samples/CameraProfile/README.md
@@ -19,31 +19,31 @@ addition, the developer can query the driver to see if it supports additional fe
This sample covers:
-Scenario 1: Locate a Record Specific Profile: You can use profiles to verify if a camera supports a specific resolution or
+Scenario 1: Locate a Record Specific Profile: You can use profiles to verify if a camera supports a specific resolution or
custom setting via querying for video profile. We demonstrate two methods:
- 1) When you choose "Find 640x480 30 FPS Recording Profile" button, we determine if the back video capture device supports
- a camera profile with a 640x480(WVGA) 30 FPS resolution. We first check if the back video capture device supports a Video
- Profile. We iterate through all the profiles the device supports to demonstrate available Video Profiles on the device. Then
- we search for the 640x480(WVGA) 30 FPS profile. If located, we initialize Media Capture Settings with this profile.
- 2) When you choose the "Find Custom Recording Profile" button, we are looking to see if a device supports a specific Custom
- Profile. The custom profile would allow the camera driver to optimize for additional features. For this demonstration we use
- a static profile for 640x480 30 FPS that is avaliable in the phone emulators.
+1. When you choose "Find 640x480 30 FPS Recording Profile" button, we determine if the back video capture device supports
+ a camera profile with a 640x480(WVGA) 30 FPS resolution. We first check if the back video capture device supports a Video
+ Profile. We iterate through all the profiles the device supports to demonstrate available Video Profiles on the device. Then
+ we search for the 640x480(WVGA) 30 FPS profile. If located, we initialize Media Capture Settings with this profile.
+2. When you choose the "Find Custom Recording Profile" button, we are looking to see if a device supports a specific Custom
+ Profile. The custom profile would allow the camera driver to optimize for additional features. For this demonstration we use
+ a static profile for 640x480 30 FPS that is avaliable in the phone emulators.
Scenario 2: Query Profile for Concurrency: This scenarios demonstrates using profiles to determine if a device is capable of streaming
-from both the front and rear video capture devices at the same time.
- 1) When you choose "Query for Concurrent Profile button, the app queries for a front and back device that supports a video profile. If a profile
- is supported on both devices we then check the devices for profiles that support concurrency. From the available profiles we look for a concurrent profile match on both
- devices. If a concurrent profile match is found, we initialize both front and back Media Capture settings of the devices to the concurrency profile.
+from both the front and rear video capture devices at the same time.
+1. When you choose "Query for Concurrent Profile button, the app queries for a front and back device that supports a video profile. If a profile
+ is supported on both devices we then check the devices for profiles that support concurrency. From the available profiles we look for a concurrent profile match on both
+ devices. If a concurrent profile match is found, we initialize both front and back Media Capture settings of the devices to the concurrency profile.
-Scenario 3: Query Profile for Hdr Support: This scenarios demonstrates using Camera Profile to determine if a device is capable of supporting
+Scenario 3: Query Profile for Hdr Support: This scenarios demonstrates using Camera Profile to determine if a device is capable of supporting
Hdr Video.
- 1) When you choose "Query Profile for HDR Support" button, the app will query the if the back video capture device supports a Video Profile. Then we query the available profiles
- to see if Hdr Video is supported calling the IsHdrVideoSupported() method. If so, we set Media Capture settings to the Hdr supported video profile and set Hdr Video mode to auto.
+1. When you choose "Query Profile for HDR Support" button, the app will query the if the back video capture device supports a Video Profile. Then we query the available profiles
+ to see if Hdr Video is supported calling the IsHdrVideoSupported() method. If so, we set Media Capture settings to the Hdr supported video profile and set Hdr Video mode to auto.
Related topics
--------------
-[Windows.Media.Capture.MediaCapture namespace] (https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
-[Windows.Devices.Enumeration namespace] (https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
+[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
+[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
**Conceptual**
@@ -58,16 +58,17 @@ Related topics
System requirements
-----------------------------
Camera that supports Video Profiles
-Client
-Windows 10
-Windows Phone 10
+
+**Client:** Windows 10
+
+**Phone:** Windows 10
Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/CameraProfile/cpp/CameraProfile.vcxproj b/Samples/CameraProfile/cpp/CameraProfile.vcxproj
index 348cf1e574..1a853d3d8d 100644
--- a/Samples/CameraProfile/cpp/CameraProfile.vcxproj
+++ b/Samples/CameraProfile/cpp/CameraProfile.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CameraResolution/README.md b/Samples/CameraResolution/README.md
index 261604ac0d..3b68d94832 100644
--- a/Samples/CameraResolution/README.md
+++ b/Samples/CameraResolution/README.md
@@ -81,8 +81,8 @@ the changes will be reflected in any videos taken with the video button.
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CameraResolution/cpp/CameraResolution.vcxproj b/Samples/CameraResolution/cpp/CameraResolution.vcxproj
index d7c317127c..0373c5e0db 100644
--- a/Samples/CameraResolution/cpp/CameraResolution.vcxproj
+++ b/Samples/CameraResolution/cpp/CameraResolution.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CameraStarterKit/README.md b/Samples/CameraStarterKit/README.md
index 9ef8c158de..f026a76d25 100644
--- a/Samples/CameraStarterKit/README.md
+++ b/Samples/CameraStarterKit/README.md
@@ -44,7 +44,7 @@ For apps that are interested in capturing a photo or video without requiring acc
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
-[Windows.Devices.Enumeration.EnclosureLocation namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.enclosurelocation.aspx)
+[Windows.Devices.Enumeration.EnclosureLocation namespace](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.enclosurelocation.aspx)
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.deviceinformation)
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.display.displayinformation.aspx)
@@ -69,8 +69,8 @@ For apps that are interested in capturing a photo or video without requiring acc
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CameraStarterKit/cpp/CameraStarterKit.vcxproj b/Samples/CameraStarterKit/cpp/CameraStarterKit.vcxproj
index e34f3e616d..059fd053ff 100644
--- a/Samples/CameraStarterKit/cpp/CameraStarterKit.vcxproj
+++ b/Samples/CameraStarterKit/cpp/CameraStarterKit.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CameraStreamCorrelation/README.md b/Samples/CameraStreamCorrelation/README.md
index 6dace18117..5481c29598 100644
--- a/Samples/CameraStreamCorrelation/README.md
+++ b/Samples/CameraStreamCorrelation/README.md
@@ -48,7 +48,7 @@ This sample also demonstrate how camera vendors can use a WinRT library to wrap
camera frame layout into WinRT class so that apps can easily consume the vendor specific data
with same coding patterns as Windows APIs.
-**Note** The Windows universal samples for Windows 10 require Visual Studio 2015 Update 2
+**Note** The Windows universal samples for Windows 10 require Visual Studio 2017 Update 2
and Windows SDK version 14393 or above to build.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com).
@@ -75,10 +75,10 @@ To obtain information about Windows 10 development, go to the [Windows Dev Cente
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with
the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the
subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or
- JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+ JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CameraStreamCorrelation/cpp/CameraStreamCorrelation.vcxproj b/Samples/CameraStreamCorrelation/cpp/CameraStreamCorrelation.vcxproj
index 8e75f69521..fcf205ef17 100644
--- a/Samples/CameraStreamCorrelation/cpp/CameraStreamCorrelation.vcxproj
+++ b/Samples/CameraStreamCorrelation/cpp/CameraStreamCorrelation.vcxproj
@@ -42,35 +42,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/CameraStreamCorrelation/cpp/PoseTrackingPreview/PoseTrackingPreview.vcxproj b/Samples/CameraStreamCorrelation/cpp/PoseTrackingPreview/PoseTrackingPreview.vcxproj
index 04048b73bd..be67ebc6d8 100644
--- a/Samples/CameraStreamCorrelation/cpp/PoseTrackingPreview/PoseTrackingPreview.vcxproj
+++ b/Samples/CameraStreamCorrelation/cpp/PoseTrackingPreview/PoseTrackingPreview.vcxproj
@@ -43,35 +43,35 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141
diff --git a/Samples/CameraVideoStabilization/README.md b/Samples/CameraVideoStabilization/README.md
index 20ae848859..6ac745ebce 100644
--- a/Samples/CameraVideoStabilization/README.md
+++ b/Samples/CameraVideoStabilization/README.md
@@ -78,8 +78,8 @@ This sample also implements a custom UI to better simulate the experience that a
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CameraVideoStabilization/cpp/CameraVideoStabilization.vcxproj b/Samples/CameraVideoStabilization/cpp/CameraVideoStabilization.vcxproj
index f73ed08cce..a668e8afaa 100644
--- a/Samples/CameraVideoStabilization/cpp/CameraVideoStabilization.vcxproj
+++ b/Samples/CameraVideoStabilization/cpp/CameraVideoStabilization.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CashDrawer/README.md b/Samples/CashDrawer/README.md
index ee425856ec..9df039e07c 100644
--- a/Samples/CashDrawer/README.md
+++ b/Samples/CashDrawer/README.md
@@ -29,11 +29,11 @@ Specifically, this sample shows how to:
This scenario demonstrates the claim/release model used by the Cash Drawer API by allowing the user to manager two cash drawer instances with UI controls for claiming, retaining, and releasing the drawer objects.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -58,8 +58,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CashDrawer/cpp/CashDrawer.vcxproj b/Samples/CashDrawer/cpp/CashDrawer.vcxproj
index b9bbd7e627..0df73539ce 100644
--- a/Samples/CashDrawer/cpp/CashDrawer.vcxproj
+++ b/Samples/CashDrawer/cpp/CashDrawer.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CashDrawer/cpp/Scenario2_CloseDrawer.xaml.cpp b/Samples/CashDrawer/cpp/Scenario2_CloseDrawer.xaml.cpp
index 6cce10cf0b..68c8d757ac 100644
--- a/Samples/CashDrawer/cpp/Scenario2_CloseDrawer.xaml.cpp
+++ b/Samples/CashDrawer/cpp/Scenario2_CloseDrawer.xaml.cpp
@@ -123,28 +123,35 @@ void Scenario2_CloseDrawer::WaitForDrawerCloseButton_Click(Object^ sender, Route
return;
}
- TimeSpan alarmTimeSpan;
- alarmTimeSpan.Duration = 300000000L; // 30 second alarm timeout
- alarm->AlarmTimeout = alarmTimeSpan;
+ if (!claimedDrawer->IsDrawerOpen)
+ {
+ rootPage->NotifyUser("Drawer is already closed.", NotifyType::StatusMessage);
+ }
+ else
+ {
+ TimeSpan alarmTimeSpan;
+ alarmTimeSpan.Duration = 300000000L; // 30 second alarm timeout
+ alarm->AlarmTimeout = alarmTimeSpan;
- alarmTimeSpan.Duration = 30000000L; // 3 second delay
- alarm->BeepDelay = alarmTimeSpan;
+ alarmTimeSpan.Duration = 30000000L; // 3 second delay
+ alarm->BeepDelay = alarmTimeSpan;
- alarmTimeSpan.Duration = 10000000L; // 1 second duration
- alarm->BeepDuration = alarmTimeSpan;
+ alarmTimeSpan.Duration = 10000000L; // 1 second duration
+ alarm->BeepDuration = alarmTimeSpan;
- alarm->BeepFrequency = 700;
- alarm->AlarmTimeoutExpired += ref new TypedEventHandler(this, &Scenario2_CloseDrawer::drawer_AlarmExpired);
+ alarm->BeepFrequency = 700;
+ alarm->AlarmTimeoutExpired += ref new TypedEventHandler(this, &Scenario2_CloseDrawer::drawer_AlarmExpired);
- rootPage->NotifyUser("Waiting for drawer to close.", NotifyType::StatusMessage);
+ rootPage->NotifyUser("Waiting for drawer to close.", NotifyType::StatusMessage);
- create_task(alarm->StartAsync()).then([this](bool success)
- {
- if (success)
- rootPage->NotifyUser("Successfully waited for drawer close.", NotifyType::StatusMessage);
- else
- rootPage->NotifyUser("Failed to wait for drawer close.", NotifyType::ErrorMessage);
- });
+ create_task(alarm->StartAsync()).then([this](bool success)
+ {
+ if (success)
+ rootPage->NotifyUser("Successfully waited for drawer close.", NotifyType::StatusMessage);
+ else
+ rootPage->NotifyUser("Failed to wait for drawer close.", NotifyType::ErrorMessage);
+ });
+ }
}
diff --git a/Samples/CashDrawer/cs/Scenario2_CloseDrawer.xaml.cs b/Samples/CashDrawer/cs/Scenario2_CloseDrawer.xaml.cs
index c3e7784bcd..d1cba85f3d 100644
--- a/Samples/CashDrawer/cs/Scenario2_CloseDrawer.xaml.cs
+++ b/Samples/CashDrawer/cs/Scenario2_CloseDrawer.xaml.cs
@@ -116,19 +116,26 @@ private async void WaitForDrawerCloseButton_Click(object sender, RoutedEventArgs
return;
}
- // TimeSpan specifies a time period as (hours, minutes, seconds)
- alarm.AlarmTimeout = new TimeSpan(0, 0, 30);
- alarm.BeepDelay = new TimeSpan(0, 0, 3);
- alarm.BeepDuration = new TimeSpan(0, 0, 1);
- alarm.BeepFrequency = 700;
- alarm.AlarmTimeoutExpired += drawer_AlarmExpired;
+ if (!claimedDrawer.IsDrawerOpen)
+ {
+ rootPage.NotifyUser("Drawer is already closed.", NotifyType.StatusMessage);
+ }
+ else
+ {
+ // TimeSpan specifies a time period as (hours, minutes, seconds)
+ alarm.AlarmTimeout = new TimeSpan(0, 0, 30);
+ alarm.BeepDelay = new TimeSpan(0, 0, 3);
+ alarm.BeepDuration = new TimeSpan(0, 0, 1);
+ alarm.BeepFrequency = 700;
+ alarm.AlarmTimeoutExpired += drawer_AlarmExpired;
- rootPage.NotifyUser("Waiting for drawer to close.", NotifyType.StatusMessage);
+ rootPage.NotifyUser("Waiting for drawer to close.", NotifyType.StatusMessage);
- if (await alarm.StartAsync())
- rootPage.NotifyUser("Successfully waited for drawer close.", NotifyType.StatusMessage);
- else
- rootPage.NotifyUser("Failed to wait for drawer close.", NotifyType.ErrorMessage);
+ if (await alarm.StartAsync())
+ rootPage.NotifyUser("Successfully waited for drawer close.", NotifyType.StatusMessage);
+ else
+ rootPage.NotifyUser("Failed to wait for drawer close.", NotifyType.ErrorMessage);
+ }
}
///
diff --git a/Samples/CashDrawer/js/js/scenario2_CloseDrawer.js b/Samples/CashDrawer/js/js/scenario2_CloseDrawer.js
index 306db22f7a..e7e79c47fa 100644
--- a/Samples/CashDrawer/js/js/scenario2_CloseDrawer.js
+++ b/Samples/CashDrawer/js/js/scenario2_CloseDrawer.js
@@ -101,26 +101,31 @@
WinJS.log("Waiting for drawer to close.", "sample", "status");
- var alarm = _claimedDrawer.closeAlarm;
-
- // Specifying time periods in milliseconds
- alarm.alarmTimeout = new Date(30000);
- alarm.beepDelay = new Date(3000);
- alarm.beepDuration = new Date(1000);
- alarm.beepFrequency = 700;
-
- _claimedDrawer.addEventListener("alarmtimeoutexpired", onAlarmExpired);
-
- try {
- alarm.startAsync().then(function (success) {
- if (success)
- WinJS.log("Successfully waited for drawer close.", "sample", "status");
- else
- WinJS.log("Failed to wait for drawer close.", "sample", "error");
- });
+ if (!_claimedDrawer.IsDrawerOpen) {
+ WinJS.log("Drawer is already closed.", "sample", "status");
}
- catch (err) {
- WinJS.log("error caught" + err.message);
+ else {
+ var alarm = _claimedDrawer.closeAlarm;
+
+ // Specifying time periods in milliseconds
+ alarm.alarmTimeout = new Date(30000);
+ alarm.beepDelay = new Date(3000);
+ alarm.beepDuration = new Date(1000);
+ alarm.beepFrequency = 700;
+
+ _claimedDrawer.addEventListener("alarmtimeoutexpired", onAlarmExpired);
+
+ try {
+ alarm.startAsync().then(function (success) {
+ if (success)
+ WinJS.log("Successfully waited for drawer close.", "sample", "status");
+ else
+ WinJS.log("Failed to wait for drawer close.", "sample", "error");
+ });
+ }
+ catch (err) {
+ WinJS.log("error caught" + err.message);
+ }
}
}
diff --git a/Samples/ClientDeviceInformation/README.md b/Samples/ClientDeviceInformation/README.md
index ffe0c03793..d430b83c4d 100644
--- a/Samples/ClientDeviceInformation/README.md
+++ b/Samples/ClientDeviceInformation/README.md
@@ -29,8 +29,8 @@ Shows how to retrieve device information such as operating system and manufactur
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/ClientDeviceInformation/cpp/ClientDeviceInformation.vcxproj b/Samples/ClientDeviceInformation/cpp/ClientDeviceInformation.vcxproj
index 6f1122c139..75ddb0b81c 100644
--- a/Samples/ClientDeviceInformation/cpp/ClientDeviceInformation.vcxproj
+++ b/Samples/ClientDeviceInformation/cpp/ClientDeviceInformation.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/Clipboard/README.md b/Samples/Clipboard/README.md
index 419cb355f3..56f1add5d9 100644
--- a/Samples/Clipboard/README.md
+++ b/Samples/Clipboard/README.md
@@ -26,11 +26,11 @@ This sample covers the following:
- How to get the formats on the Clipboard
- How to detect changes to the Clipboard
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -52,8 +52,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Clipboard/cpp/Clipboard.vcxproj b/Samples/Clipboard/cpp/Clipboard.vcxproj
index 669a6c9ce2..5c67215e9f 100644
--- a/Samples/Clipboard/cpp/Clipboard.vcxproj
+++ b/Samples/Clipboard/cpp/Clipboard.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CommunicationBlockAndFilter/README.md b/Samples/CommunicationBlockAndFilter/README.md
index 9eb1b9bc90..97dad9c7b8 100755
--- a/Samples/CommunicationBlockAndFilter/README.md
+++ b/Samples/CommunicationBlockAndFilter/README.md
@@ -34,11 +34,11 @@ This sample demonstrates how to
See the Package.appxmanifest file for the extensions and capabilities
a communication blocking and filtering app must declare.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -64,8 +64,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
-1. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the C\# language. Double-click the Visual Studio 2015 Solution (.sln) file.
+1. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the C\# language. Double-click the Visual Studio Solution (.sln) file.
3. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Compass/README.md b/Samples/Compass/README.md
index ce2ab4da62..ce747b58fa 100644
--- a/Samples/Compass/README.md
+++ b/Samples/Compass/README.md
@@ -47,8 +47,8 @@ Allows the user to simulate sensor accuracy and demonstrates usage of the calibr
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Compass/cpp/Compass.vcxproj b/Samples/Compass/cpp/Compass.vcxproj
index 8bf7b50e18..46aacea7a8 100644
--- a/Samples/Compass/cpp/Compass.vcxproj
+++ b/Samples/Compass/cpp/Compass.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/ComplexInk/README.md b/Samples/ComplexInk/README.md
index df9fe29eb2..53f52c3f35 100644
--- a/Samples/ComplexInk/README.md
+++ b/Samples/ComplexInk/README.md
@@ -34,7 +34,7 @@ Specifically, this sample covers using the [Windows.UI.Input.Inking](http://msdn
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
--------------
@@ -56,8 +56,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/ComplexInk/cpp/ComplexInk.vcxproj b/Samples/ComplexInk/cpp/ComplexInk.vcxproj
index 8436a1852c..6db9324cd9 100644
--- a/Samples/ComplexInk/cpp/ComplexInk.vcxproj
+++ b/Samples/ComplexInk/cpp/ComplexInk.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CompositionVisual/README.md b/Samples/CompositionVisual/README.md
index bd612a3299..ccc2976d92 100644
--- a/Samples/CompositionVisual/README.md
+++ b/Samples/CompositionVisual/README.md
@@ -30,12 +30,12 @@ The sample demonstrates the following:
* Receiving input and
changing opacity of a [Visual](https://msdn.microsoft.com/library/windows.ui.composition.visual.aspx) based on that input.
-**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Universal Windows app samples require Visual Studio 2017 to build and Windows 10 to execute.
(See additional discussion below under **Prerequisites**.)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421).
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422).
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422).
## Prerequisites
@@ -76,8 +76,8 @@ Stay current on all of the latest issues for the most recent SDK by reviewing ou
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CompositionVisual/cpp/CompositionVisual.vcxproj b/Samples/CompositionVisual/cpp/CompositionVisual.vcxproj
index c4538343f0..1c26b29154 100644
--- a/Samples/CompositionVisual/cpp/CompositionVisual.vcxproj
+++ b/Samples/CompositionVisual/cpp/CompositionVisual.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/Compression/README.md b/Samples/Compression/README.md
index e088d322f8..fcea4d39fe 100644
--- a/Samples/Compression/README.md
+++ b/Samples/Compression/README.md
@@ -31,7 +31,7 @@ Specifically, this sample shows the following:
- Read the compressed data from a file.
- Decompress the data.
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Operating system requirements
@@ -50,8 +50,8 @@ Windows 10 Mobile
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Compression/cpp/Compression.vcxproj b/Samples/Compression/cpp/Compression.vcxproj
index ff57ad5846..bb78c72dba 100644
--- a/Samples/Compression/cpp/Compression.vcxproj
+++ b/Samples/Compression/cpp/Compression.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/ContactCardIntegration/README.md b/Samples/ContactCardIntegration/README.md
index 5b20fdf2c4..282ac7f9f4 100644
--- a/Samples/ContactCardIntegration/README.md
+++ b/Samples/ContactCardIntegration/README.md
@@ -17,7 +17,7 @@ Shows how to integrate your app into the People App's contact card and the Mini
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -44,8 +44,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio?2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/ContactCards/README.md b/Samples/ContactCards/README.md
index 380487db99..689c4810e1 100644
--- a/Samples/ContactCards/README.md
+++ b/Samples/ContactCards/README.md
@@ -43,11 +43,11 @@ This sample has three scenarios.
Not all devices support mini contact cards.
The samples also demonstrate how to detect support for mini contact cards.
-**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Universal Windows app samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -72,8 +72,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/ContactCards/cpp/ContactCards.vcxproj b/Samples/ContactCards/cpp/ContactCards.vcxproj
index a7eb0e29ee..526764906c 100644
--- a/Samples/ContactCards/cpp/ContactCards.vcxproj
+++ b/Samples/ContactCards/cpp/ContactCards.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/ContactPicker/README.md b/Samples/ContactPicker/README.md
index 7452193abf..5f059f6c9f 100644
--- a/Samples/ContactPicker/README.md
+++ b/Samples/ContactPicker/README.md
@@ -22,11 +22,11 @@ The sample demonstrates the following tasks:
- Picking the email addresses of multiple contacts.
- Picking the phone numbers of multiple contacts.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -50,8 +50,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/ContactPicker/cpp/ContactPicker.vcxproj b/Samples/ContactPicker/cpp/ContactPicker.vcxproj
index a8725fea82..72c33c0a5e 100644
--- a/Samples/ContactPicker/cpp/ContactPicker.vcxproj
+++ b/Samples/ContactPicker/cpp/ContactPicker.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/ContentIndexer/README.md b/Samples/ContentIndexer/README.md
index f9478e1a1e..a52caeabf5 100644
--- a/Samples/ContentIndexer/README.md
+++ b/Samples/ContentIndexer/README.md
@@ -48,11 +48,11 @@ The sample demonstrates these tasks:
Uses the [CreateFileQuery](http://msdn.microsoft.com/library/windows/apps/br227252) and [CreateFileQueryWithOptions](http://msdn.microsoft.com/library/windows/apps/br211591) methods to query the system index for file properties.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -74,8 +74,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/ContentIndexer/cpp/ContentIndexer.vcxproj b/Samples/ContentIndexer/cpp/ContentIndexer.vcxproj
index 8ddaccb85f..1af0dabaad 100644
--- a/Samples/ContentIndexer/cpp/ContentIndexer.vcxproj
+++ b/Samples/ContentIndexer/cpp/ContentIndexer.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/ContextMenu/README.md b/Samples/ContextMenu/README.md
index b50e8c9d9b..6b17401c9e 100644
--- a/Samples/ContextMenu/README.md
+++ b/Samples/ContextMenu/README.md
@@ -31,11 +31,11 @@ Additional APIs for this sample include:
- [UICommand](http://msdn.microsoft.com/library/windows/apps/br242166) class
- [UICommandSeparator](http://msdn.microsoft.com/library/windows/apps/br242168) class
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -54,8 +54,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/ContextMenu/cpp/ContextMenu.vcxproj b/Samples/ContextMenu/cpp/ContextMenu.vcxproj
index ad57a207c4..9cf94d33fc 100644
--- a/Samples/ContextMenu/cpp/ContextMenu.vcxproj
+++ b/Samples/ContextMenu/cpp/ContextMenu.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CortanaVoiceCommand/README.md b/Samples/CortanaVoiceCommand/README.md
index a2f08467a7..85d3989496 100644
--- a/Samples/CortanaVoiceCommand/README.md
+++ b/Samples/CortanaVoiceCommand/README.md
@@ -32,8 +32,9 @@ Specifically, this sample covers:
**WinJS:**
-- Installing a VCD file. (default.js, AdventureWorksCommands.xml)
-- Updating a phrase list within a VCD file at runtime. (default.js, tripDetails.js)
+- Installing a VCD file. (installVCD.js, AdventureWorksCommands.xml)
+- Using a WebWorker to install the VCD in the background, speeding up app initialization (default.js, installVCD.js)
+- Updating a phrase list within a VCD file at runtime. (installVCD.js, tripDetails.js)
- Registration of a background task and protocol handler for Cortana (Package.appxmanifest, AdventureWorksCommands.xml)
- Implement a background task and Voice Command services for Cortana (voiceCommandService.js), including:
- Simple headless Cortana background activation for displaying content within Cortana (when is my trip to *destination*)
@@ -98,6 +99,7 @@ Duplicates can also be handled. For an example of handling disambiguation, add a
[Family Notes sample](https://github.com/Microsoft/Windows-appsample-familynotes)
[Hue Lights sample](https://github.com/Microsoft/Windows-appsample-huelightcontroller)
+[WebWorkers](https://msdn.microsoft.com/library/hh673568.aspx)
## System requirements
@@ -114,8 +116,8 @@ Cortana requires an appropriate recording device, and the system must be associa
**Note:** This sample has special instructions in the Setup section above.
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CortanaVoiceCommand/cpp/AdventureWorks.Shared/AdventureWorks.Shared.vcxproj b/Samples/CortanaVoiceCommand/cpp/AdventureWorks.Shared/AdventureWorks.Shared.vcxproj
index 1091fa73db..580fe4f612 100644
--- a/Samples/CortanaVoiceCommand/cpp/AdventureWorks.Shared/AdventureWorks.Shared.vcxproj
+++ b/Samples/CortanaVoiceCommand/cpp/AdventureWorks.Shared/AdventureWorks.Shared.vcxproj
@@ -43,35 +43,35 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141
diff --git a/Samples/CortanaVoiceCommand/cpp/AdventureWorks/AdventureWorks.vcxproj b/Samples/CortanaVoiceCommand/cpp/AdventureWorks/AdventureWorks.vcxproj
index 5f881730a7..02f45d9079 100644
--- a/Samples/CortanaVoiceCommand/cpp/AdventureWorks/AdventureWorks.vcxproj
+++ b/Samples/CortanaVoiceCommand/cpp/AdventureWorks/AdventureWorks.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/CortanaVoiceCommand/cpp/VoiceCommandService/VoiceCommandService.vcxproj b/Samples/CortanaVoiceCommand/cpp/VoiceCommandService/VoiceCommandService.vcxproj
index c7b9afc3f2..d4fe43be5f 100644
--- a/Samples/CortanaVoiceCommand/cpp/VoiceCommandService/VoiceCommandService.vcxproj
+++ b/Samples/CortanaVoiceCommand/cpp/VoiceCommandService/VoiceCommandService.vcxproj
@@ -43,35 +43,35 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141
diff --git a/Samples/CortanaVoiceCommand/js/AdventureWorks/AdventureWorks.jsproj b/Samples/CortanaVoiceCommand/js/AdventureWorks/AdventureWorks.jsproj
index 9791ad1d0a..ec4e02ee30 100644
--- a/Samples/CortanaVoiceCommand/js/AdventureWorks/AdventureWorks.jsproj
+++ b/Samples/CortanaVoiceCommand/js/AdventureWorks/AdventureWorks.jsproj
@@ -80,6 +80,7 @@
+
diff --git a/Samples/CortanaVoiceCommand/js/AdventureWorks/js/default.js b/Samples/CortanaVoiceCommand/js/AdventureWorks/js/default.js
index 8311964773..2fd8317c10 100644
--- a/Samples/CortanaVoiceCommand/js/AdventureWorks/js/default.js
+++ b/Samples/CortanaVoiceCommand/js/AdventureWorks/js/default.js
@@ -46,25 +46,21 @@ var voiceCommandManager = Windows.ApplicationModel.VoiceCommands.VoiceCommandDef
var p = WinJS.UI.processAll().
then(function () {
- SdkSample.DataStore.TripStore.loadTrips().then(function () {
- return wap.current.installedLocation.getFileAsync("AdventureworksCommands.xml");
- }).then(function (file) {
- return voiceCommandManager.installCommandDefinitionsFromStorageFileAsync(file);
- }).then(function () {
- var language = window.navigator.userLanguage || window.navigator.language;
+ SdkSample.DataStore.TripStore.loadTrips().done(function () {
- var commandSetName = "AdventureWorksCommandSet_" + language.toLowerCase();
- if (voiceCommandManager.installedCommandDefinitions.hasKey(commandSetName)) {
- var vcd = voiceCommandManager.installedCommandDefinitions.lookup(commandSetName);
- var phraseList = [];
- SdkSample.DataStore.TripStore.Trips.forEach(function (trip) {
- phraseList.push(trip.destination);
- });
- vcd.setPhraseListAsync("destination", phraseList).done();
- } else {
- WinJS.log && WinJS.log("VCD not installed yet?", "", "warning");
- }
- }).done(function () {
+ // Install the VCD and phrase updates using a WebWorker to prevent hanging up the UI thread during app initialization.
+ var language = window.navigator.userLanguage || window.navigator.language;
+ var installVCDWorker = Worker("js/installVCD.js");
+ var phraseList = [];
+ SdkSample.DataStore.TripStore.Trips.forEach(function (trip) {
+ phraseList.push(trip.destination);
+ });
+
+ // Pass in the phraselist from the loaded store and the language to install the phrase list into.
+ installVCDWorker.postMessage({
+ phraseList: phraseList,
+ language: language
+ });
var url = "/html/tripListView.html";
var initialState = {};
diff --git a/Samples/CortanaVoiceCommand/js/AdventureWorks/js/installVCD.js b/Samples/CortanaVoiceCommand/js/AdventureWorks/js/installVCD.js
new file mode 100644
index 0000000000..5e39443ce5
--- /dev/null
+++ b/Samples/CortanaVoiceCommand/js/AdventureWorks/js/installVCD.js
@@ -0,0 +1,37 @@
+//*********************************************************
+//
+// Copyright (c) Microsoft. All rights reserved.
+// This code is licensed under the MIT License (MIT).
+// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
+// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
+// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
+// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
+//
+//*********************************************************
+
+(function () {
+ "use strict";
+
+ var wap = Windows.ApplicationModel.Package;
+ var voiceCommandManager = Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager;
+
+ self.onmessage = function(e) {
+ // Pass in the PhraseList and current UI language as an object via e.data
+
+ wap.current.installedLocation.getFileAsync("AdventureworksCommands.xml").then(function (file) {
+ return voiceCommandManager.installCommandDefinitionsFromStorageFileAsync(file);
+ }).then(function () {
+ var commandSetName = "AdventureWorksCommandSet_" + e.data.language.toLowerCase();
+ if (voiceCommandManager.installedCommandDefinitions.hasKey(commandSetName)) {
+ var vcd = voiceCommandManager.installedCommandDefinitions.lookup(commandSetName);
+ vcd.setPhraseListAsync("destination", e.data.phraseList).done();
+ } else {
+ WinJS.log && WinJS.log("VCD not installed yet?", "", "warning");
+ }
+ }).done(function () {
+ // We're all done, close the webworker.
+ close();
+ });
+ }
+
+})();
\ No newline at end of file
diff --git a/Samples/CredentialPicker/README.md b/Samples/CredentialPicker/README.md
index c6a1f1d00b..4db590ccc1 100644
--- a/Samples/CredentialPicker/README.md
+++ b/Samples/CredentialPicker/README.md
@@ -28,15 +28,15 @@ Windows 10
Related topics
---------------
-[Windows.Security.Credentials] (https://msdn.microsoft.com/library/windows/apps/br227089)
-[Windows.Security.Credentials.UI] (https://msdn.microsoft.com/library/windows/apps/hh701356)
+[Windows.Security.Credentials](https://msdn.microsoft.com/library/windows/apps/br227089)
+[Windows.Security.Credentials.UI](https://msdn.microsoft.com/library/windows/apps/hh701356)
Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/CredentialPicker/cpp/CredentialPicker.vcxproj b/Samples/CredentialPicker/cpp/CredentialPicker.vcxproj
index 64cd401fa7..074c065b58 100644
--- a/Samples/CredentialPicker/cpp/CredentialPicker.vcxproj
+++ b/Samples/CredentialPicker/cpp/CredentialPicker.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CustomCapability/README.md b/Samples/CustomCapability/README.md
index 61fec55022..ffd4005f14 100644
--- a/Samples/CustomCapability/README.md
+++ b/Samples/CustomCapability/README.md
@@ -11,7 +11,7 @@ Note that the SCCD file included with this sample is not valid,
but it is included for instructional purposes.
If the PC is Developer Mode, the sample will deploy despite the invalid SCCD file.
When writing your own app, follow the instructions in
-[Custom Capabilities for Universal Windows Platform apps](https://msdn.microsoft.com/en-us/windows/hardware/drivers/devapps/custom-capabilities-for-universal-windows-platform-apps)
+[Custom Capabilities for Universal Windows Platform apps](https://msdn.microsoft.com/windows/hardware/drivers/devapps/custom-capabilities-for-universal-windows-platform-apps)
to obtain a properly-signed SCCD file.
## Using a custom capability to connect to an NT service
@@ -119,7 +119,7 @@ When they are empty, the next read operation will wait until a message is writte
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio 2017](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -138,8 +138,8 @@ To obtain information about Microsoft Visual Studio and the tools for developing
* The [Custom driver access sample](https://code.msdn.microsoft.com/windowsapps/Custom-device-access-sample-43bde679)
sample has been converted to a Windows 10 app.
* [How to use RPC callbacks](https://support.microsoft.com/kb/96781)
-* [Custom Capabilities for Universal Windows Platform apps](https://msdn.microsoft.com/en-us/windows/hardware/drivers/devapps/custom-capabilities-for-universal-windows-platform-apps)
-* [Hardware access for Universal Windows Platform apps](https://msdn.microsoft.com/en-us/windows/hardware/drivers/devapps/hardware-access-for-universal-windows-platform-apps)
+* [Custom Capabilities for Universal Windows Platform apps](https://msdn.microsoft.com/windows/hardware/drivers/devapps/custom-capabilities-for-universal-windows-platform-apps)
+* [Hardware access for Universal Windows Platform apps](https://msdn.microsoft.com/windows/hardware/drivers/devapps/hardware-access-for-universal-windows-platform-apps)
## System requirements
**Client:** Windows 10 version 1703
diff --git a/Samples/CustomEditControl/README.md b/Samples/CustomEditControl/README.md
index 713884c689..59741938f4 100644
--- a/Samples/CustomEditControl/README.md
+++ b/Samples/CustomEditControl/README.md
@@ -74,11 +74,11 @@ This sample demonstrates the following:
* This sample does not support using the mouse or touch to
move the caret or adjust the selection.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -106,8 +106,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio?2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CustomHidDeviceAccess/README.md b/Samples/CustomHidDeviceAccess/README.md
index d321898709..407bbbc933 100644
--- a/Samples/CustomHidDeviceAccess/README.md
+++ b/Samples/CustomHidDeviceAccess/README.md
@@ -88,8 +88,8 @@ Also, whenever the app is suspended, it executes code that disconnects from the
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CustomHidDeviceAccess/cpp/CustomHidDeviceAccess.vcxproj b/Samples/CustomHidDeviceAccess/cpp/CustomHidDeviceAccess.vcxproj
index 8c72299af0..93b9934d43 100644
--- a/Samples/CustomHidDeviceAccess/cpp/CustomHidDeviceAccess.vcxproj
+++ b/Samples/CustomHidDeviceAccess/cpp/CustomHidDeviceAccess.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CustomSensors/README.md b/Samples/CustomSensors/README.md
index 105f8fc821..f3ca51537b 100644
--- a/Samples/CustomSensors/README.md
+++ b/Samples/CustomSensors/README.md
@@ -38,8 +38,8 @@ When you click on the **Get CO2 level** button for the **Polling** option, the a
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CustomSensors/cpp/CustomSensors.vcxproj b/Samples/CustomSensors/cpp/CustomSensors.vcxproj
index 70c58c6a13..a17f05bbbf 100644
--- a/Samples/CustomSensors/cpp/CustomSensors.vcxproj
+++ b/Samples/CustomSensors/cpp/CustomSensors.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/CustomSerialDeviceAccess/README.md b/Samples/CustomSerialDeviceAccess/README.md
index b4ad16943f..08f04e97b8 100644
--- a/Samples/CustomSerialDeviceAccess/README.md
+++ b/Samples/CustomSerialDeviceAccess/README.md
@@ -47,8 +47,8 @@ This scenario demonstrates the use of event notification APIs provided by Window
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/CustomUsbDeviceAccess/README.md b/Samples/CustomUsbDeviceAccess/README.md
index 3cb4ae1bdd..cf62433269 100644
--- a/Samples/CustomUsbDeviceAccess/README.md
+++ b/Samples/CustomUsbDeviceAccess/README.md
@@ -210,8 +210,8 @@ You can extend this sample for your device by performing these tasks.
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/D2DCustomEffects/README.md b/Samples/D2DCustomEffects/README.md
index ad636b4da5..2a77983f7a 100644
--- a/Samples/D2DCustomEffects/README.md
+++ b/Samples/D2DCustomEffects/README.md
@@ -20,11 +20,11 @@ Specifically, this sample shows how to:
- Author HLSL that conforms to Direct2D requirements, including opting into effect shader linking
- Register and use a custom effect in an app
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Sample project files
@@ -96,8 +96,8 @@ Related DirectX app APIs:
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/D2DCustomEffects/cpp/ComputeShader/CustomComputeShader.vcxproj b/Samples/D2DCustomEffects/cpp/ComputeShader/CustomComputeShader.vcxproj
index f3d2fd4a0c..aedca0398f 100644
--- a/Samples/D2DCustomEffects/cpp/ComputeShader/CustomComputeShader.vcxproj
+++ b/Samples/D2DCustomEffects/cpp/ComputeShader/CustomComputeShader.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/D2DCustomEffects/cpp/PixelShader/CustomPixelShader.vcxproj b/Samples/D2DCustomEffects/cpp/PixelShader/CustomPixelShader.vcxproj
index 58ef64ebc0..4f25703595 100644
--- a/Samples/D2DCustomEffects/cpp/PixelShader/CustomPixelShader.vcxproj
+++ b/Samples/D2DCustomEffects/cpp/PixelShader/CustomPixelShader.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/D2DCustomEffects/cpp/VertexShader/CustomVertexShader.vcxproj b/Samples/D2DCustomEffects/cpp/VertexShader/CustomVertexShader.vcxproj
index 54974ed22b..da54b9a5a3 100644
--- a/Samples/D2DCustomEffects/cpp/VertexShader/CustomVertexShader.vcxproj
+++ b/Samples/D2DCustomEffects/cpp/VertexShader/CustomVertexShader.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/D2DGradientMesh/README.md b/Samples/D2DGradientMesh/README.md
index d6983716fa..68150ba235 100644
--- a/Samples/D2DGradientMesh/README.md
+++ b/Samples/D2DGradientMesh/README.md
@@ -67,8 +67,8 @@ Variants of the following files are found in every UWP app written in C++:
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/D2DGradientMesh/cpp/D2DGradientMesh.vcxproj b/Samples/D2DGradientMesh/cpp/D2DGradientMesh.vcxproj
index 5a39fd6340..e8ae4b5147 100644
--- a/Samples/D2DGradientMesh/cpp/D2DGradientMesh.vcxproj
+++ b/Samples/D2DGradientMesh/cpp/D2DGradientMesh.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/D2DPhotoAdjustment/README.md b/Samples/D2DPhotoAdjustment/README.md
index 078526fb1f..60aee9ee72 100644
--- a/Samples/D2DPhotoAdjustment/README.md
+++ b/Samples/D2DPhotoAdjustment/README.md
@@ -90,8 +90,8 @@ Related APIs:
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/D2DPhotoAdjustment/cpp/D2DPhotoAdjustment.vcxproj b/Samples/D2DPhotoAdjustment/cpp/D2DPhotoAdjustment.vcxproj
index 5905bd56e1..dcddd230e4 100644
--- a/Samples/D2DPhotoAdjustment/cpp/D2DPhotoAdjustment.vcxproj
+++ b/Samples/D2DPhotoAdjustment/cpp/D2DPhotoAdjustment.vcxproj
@@ -43,23 +43,23 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141truetrue
@@ -67,7 +67,7 @@
Applicationfalsetrue
- v140
+ v141truetrue
@@ -75,7 +75,7 @@
Applicationfalsetrue
- v140
+ v141truetrue
diff --git a/Samples/D2DSvgImage/README.md b/Samples/D2DSvgImage/README.md
new file mode 100644
index 0000000000..f99f6afe32
--- /dev/null
+++ b/Samples/D2DSvgImage/README.md
@@ -0,0 +1,108 @@
+
+
+# Direct2D SVG image rendering sample
+
+Shows how to use [Direct2D](http://msdn.microsoft.com/library/windows/desktop/dd370990) to draw and manipulate SVG images programmatically.
+
+> **Note:** This sample is part of a large collection of UWP feature samples.
+> If you are unfamiliar with Git and GitHub, you can download the entire collection as a
+> [ZIP file](https://github.com/Microsoft/Windows-universal-samples/archive/master.zip), but be
+> sure to unzip everything to access shared dependencies. For more info on working with the ZIP file,
+> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
+> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center.
+
+Specifically, this sample shows how to:
+
+- Load an SVG image from the app package and parse it with Direct2D.
+- Use Direct2D's SVG object model APIs to programmatically walk the SVG tree and read/write SVG attributes.
+- Render an SVG document parsed by Direct2D.
+
+## Sample project files
+
+The sample's project files fall into the following categories.
+
+### Sample-specific files
+The following files form the main educational content of the sample:
+
+- **DirectXPage.xaml/.cpp/.h/:** Implements a XAML-based UI to drive the app. Hosts the DirectX content in a SwapChainPanel.
+- **App.xaml/.cpp/.h:** The app's main entry point.
+- **D2DSvgImageRenderer.cpp/.h:** The core implementation of the Direct2D scene.
+
+### DirectX SDK sample common files
+The following files provide common functionality needed by DirectX SDK samples:
+
+- **DeviceResources.cpp/.h:** Manages creation and lifetime of the core Direct3D and Direct2D device-dependent resources. Handles cases such as device lost and window size and orientation changes.
+- **DirectXHelper.h:** Common inline helper functions, including ThrowIfFailed which converts HRESULT-based APIs into an exception model.
+
+All DirectX SDK samples and the Visual Studio template DirectX projects contain a version of these files. These common files demonstrate important best practices for DirectX UWP apps, and you are encouraged to use them in your own projects.
+
+### C++ UWP common files
+Variants of the following files are found in every UWP app written in C++:
+
+- Package.appxmanifest
+- pch.cpp/.h
+- D2DSvgImageRenderer.vcxproj
+- D2DSvgImageRenderer.vcxproj.filters
+- D2DSvgImageRenderer.sln
+
+## Related topics
+
+### Feature areas
+
+[Direct2D](http://msdn.microsoft.com/library/windows/desktop/dd370990): used to render images, primitives, and text.
+[XAML overview](https://msdn.microsoft.com/library/windows/apps/mt185595): technology for building user interfaces in managed and C++ code.
+
+### Reference
+
+Direct2D APIs:
+
+[Direct2D SVG Support](https://msdn.microsoft.com/library/windows/desktop/mt790715)
+[ID2D1DeviceContext5::CreateSvgDocument](https://msdn.microsoft.com/library/windows/desktop/mt797810)
+[ID2D1SvgDocument](https://msdn.microsoft.com/library/windows/desktop/mt797817)
+[ID2D1SvgElement](https://msdn.microsoft.com/library/windows/desktop/mt797830)
+
+Related APIs:
+
+[SwapChainPanel](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.swapchainpanel)
+
+## System requirements
+
+**Client:** Windows 10
+
+**Server:** Windows Server 2016 Technical Preview
+
+**Phone:** Windows 10
+
+## Build the sample
+
+1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
+4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
+
+## Run the sample
+
+The next steps depend on whether you just want to deploy the sample or you want to both deploy and run it.
+
+### Deploying the sample
+
+- Select Build > Deploy Solution.
+
+### Deploying and running the sample
+
+- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.
+
+## Run the sample
+
+The next steps depend on whether you just want to deploy the sample or you want to both deploy and run it.
+
+### Deploying the sample
+
+- Select Build > Deploy Solution.
+
+### Deploying and running the sample
+
+- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.
\ No newline at end of file
diff --git a/Samples/D2DSvgImage/cpp/App.xaml b/Samples/D2DSvgImage/cpp/App.xaml
new file mode 100644
index 0000000000..a3d51599d2
--- /dev/null
+++ b/Samples/D2DSvgImage/cpp/App.xaml
@@ -0,0 +1,20 @@
+
+
+
+
diff --git a/Samples/D2DSvgImage/cpp/App.xaml.cpp b/Samples/D2DSvgImage/cpp/App.xaml.cpp
new file mode 100644
index 0000000000..077a104503
--- /dev/null
+++ b/Samples/D2DSvgImage/cpp/App.xaml.cpp
@@ -0,0 +1,86 @@
+//*********************************************************
+//
+// Copyright (c) Microsoft. All rights reserved.
+// This code is licensed under the MIT License (MIT).
+// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
+// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
+// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
+// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
+//
+//*********************************************************
+
+#include "pch.h"
+#include "App.xaml.h"
+
+using namespace SDKTemplate;
+
+using namespace Platform;
+using namespace Windows::ApplicationModel;
+using namespace Windows::ApplicationModel::Activation;
+using namespace Windows::Foundation;
+using namespace Windows::Foundation::Collections;
+using namespace Windows::Storage;
+using namespace Windows::UI::Xaml;
+using namespace Windows::UI::Xaml::Controls;
+using namespace Windows::UI::Xaml::Controls::Primitives;
+using namespace Windows::UI::Xaml::Data;
+using namespace Windows::UI::Xaml::Input;
+using namespace Windows::UI::Xaml::Interop;
+using namespace Windows::UI::Xaml::Media;
+using namespace Windows::UI::Xaml::Navigation;
+
+///
+/// Initializes the singleton application object. This is the first line of authored code
+/// executed, and as such is the logical equivalent of main() or WinMain().
+///
+App::App()
+{
+ InitializeComponent();
+ Suspending += ref new SuspendingEventHandler(this, &App::OnSuspending);
+ Resuming += ref new EventHandler
diff --git a/Samples/SimpleCommunication/README.md b/Samples/SimpleCommunication/README.md
index a159378a41..dc56510f28 100644
--- a/Samples/SimpleCommunication/README.md
+++ b/Samples/SimpleCommunication/README.md
@@ -91,8 +91,8 @@ Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/SimpleCommunication/common/MediaExtensions/Microsoft.Samples.SimpleCommunication/Microsoft.Samples.SimpleCommunication.vcxproj b/Samples/SimpleCommunication/common/MediaExtensions/Microsoft.Samples.SimpleCommunication/Microsoft.Samples.SimpleCommunication.vcxproj
index bd1fce5d3b..6151230897 100644
--- a/Samples/SimpleCommunication/common/MediaExtensions/Microsoft.Samples.SimpleCommunication/Microsoft.Samples.SimpleCommunication.vcxproj
+++ b/Samples/SimpleCommunication/common/MediaExtensions/Microsoft.Samples.SimpleCommunication/Microsoft.Samples.SimpleCommunication.vcxproj
@@ -46,23 +46,23 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141truetrue
@@ -70,7 +70,7 @@
DynamicLibraryfalsetrue
- v140
+ v141truetrue
@@ -78,7 +78,7 @@
DynamicLibraryfalsetrue
- v140
+ v141truetrue
diff --git a/Samples/SimpleCommunication/cpp/SimpleCommunication.vcxproj b/Samples/SimpleCommunication/cpp/SimpleCommunication.vcxproj
index f6154767e8..e2086e792b 100644
--- a/Samples/SimpleCommunication/cpp/SimpleCommunication.vcxproj
+++ b/Samples/SimpleCommunication/cpp/SimpleCommunication.vcxproj
@@ -44,23 +44,23 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141truetrue
@@ -68,7 +68,7 @@
Applicationfalsetrue
- v140
+ v141truetrue
@@ -76,7 +76,7 @@
Applicationfalsetrue
- v140
+ v141truetrue
diff --git a/Samples/SimpleImaging/README.md b/Samples/SimpleImaging/README.md
index 0016bb077c..c7eaa045ef 100644
--- a/Samples/SimpleImaging/README.md
+++ b/Samples/SimpleImaging/README.md
@@ -25,7 +25,7 @@ Specifically, this sample demonstrates how to:
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Sample contents
@@ -61,8 +61,8 @@ All other files provide common SDK sample functionality.
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/SimpleInk/README.md b/Samples/SimpleInk/README.md
index 0b24efac0e..bf3d0f55d7 100644
--- a/Samples/SimpleInk/README.md
+++ b/Samples/SimpleInk/README.md
@@ -58,8 +58,8 @@ Specifically, this sample covers using the Windows.UI.Input.Inking APIs to do th
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/SimpleInk/cpp/SimpleInk.vcxproj b/Samples/SimpleInk/cpp/SimpleInk.vcxproj
index 2ad5492399..6060d6add1 100644
--- a/Samples/SimpleInk/cpp/SimpleInk.vcxproj
+++ b/Samples/SimpleInk/cpp/SimpleInk.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/SimpleOrientationSensor/README.md b/Samples/SimpleOrientationSensor/README.md
index e8942a8d9b..2bb6594c27 100644
--- a/Samples/SimpleOrientationSensor/README.md
+++ b/Samples/SimpleOrientationSensor/README.md
@@ -40,8 +40,8 @@ When you choose the Enable button for the **Polling** option, the app will retri
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/SimpleOrientationSensor/cpp/SimpleOrientationSensor.vcxproj b/Samples/SimpleOrientationSensor/cpp/SimpleOrientationSensor.vcxproj
index 902e50b81a..49a7366ca2 100644
--- a/Samples/SimpleOrientationSensor/cpp/SimpleOrientationSensor.vcxproj
+++ b/Samples/SimpleOrientationSensor/cpp/SimpleOrientationSensor.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/SmartCard/README.md b/Samples/SmartCard/README.md
index 22b5841e9c..bea24af109 100644
--- a/Samples/SmartCard/README.md
+++ b/Samples/SmartCard/README.md
@@ -39,8 +39,8 @@ Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/SmartCard/cpp/Smartcard.vcxproj b/Samples/SmartCard/cpp/Smartcard.vcxproj
index 19a81eb38f..0781fe3919 100644
--- a/Samples/SmartCard/cpp/Smartcard.vcxproj
+++ b/Samples/SmartCard/cpp/Smartcard.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/SmsSendAndReceive/README.md b/Samples/SmsSendAndReceive/README.md
index 9211cd1359..89add55f7e 100644
--- a/Samples/SmsSendAndReceive/README.md
+++ b/Samples/SmsSendAndReceive/README.md
@@ -55,8 +55,8 @@ to be declared in the package manifest.
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/SocketActivityStreamSocket/README.md b/Samples/SocketActivityStreamSocket/README.md
index 1300809f4b..54b57df2c0 100644
--- a/Samples/SocketActivityStreamSocket/README.md
+++ b/Samples/SocketActivityStreamSocket/README.md
@@ -46,8 +46,8 @@ if both apps are running on the same machine.
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/SpatialInteractionSource/README.md b/Samples/SpatialInteractionSource/README.md
index 09fab78661..6c8f238aa9 100644
--- a/Samples/SpatialInteractionSource/README.md
+++ b/Samples/SpatialInteractionSource/README.md
@@ -61,23 +61,23 @@ Microsoft Visual Studio 2017 and the Microsoft HoloLens Emulator, go to
### Reference
The following types are used in this code sample:
-* [Windows.UI.Input.Spatial](https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Input.Spatial)
- * [SpatialGestureRecognizer class](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialgesturerecognizer)
- * [SpatialInteractionManager class](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialinteractionmanager)
- * [SpatialInteractionSource class](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialinteractionsource)
- * [SpatialInteractionSourceState class](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialinteractionsourcestate)
- * [SpatialInteractionSourceProperties class](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialinteractionsourceproperties)
- * [SpatialInteractionSourceLocation class](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialinteractionsourcelocation)
- * [SpatialPointerInteractionSourcePose class](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialpointerinteractionsourcepose)
- * [SpatialInteractionControllerProperties class](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialinteractioncontrollerproperties)
- * [SpatialInteractionController class](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialinteractioncontroller)
- * [SpatialInteractionPressKind enum](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialinteractionpresskind)
- * [SpatialInteractionSourceKind enum](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialinteractionsourcekind)
- * [SpatialGestureSettings enum](https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.spatial.spatialgesturesettings)
-* [Windows.Devices.Haptics](https://docs.microsoft.com/en-us/uwp/api/windows.devices.haptics)
- * [SimpleHapticsController class](https://docs.microsoft.com/en-us/uwp/api/windows.devices.haptics.simplehapticscontroller)
- * [SimpleHapticsControllerFeedback class](https://docs.microsoft.com/en-us/uwp/api/windows.devices.haptics.simplehapticscontrollerfeedback)
- * [KnownSimpleHapticsControllerWaveforms class](https://docs.microsoft.com/en-us/uwp/api/windows.devices.haptics.simplehapticscontrollerfeedback)
+* [Windows.UI.Input.Spatial](https://docs.microsoft.com/uwp/api/Windows.UI.Input.Spatial)
+ * [SpatialGestureRecognizer class](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialgesturerecognizer)
+ * [SpatialInteractionManager class](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialinteractionmanager)
+ * [SpatialInteractionSource class](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialinteractionsource)
+ * [SpatialInteractionSourceState class](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialinteractionsourcestate)
+ * [SpatialInteractionSourceProperties class](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialinteractionsourceproperties)
+ * [SpatialInteractionSourceLocation class](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialinteractionsourcelocation)
+ * [SpatialPointerInteractionSourcePose class](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialpointerinteractionsourcepose)
+ * [SpatialInteractionControllerProperties class](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialinteractioncontrollerproperties)
+ * [SpatialInteractionController class](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialinteractioncontroller)
+ * [SpatialInteractionPressKind enum](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialinteractionpresskind)
+ * [SpatialInteractionSourceKind enum](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialinteractionsourcekind)
+ * [SpatialGestureSettings enum](https://docs.microsoft.com/uwp/api/windows.ui.input.spatial.spatialgesturesettings)
+* [Windows.Devices.Haptics](https://docs.microsoft.com/uwp/api/windows.devices.haptics)
+ * [SimpleHapticsController class](https://docs.microsoft.com/uwp/api/windows.devices.haptics.simplehapticscontroller)
+ * [SimpleHapticsControllerFeedback class](https://docs.microsoft.com/uwp/api/windows.devices.haptics.simplehapticscontrollerfeedback)
+ * [KnownSimpleHapticsControllerWaveforms class](https://docs.microsoft.com/uwp/api/windows.devices.haptics.simplehapticscontrollerfeedback)
## System requirements
@@ -92,7 +92,7 @@ The following types are used in this code sample:
2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the
subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or
- JavaScript). Double-click the Visual Studio 2017 Solution (.sln) file.
+ JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/SpatialSound/README.md b/Samples/SpatialSound/README.md
index 270cf2f937..1fbb5a91c8 100644
--- a/Samples/SpatialSound/README.md
+++ b/Samples/SpatialSound/README.md
@@ -32,11 +32,11 @@ Specifically, this sample covers hosting the HRTF xAPO in an XAudio2 graph for r
"Play" button starts playback from an omnidiretional source. The sliders allow control the location of the source.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
### Remark
@@ -45,7 +45,7 @@ HRTF xAPO API is present but nonfunctional on Phone devices.
## Reference
[XAudio2 API](https://msdn.microsoft.com/library/windows/desktop/hh405049.aspx)
-[IXAPOHrtfParameters] (https://msdn.microsoft.com/library/windows/desktop/mt186608.aspx)
+[IXAPOHrtfParameters](https://msdn.microsoft.com/library/windows/desktop/mt186608.aspx)
## System requirements
@@ -56,8 +56,8 @@ HRTF xAPO API is present but nonfunctional on Phone devices.
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/SpatialSound/cpp/SpatialSound.vcxproj b/Samples/SpatialSound/cpp/SpatialSound.vcxproj
index 1851dda0f6..6c77d9e5db 100644
--- a/Samples/SpatialSound/cpp/SpatialSound.vcxproj
+++ b/Samples/SpatialSound/cpp/SpatialSound.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/SpeechRecognitionAndSynthesis/README.md b/Samples/SpeechRecognitionAndSynthesis/README.md
index df1dfb43a3..17e862c8a0 100644
--- a/Samples/SpeechRecognitionAndSynthesis/README.md
+++ b/Samples/SpeechRecognitionAndSynthesis/README.md
@@ -60,8 +60,8 @@ You can disable functionality that requires accepting this policy by turning off
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/SpeechRecognitionAndSynthesis/cpp/SpeechAndTTS.vcxproj b/Samples/SpeechRecognitionAndSynthesis/cpp/SpeechAndTTS.vcxproj
index c312274a2d..9387bd3ad2 100644
--- a/Samples/SpeechRecognitionAndSynthesis/cpp/SpeechAndTTS.vcxproj
+++ b/Samples/SpeechRecognitionAndSynthesis/cpp/SpeechAndTTS.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/SplashScreen/README.md b/Samples/SplashScreen/README.md
index d0ffd13ac5..fd41729f01 100644
--- a/Samples/SplashScreen/README.md
+++ b/Samples/SplashScreen/README.md
@@ -60,8 +60,8 @@ To obtain an insider copy of Windows 10, go to [Windows 10](http://insider.windo
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Store/README.md b/Samples/Store/README.md
index 8de8dc304a..1b32f0494a 100644
--- a/Samples/Store/README.md
+++ b/Samples/Store/README.md
@@ -59,11 +59,11 @@ These steps are necessary only if you want to run the code in the Business to Bu
8. Replace the provided value of "clientSecret" with the actual value for your Azure account.
9. Replace the provided value of "appIdUri" with the actual value of your Azure application.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10, go to [Windows 10](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -89,8 +89,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Store/cpp/Store.vcxproj b/Samples/Store/cpp/Store.vcxproj
index b67ccc5e65..8e2f48b647 100644
--- a/Samples/Store/cpp/Store.vcxproj
+++ b/Samples/Store/cpp/Store.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/StreamSocket/README.md b/Samples/StreamSocket/README.md
index 14b11cef11..c2a59b6349 100644
--- a/Samples/StreamSocket/README.md
+++ b/Samples/StreamSocket/README.md
@@ -106,8 +106,8 @@ the same process for communication purposes in a UWP app. For more information,
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/StreamSocket/cpp/StreamSocket.vcxproj b/Samples/StreamSocket/cpp/StreamSocket.vcxproj
index 56378a7841..b6c7d8cd61 100644
--- a/Samples/StreamSocket/cpp/StreamSocket.vcxproj
+++ b/Samples/StreamSocket/cpp/StreamSocket.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/Syndication/README.md b/Samples/Syndication/README.md
index b1b2a4d116..579fd2f19b 100644
--- a/Samples/Syndication/README.md
+++ b/Samples/Syndication/README.md
@@ -65,8 +65,8 @@ For more information on network capabilities, see [How to set network capabiliti
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Syndication/cpp/Syndication.vcxproj b/Samples/Syndication/cpp/Syndication.vcxproj
index 55aea9c6e6..97c7fde7f4 100644
--- a/Samples/Syndication/cpp/Syndication.vcxproj
+++ b/Samples/Syndication/cpp/Syndication.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/SystemMediaTransportControls/README.md b/Samples/SystemMediaTransportControls/README.md
index 0079f898e9..7c1b563259 100644
--- a/Samples/SystemMediaTransportControls/README.md
+++ b/Samples/SystemMediaTransportControls/README.md
@@ -88,8 +88,8 @@ Build the sample
----------------------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/TextSegmentation/README.md b/Samples/TextSegmentation/README.md
index c58010bbfa..56d699aea9 100644
--- a/Samples/TextSegmentation/README.md
+++ b/Samples/TextSegmentation/README.md
@@ -15,11 +15,11 @@ Shows how to identify separate boundaries of individual words in text, called te
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## System requirements
@@ -32,8 +32,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/TextSegmentation/cpp/TextSegmentation.vcxproj b/Samples/TextSegmentation/cpp/TextSegmentation.vcxproj
index befe4c958f..a4ad0dfe14 100644
--- a/Samples/TextSegmentation/cpp/TextSegmentation.vcxproj
+++ b/Samples/TextSegmentation/cpp/TextSegmentation.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/TextSuggestion/README.md b/Samples/TextSuggestion/README.md
index 59353c0a1e..2f45311590 100644
--- a/Samples/TextSuggestion/README.md
+++ b/Samples/TextSuggestion/README.md
@@ -30,8 +30,8 @@ Windows 10
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/TextSuggestion/cpp/TextSuggestion.vcxproj b/Samples/TextSuggestion/cpp/TextSuggestion.vcxproj
index 3151a02030..0228c108ad 100644
--- a/Samples/TextSuggestion/cpp/TextSuggestion.vcxproj
+++ b/Samples/TextSuggestion/cpp/TextSuggestion.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/TitleBar/README.md b/Samples/TitleBar/README.md
index 1e8ce9d112..24cb650f4d 100644
--- a/Samples/TitleBar/README.md
+++ b/Samples/TitleBar/README.md
@@ -21,13 +21,13 @@ The sample shows the following techniques:
- Responding to changes in title bar states.
- Drawing controls in the title bar (XAML only).
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
**Note** Not all of the title bar functionality is available in all builds. Functionality will arrive gradually as newer builds are released.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -50,8 +50,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/TitleBar/cpp/TitleBar.vcxproj b/Samples/TitleBar/cpp/TitleBar.vcxproj
index 8bdaba7c14..492e2f030f 100644
--- a/Samples/TitleBar/cpp/TitleBar.vcxproj
+++ b/Samples/TitleBar/cpp/TitleBar.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/TitleBar/js/CoreViewHelpers/CoreViewHelpers.vcxproj b/Samples/TitleBar/js/CoreViewHelpers/CoreViewHelpers.vcxproj
index e3d8afa54b..237e54966f 100644
--- a/Samples/TitleBar/js/CoreViewHelpers/CoreViewHelpers.vcxproj
+++ b/Samples/TitleBar/js/CoreViewHelpers/CoreViewHelpers.vcxproj
@@ -44,37 +44,37 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141true
diff --git a/Samples/TouchKeyboard/README.md b/Samples/TouchKeyboard/README.md
index 3cebacbaf5..a66515bc13 100644
--- a/Samples/TouchKeyboard/README.md
+++ b/Samples/TouchKeyboard/README.md
@@ -29,11 +29,11 @@ Specifically, this sample shows how:
the touch keyboard will not display automatically if a hardware keyboard is connected,
or the PC is in Desktop mode and "Automatically show the touch keyboard in windowed apps when there is no keyboard attached to your device" in Settings -> Devices -> Typing is disabled.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10, go to [Windows 10](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## System requirements
@@ -45,8 +45,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
-1. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the language you desire - either C++, C#, or JavaScript. Double-click the Visual Studio 2015 Solution (.sln) file.
+1. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the language you desire - either C++, C#, or JavaScript. Double-click the Visual Studio Solution (.sln) file.
3. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/TouchKeyboard/cpp/TouchKeyboard.vcxproj b/Samples/TouchKeyboard/cpp/TouchKeyboard.vcxproj
index ffc8d21b3c..059356d004 100644
--- a/Samples/TouchKeyboard/cpp/TouchKeyboard.vcxproj
+++ b/Samples/TouchKeyboard/cpp/TouchKeyboard.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/TouchKeyboardTextInput/README.md b/Samples/TouchKeyboardTextInput/README.md
index e258e0117c..11b7a10099 100644
--- a/Samples/TouchKeyboardTextInput/README.md
+++ b/Samples/TouchKeyboardTextInput/README.md
@@ -31,11 +31,11 @@ The input types shown in this sample are:
**Note** Because of a known issue, the first Scenario in the JS sample does not work properly in Phone - the text controls in the JS sample do not obey the "spellcheck" attribute.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10, go to [Windows 10](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
Related topics
--------------
@@ -66,8 +66,8 @@ Related topics
## Build the sample
-1. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the language you desire - either C++, C#, or JavaScript. Double-click the Visual Studio 2015 Solution (.sln) file.
+1. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+2. Go to the directory to which you unzipped the sample. Then go to the subdirectory containing the sample in the language you desire - either C++, C#, or JavaScript. Double-click the Visual Studio Solution (.sln) file.
3. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/TouchKeyboardTextInput/cpp/TouchKeyboardTextInput.vcxproj b/Samples/TouchKeyboardTextInput/cpp/TouchKeyboardTextInput.vcxproj
index 1d04fdbc4a..2f0ddbdfd0 100644
--- a/Samples/TouchKeyboardTextInput/cpp/TouchKeyboardTextInput.vcxproj
+++ b/Samples/TouchKeyboardTextInput/cpp/TouchKeyboardTextInput.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/TouchKeyboardTextInput/cs/TouchKeyboardTextInput.csproj b/Samples/TouchKeyboardTextInput/cs/TouchKeyboardTextInput.csproj
index b34844e009..03f2b42d98 100644
--- a/Samples/TouchKeyboardTextInput/cs/TouchKeyboardTextInput.csproj
+++ b/Samples/TouchKeyboardTextInput/cs/TouchKeyboardTextInput.csproj
@@ -163,11 +163,6 @@
-
-
- Visual C++ 2015 Runtime for Universal Windows Platform Apps
-
- 14.0
@@ -179,4 +174,4 @@
-->
-
\ No newline at end of file
+
diff --git a/Samples/Unicode/README.md b/Samples/Unicode/README.md
index 509f71cbc9..9d63c3092c 100644
--- a/Samples/Unicode/README.md
+++ b/Samples/Unicode/README.md
@@ -20,11 +20,11 @@ To obtain an evaluation copy of Windows 8.1, go to [Windows 8.1](http://go.mic
To obtain an evaluation copy of Microsoft Visual Studio 2013, go to [Visual Studio 2013](http://go.microsoft.com/fwlink/p/?linkid=301697).
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -43,8 +43,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/Unicode/cpp/Unicode.vcxproj b/Samples/Unicode/cpp/Unicode.vcxproj
index 9bcd68fc28..0423c7e550 100644
--- a/Samples/Unicode/cpp/Unicode.vcxproj
+++ b/Samples/Unicode/cpp/Unicode.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/UserCertificateStore/README.md b/Samples/UserCertificateStore/README.md
index 2250dfc50b..2710c33c57 100644
--- a/Samples/UserCertificateStore/README.md
+++ b/Samples/UserCertificateStore/README.md
@@ -49,8 +49,8 @@ the app must have the sharedUserCertificate capability.
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/UserCertificateStore/cpp/UserCertificateStore.vcxproj b/Samples/UserCertificateStore/cpp/UserCertificateStore.vcxproj
index 4e49f1e4cf..1835dce8aa 100644
--- a/Samples/UserCertificateStore/cpp/UserCertificateStore.vcxproj
+++ b/Samples/UserCertificateStore/cpp/UserCertificateStore.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/UserConsentVerifier/README.md b/Samples/UserConsentVerifier/README.md
index 306f4a1569..7605866d39 100644
--- a/Samples/UserConsentVerifier/README.md
+++ b/Samples/UserConsentVerifier/README.md
@@ -34,8 +34,8 @@ Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/UserConsentVerifier/cpp/UserConsentVerifier.vcxproj b/Samples/UserConsentVerifier/cpp/UserConsentVerifier.vcxproj
index 1a81a0c2e0..822e1b06bc 100644
--- a/Samples/UserConsentVerifier/cpp/UserConsentVerifier.vcxproj
+++ b/Samples/UserConsentVerifier/cpp/UserConsentVerifier.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/UserDataAccountManager/README.md b/Samples/UserDataAccountManager/README.md
index 3b6fda7bba..1a68a94afb 100644
--- a/Samples/UserDataAccountManager/README.md
+++ b/Samples/UserDataAccountManager/README.md
@@ -38,8 +38,8 @@ For more info, see [App capability declarations](https://msdn.microsoft.com/libr
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/UserDataAccountManager/cpp/UserDataAccountManager.vcxproj b/Samples/UserDataAccountManager/cpp/UserDataAccountManager.vcxproj
index 119cfda388..28feb0c016 100644
--- a/Samples/UserDataAccountManager/cpp/UserDataAccountManager.vcxproj
+++ b/Samples/UserDataAccountManager/cpp/UserDataAccountManager.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/UserInfo/README.md b/Samples/UserInfo/README.md
index 0c419efcea..2d5dda8717 100644
--- a/Samples/UserInfo/README.md
+++ b/Samples/UserInfo/README.md
@@ -22,11 +22,11 @@ Specifically, this sample demonstrates the following scenarios:
- How to obtain the profile picture for a user with the [GetPictureAsync method](https://msdn.microsoft.com/library/windows/apps/windows.system.user.getpictureasync.aspx).
- How to monitor users dynamically with the [CreateWatcher method](https://msdn.microsoft.com/library/windows/apps/windows.system.user.createwatcher.aspx).
-**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Universal Windows app samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -49,8 +49,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/UserInfo/cpp/UserInfo.vcxproj b/Samples/UserInfo/cpp/UserInfo.vcxproj
index f57fa5b923..a102b7cf42 100644
--- a/Samples/UserInfo/cpp/UserInfo.vcxproj
+++ b/Samples/UserInfo/cpp/UserInfo.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/UserInteractionMode/README.md b/Samples/UserInteractionMode/README.md
index d1ef0958b3..79451bb9ce 100644
--- a/Samples/UserInteractionMode/README.md
+++ b/Samples/UserInteractionMode/README.md
@@ -19,11 +19,11 @@ The sample shows the following techniques:
- Retrieving the current user interaction mode.
- Responding to changes in the user interaction mode.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -42,8 +42,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/UserInteractionMode/cpp/UserInteractionMode.vcxproj b/Samples/UserInteractionMode/cpp/UserInteractionMode.vcxproj
index f5f06304a3..4b2c734ec4 100644
--- a/Samples/UserInteractionMode/cpp/UserInteractionMode.vcxproj
+++ b/Samples/UserInteractionMode/cpp/UserInteractionMode.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/UserSelection/README.md b/Samples/UserSelection/README.md
index 97ce2995aa..d309f00779 100644
--- a/Samples/UserSelection/README.md
+++ b/Samples/UserSelection/README.md
@@ -58,8 +58,8 @@ Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/UssdProtcol/README.md b/Samples/UssdProtcol/README.md
index 1c202e020d..0cfc557e1b 100644
--- a/Samples/UssdProtcol/README.md
+++ b/Samples/UssdProtcol/README.md
@@ -42,8 +42,8 @@ to be declared in package manifest.
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/VersionAdaptiveCode/README.md b/Samples/VersionAdaptiveCode/README.md
index b6c7b0c9e6..e2b3165942 100644
--- a/Samples/VersionAdaptiveCode/README.md
+++ b/Samples/VersionAdaptiveCode/README.md
@@ -24,11 +24,11 @@ Specifically, this sample shows:
- Choosing between two versions of a control based on whether an API is present.
- Using a visual state trigger to set a property based on whether an API is present. (XAML only)
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -65,8 +65,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio?2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/VideoPlayback/README.md b/Samples/VideoPlayback/README.md
index 0126d2cf3a..6f6559bf4a 100644
--- a/Samples/VideoPlayback/README.md
+++ b/Samples/VideoPlayback/README.md
@@ -46,8 +46,8 @@ Build the sample
----------------
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Run the sample
diff --git a/Samples/VideoPlayback/cs/VideoPlayback.csproj b/Samples/VideoPlayback/cs/VideoPlayback.csproj
index 0410e1e6e6..b0aa61bfb6 100644
--- a/Samples/VideoPlayback/cs/VideoPlayback.csproj
+++ b/Samples/VideoPlayback/cs/VideoPlayback.csproj
@@ -17,14 +17,11 @@
true512{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
-
truebin\ARM\Debug\DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP
- ;2008fullARMfalse
@@ -35,7 +32,6 @@
bin\ARM\Release\TRACE;NETFX_CORE;WINDOWS_UAPtrue
- ;2008pdbonlyARMfalse
@@ -47,7 +43,6 @@
truebin\x64\Debug\DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP
- ;2008fullx64false
@@ -58,7 +53,6 @@
bin\x64\Release\TRACE;NETFX_CORE;WINDOWS_UAPtrue
- ;2008pdbonlyx64false
@@ -70,7 +64,6 @@
truebin\x86\Debug\DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP
- ;2008fullx86false
@@ -81,7 +74,6 @@
bin\x86\Release\TRACE;NETFX_CORE;WINDOWS_UAPtrue
- ;2008pdbonlyx86false
@@ -292,4 +284,4 @@
-->
-
\ No newline at end of file
+
diff --git a/Samples/VideoPlaybackSynchronization/README.md b/Samples/VideoPlaybackSynchronization/README.md
index bdbb2c88f0..6845a7e0fc 100644
--- a/Samples/VideoPlaybackSynchronization/README.md
+++ b/Samples/VideoPlaybackSynchronization/README.md
@@ -16,11 +16,11 @@ instances.
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -39,8 +39,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio?2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/VoIP/README.md b/Samples/VoIP/README.md
index 031779c1f1..15f3171245 100644
--- a/Samples/VoIP/README.md
+++ b/Samples/VoIP/README.md
@@ -37,8 +37,8 @@ This Sample utilizes Windows Mobile Extensions for UWP and will only work on mob
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/VoIP/cs/VoipBackEnd/VoipBackEnd.vcxproj b/Samples/VoIP/cs/VoipBackEnd/VoipBackEnd.vcxproj
index 7c229f947c..0d42320fdd 100644
--- a/Samples/VoIP/cs/VoipBackEnd/VoipBackEnd.vcxproj
+++ b/Samples/VoIP/cs/VoipBackEnd/VoipBackEnd.vcxproj
@@ -43,35 +43,35 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141
diff --git a/Samples/VoIP/cs/VoipHost/VoipHost.vcxproj b/Samples/VoIP/cs/VoipHost/VoipHost.vcxproj
index ef489b2aff..ca41883b7b 100644
--- a/Samples/VoIP/cs/VoipHost/VoipHost.vcxproj
+++ b/Samples/VoIP/cs/VoipHost/VoipHost.vcxproj
@@ -49,35 +49,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/WRLInProcessWinRTComponent/README.md b/Samples/WRLInProcessWinRTComponent/README.md
index 53c4f77a6f..4bf598e868 100644
--- a/Samples/WRLInProcessWinRTComponent/README.md
+++ b/Samples/WRLInProcessWinRTComponent/README.md
@@ -14,11 +14,11 @@ Shows how to create an in-process component in C++ using WRL that is consumed in
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## System requirements
@@ -31,8 +31,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/WRLInProcessWinRTComponent/cpp/Server/Microsoft.SDKSamples.Kitchen.idl b/Samples/WRLInProcessWinRTComponent/cpp/Server/Microsoft.SDKSamples.Kitchen.idl
index 36952f2863..7a6ad0d38f 100644
--- a/Samples/WRLInProcessWinRTComponent/cpp/Server/Microsoft.SDKSamples.Kitchen.idl
+++ b/Samples/WRLInProcessWinRTComponent/cpp/Server/Microsoft.SDKSamples.Kitchen.idl
@@ -42,7 +42,7 @@ namespace Microsoft.SDKSamples.Kitchen
}
[version(1.0), uuid(699B1394-3CEB-4A14-AE23-EFEC518B088B), exclusiveto(BreadBakedEventArgs)]
- interface IBreakBakedEventArgs : IInspectable
+ interface IBreadBakedEventArgs : IInspectable
{
[propget] HRESULT Bread([out, retval] Bread** value);
}
@@ -72,7 +72,7 @@ namespace Microsoft.SDKSamples.Kitchen
[version(1.0)]
runtimeclass BreadBakedEventArgs
{
- [default] interface IBreakBakedEventArgs;
+ [default] interface IBreadBakedEventArgs;
}
[version(1.0), activatable(1.0), activatable(IOvenFactory, 1.0)]
diff --git a/Samples/WRLInProcessWinRTComponent/cpp/Server/OvenServer.cpp b/Samples/WRLInProcessWinRTComponent/cpp/Server/OvenServer.cpp
index 0be542e0e2..6ccf2803eb 100644
--- a/Samples/WRLInProcessWinRTComponent/cpp/Server/OvenServer.cpp
+++ b/Samples/WRLInProcessWinRTComponent/cpp/Server/OvenServer.cpp
@@ -69,7 +69,7 @@ namespace ABI { namespace Microsoft { namespace SDKSamples { namespace Kitchen {
OvenTemperature _temperature = OvenTemperature::Medium;
};
- class BreadBakedEventArgs WrlFinal : public RuntimeClass
+ class BreadBakedEventArgs WrlFinal : public RuntimeClass
{
InspectableClass(RuntimeClass_Microsoft_SDKSamples_Kitchen_BreadBakedEventArgs, TrustLevel::BaseTrust)
@@ -80,7 +80,7 @@ namespace ABI { namespace Microsoft { namespace SDKSamples { namespace Kitchen {
return S_OK;
}
- // IBreakBakedEventArgs
+ // IBreadBakedEventArgs
STDMETHODIMP get_Bread(_COM_Outptr_ IBread** value) override
{
return m_bread.CopyTo(value);
diff --git a/Samples/WRLInProcessWinRTComponent/cpp/Server/WRLInProcessWinRTComponentPS.vcxproj b/Samples/WRLInProcessWinRTComponent/cpp/Server/WRLInProcessWinRTComponentPS.vcxproj
index 5351470af5..78e2418f41 100644
--- a/Samples/WRLInProcessWinRTComponent/cpp/Server/WRLInProcessWinRTComponentPS.vcxproj
+++ b/Samples/WRLInProcessWinRTComponent/cpp/Server/WRLInProcessWinRTComponentPS.vcxproj
@@ -44,39 +44,39 @@
DynamicLibrary
- v140
+ v141truetrueDynamicLibrary
- v140
+ v141truetrueDynamicLibrary
- v140
+ v141truetrueDynamicLibrary
- v140
+ v141falsetruefalseDynamicLibrary
- v140
+ v141falsetruefalseDynamicLibrary
- v140
+ v141falsetruefalse
diff --git a/Samples/WRLInProcessWinRTComponent/cpp/Server/WRLInProcessWinRTComponent_server.vcxproj b/Samples/WRLInProcessWinRTComponent/cpp/Server/WRLInProcessWinRTComponent_server.vcxproj
index a90d59628e..231fb8d2ba 100644
--- a/Samples/WRLInProcessWinRTComponent/cpp/Server/WRLInProcessWinRTComponent_server.vcxproj
+++ b/Samples/WRLInProcessWinRTComponent/cpp/Server/WRLInProcessWinRTComponent_server.vcxproj
@@ -46,33 +46,33 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrary
- v140
+ v141trueDynamicLibrary
- v140
+ v141falsetrueDynamicLibrary
- v140
+ v141falsetrueDynamicLibrary
- v140
+ v141falsetrue
diff --git a/Samples/WRLInProcessWinRTComponent/cpp/cpp/Package.appxmanifest b/Samples/WRLInProcessWinRTComponent/cpp/cpp/Package.appxmanifest
index 741e3b5432..8d80bbb985 100644
--- a/Samples/WRLInProcessWinRTComponent/cpp/cpp/Package.appxmanifest
+++ b/Samples/WRLInProcessWinRTComponent/cpp/cpp/Package.appxmanifest
@@ -53,7 +53,7 @@
Microsoft.SDKSamples.Kitchen.Proxies.dll
-
+
diff --git a/Samples/WRLInProcessWinRTComponent/cpp/cpp/Scenario2_OvenClientWRL.xaml.cpp b/Samples/WRLInProcessWinRTComponent/cpp/cpp/Scenario2_OvenClientWRL.xaml.cpp
index ad4544a7eb..682ecf8a93 100644
--- a/Samples/WRLInProcessWinRTComponent/cpp/cpp/Scenario2_OvenClientWRL.xaml.cpp
+++ b/Samples/WRLInProcessWinRTComponent/cpp/cpp/Scenario2_OvenClientWRL.xaml.cpp
@@ -57,7 +57,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
// Declare handlers for event callbacks
auto handler1 = Callback>(
- [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* pOven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
+ [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* pOven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
{
HRESULT hr = S_OK;
try
@@ -93,7 +93,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
});
auto handler2 = Callback>(
- [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
+ [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
{
HRESULT hr = S_OK;
try
@@ -109,7 +109,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
});
auto handler3 = Callback>(
- [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
+ [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
{
// Event handler 3 was removed and will not be invoked
HRESULT hr = S_OK;
diff --git a/Samples/WRLInProcessWinRTComponent/cpp/cpp/WRLInProcessWinRTComponent_client_cpp.vcxproj b/Samples/WRLInProcessWinRTComponent/cpp/cpp/WRLInProcessWinRTComponent_client_cpp.vcxproj
index 6413cd69f6..958ee58f58 100644
--- a/Samples/WRLInProcessWinRTComponent/cpp/cpp/WRLInProcessWinRTComponent_client_cpp.vcxproj
+++ b/Samples/WRLInProcessWinRTComponent/cpp/cpp/WRLInProcessWinRTComponent_client_cpp.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/WRLInProcessWinRTComponent/cpp/cs/Package.appxmanifest b/Samples/WRLInProcessWinRTComponent/cpp/cs/Package.appxmanifest
index cb95a39485..7e2c4b195e 100644
--- a/Samples/WRLInProcessWinRTComponent/cpp/cs/Package.appxmanifest
+++ b/Samples/WRLInProcessWinRTComponent/cpp/cs/Package.appxmanifest
@@ -52,7 +52,7 @@
Microsoft.SDKSamples.Kitchen.Proxies.dll
-
+
diff --git a/Samples/WRLInProcessWinRTComponent/cpp/js/Package.appxmanifest b/Samples/WRLInProcessWinRTComponent/cpp/js/Package.appxmanifest
index 3b5f0b4afe..99bf975e5c 100644
--- a/Samples/WRLInProcessWinRTComponent/cpp/js/Package.appxmanifest
+++ b/Samples/WRLInProcessWinRTComponent/cpp/js/Package.appxmanifest
@@ -53,7 +53,7 @@
Microsoft.SDKSamples.Kitchen.Proxies.dll
-
+
diff --git a/Samples/WRLOutOfProcessWinRTComponent/README.md b/Samples/WRLOutOfProcessWinRTComponent/README.md
index 0d49e332b5..8f545610d1 100644
--- a/Samples/WRLOutOfProcessWinRTComponent/README.md
+++ b/Samples/WRLOutOfProcessWinRTComponent/README.md
@@ -14,11 +14,11 @@ Shows how to create an out-of-process component in C++ using WRL that is consume
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## System requirements
@@ -31,8 +31,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/Microsoft.SDKSamples.Kitchen.idl b/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/Microsoft.SDKSamples.Kitchen.idl
index 36952f2863..7a6ad0d38f 100644
--- a/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/Microsoft.SDKSamples.Kitchen.idl
+++ b/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/Microsoft.SDKSamples.Kitchen.idl
@@ -42,7 +42,7 @@ namespace Microsoft.SDKSamples.Kitchen
}
[version(1.0), uuid(699B1394-3CEB-4A14-AE23-EFEC518B088B), exclusiveto(BreadBakedEventArgs)]
- interface IBreakBakedEventArgs : IInspectable
+ interface IBreadBakedEventArgs : IInspectable
{
[propget] HRESULT Bread([out, retval] Bread** value);
}
@@ -72,7 +72,7 @@ namespace Microsoft.SDKSamples.Kitchen
[version(1.0)]
runtimeclass BreadBakedEventArgs
{
- [default] interface IBreakBakedEventArgs;
+ [default] interface IBreadBakedEventArgs;
}
[version(1.0), activatable(1.0), activatable(IOvenFactory, 1.0)]
diff --git a/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/OvenServer.cpp b/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/OvenServer.cpp
index 0d1a27c4d8..eb75f8c2d0 100644
--- a/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/OvenServer.cpp
+++ b/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/OvenServer.cpp
@@ -69,7 +69,7 @@ namespace ABI { namespace Microsoft { namespace SDKSamples { namespace Kitchen {
OvenTemperature _temperature = OvenTemperature::Medium;
};
- class BreadBakedEventArgs WrlFinal : public RuntimeClass
+ class BreadBakedEventArgs WrlFinal : public RuntimeClass
{
InspectableClass(RuntimeClass_Microsoft_SDKSamples_Kitchen_BreadBakedEventArgs, TrustLevel::BaseTrust)
@@ -80,7 +80,7 @@ namespace ABI { namespace Microsoft { namespace SDKSamples { namespace Kitchen {
return S_OK;
}
- // IBreakBakedEventArgs
+ // IBreadBakedEventArgs
STDMETHODIMP get_Bread(_COM_Outptr_ IBread** value) override
{
return m_bread.CopyTo(value);
diff --git a/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/WRLOutOfProcessWinRTComponentPS.vcxproj b/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/WRLOutOfProcessWinRTComponentPS.vcxproj
index a1b61cc2d5..52b257f11b 100644
--- a/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/WRLOutOfProcessWinRTComponentPS.vcxproj
+++ b/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/WRLOutOfProcessWinRTComponentPS.vcxproj
@@ -44,39 +44,39 @@
DynamicLibrary
- v140
+ v141truetrueDynamicLibrary
- v140
+ v141truetrueDynamicLibrary
- v140
+ v141truetrueDynamicLibrary
- v140
+ v141falsetruefalseDynamicLibrary
- v140
+ v141falsetruefalseDynamicLibrary
- v140
+ v141falsetruefalse
diff --git a/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/WRLOutOfProcessWinRTComponent_server.vcxproj b/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/WRLOutOfProcessWinRTComponent_server.vcxproj
index c27988143b..36f95d7280 100644
--- a/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/WRLOutOfProcessWinRTComponent_server.vcxproj
+++ b/Samples/WRLOutOfProcessWinRTComponent/cpp/Server/WRLOutOfProcessWinRTComponent_server.vcxproj
@@ -48,39 +48,39 @@
Application
- v140
+ v141truetrueApplication
- v140
+ v141truetrueApplication
- v140
+ v141truetrueApplication
- v140
+ v141falsetruetrueApplication
- v140
+ v141falsetruetrueApplication
- v140
+ v141falsetruetrue
diff --git a/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/Package.appxmanifest b/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/Package.appxmanifest
index 0c863e3a7e..1920ab016b 100644
--- a/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/Package.appxmanifest
+++ b/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/Package.appxmanifest
@@ -63,7 +63,7 @@
Microsoft.SDKSamples.Kitchen.Proxies.dll
-
+
diff --git a/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/Scenario2_OvenClientWRL.xaml.cpp b/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/Scenario2_OvenClientWRL.xaml.cpp
index 043cd0b816..7d253d6636 100644
--- a/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/Scenario2_OvenClientWRL.xaml.cpp
+++ b/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/Scenario2_OvenClientWRL.xaml.cpp
@@ -57,7 +57,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
// Declare handlers for event callbacks
auto handler1 = Callback>(
- [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* pOven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
+ [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* pOven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
{
HRESULT hr = S_OK;
try
@@ -93,7 +93,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
});
auto handler2 = Callback>(
- [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
+ [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
{
HRESULT hr = S_OK;
try
@@ -109,7 +109,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
});
auto handler3 = Callback>(
- [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
+ [this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
{
// Event handler 3 was removed and will not be invoked
HRESULT hr = S_OK;
diff --git a/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/WRLOutOfProcessWinRTComponent_client_cpp.vcxproj b/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/WRLOutOfProcessWinRTComponent_client_cpp.vcxproj
index d8e35e8a60..3dcbeec8a7 100644
--- a/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/WRLOutOfProcessWinRTComponent_client_cpp.vcxproj
+++ b/Samples/WRLOutOfProcessWinRTComponent/cpp/cpp/WRLOutOfProcessWinRTComponent_client_cpp.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/WRLOutOfProcessWinRTComponent/cpp/cs/Package.appxmanifest b/Samples/WRLOutOfProcessWinRTComponent/cpp/cs/Package.appxmanifest
index 50933cc259..505a3e3e99 100644
--- a/Samples/WRLOutOfProcessWinRTComponent/cpp/cs/Package.appxmanifest
+++ b/Samples/WRLOutOfProcessWinRTComponent/cpp/cs/Package.appxmanifest
@@ -61,7 +61,7 @@
Microsoft.SDKSamples.Kitchen.Proxies.dll
-
+
diff --git a/Samples/WRLOutOfProcessWinRTComponent/cpp/js/Package.appxmanifest b/Samples/WRLOutOfProcessWinRTComponent/cpp/js/Package.appxmanifest
index bf3399b491..61b71a49b7 100644
--- a/Samples/WRLOutOfProcessWinRTComponent/cpp/js/Package.appxmanifest
+++ b/Samples/WRLOutOfProcessWinRTComponent/cpp/js/Package.appxmanifest
@@ -62,7 +62,7 @@
Microsoft.SDKSamples.Kitchen.Proxies.dll
-
+
diff --git a/Samples/WebAccountManagement/README.md b/Samples/WebAccountManagement/README.md
index d6dcc1095d..24f8c2bd79 100644
--- a/Samples/WebAccountManagement/README.md
+++ b/Samples/WebAccountManagement/README.md
@@ -22,13 +22,13 @@ Specifically, this sample demonstrates the following scenarios:
- How to show UI to add, manage, and remove many Microsoft accounts, Azure AD accounts, or custom accounts
- Adding an account from a custom provider
-**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Universal Windows app samples require Visual Studio 2017 to build and Windows 10 to execute.
**Note 2** The app as provided will not be able to get tokens without having it's app manifest being modified to use the App Identity of a registered Microsoft Store/registered AAD app. See 'Related Topics' for instructions on how to register an app.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -59,8 +59,8 @@ You must then update the Azure AD ClientID in the individual scenarios, as well
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/WebAccountManagement/cpp/WebAccountManagement.vcxproj b/Samples/WebAccountManagement/cpp/WebAccountManagement.vcxproj
index 64ee5b9491..b0121e515d 100644
--- a/Samples/WebAccountManagement/cpp/WebAccountManagement.vcxproj
+++ b/Samples/WebAccountManagement/cpp/WebAccountManagement.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/WebAuthenticationBroker/README.md b/Samples/WebAuthenticationBroker/README.md
index 60c340e329..6ce415a7fc 100644
--- a/Samples/WebAuthenticationBroker/README.md
+++ b/Samples/WebAuthenticationBroker/README.md
@@ -58,8 +58,8 @@ Windows 10
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/WebAuthenticationBroker/cpp/WebAuthenticationBroker.vcxproj b/Samples/WebAuthenticationBroker/cpp/WebAuthenticationBroker.vcxproj
index 6670b4e685..ddce7a1954 100644
--- a/Samples/WebAuthenticationBroker/cpp/WebAuthenticationBroker.vcxproj
+++ b/Samples/WebAuthenticationBroker/cpp/WebAuthenticationBroker.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/WebSocket/README.md b/Samples/WebSocket/README.md
index eda865cf99..17187ac0b8 100644
--- a/Samples/WebSocket/README.md
+++ b/Samples/WebSocket/README.md
@@ -68,8 +68,8 @@ This sample requires that network capabilities be set in the *Package.appxmanife
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/WebSocket/cpp/WebSocket.vcxproj b/Samples/WebSocket/cpp/WebSocket.vcxproj
index dba10ccd36..bab3d89364 100644
--- a/Samples/WebSocket/cpp/WebSocket.vcxproj
+++ b/Samples/WebSocket/cpp/WebSocket.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/WebView/README.md b/Samples/WebView/README.md
index bd96c5eb41..bc080e57a2 100644
--- a/Samples/WebView/README.md
+++ b/Samples/WebView/README.md
@@ -30,8 +30,8 @@ Windows 10
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/WebView/js/StreamUriResolverCPP/StreamUriResolverCPP.vcxproj b/Samples/WebView/js/StreamUriResolverCPP/StreamUriResolverCPP.vcxproj
index abe047a993..e52163c0fd 100644
--- a/Samples/WebView/js/StreamUriResolverCPP/StreamUriResolverCPP.vcxproj
+++ b/Samples/WebView/js/StreamUriResolverCPP/StreamUriResolverCPP.vcxproj
@@ -46,37 +46,37 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141true
diff --git a/Samples/WebView/js/WinRTComponent/WinRTComponent.vcxproj b/Samples/WebView/js/WinRTComponent/WinRTComponent.vcxproj
index 11bf9f6851..ba5e07162e 100644
--- a/Samples/WebView/js/WinRTComponent/WinRTComponent.vcxproj
+++ b/Samples/WebView/js/WinRTComponent/WinRTComponent.vcxproj
@@ -44,37 +44,37 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141true
diff --git a/Samples/WebWorkers/README.md b/Samples/WebWorkers/README.md
index 27c6d2e8f1..224286e1d5 100644
--- a/Samples/WebWorkers/README.md
+++ b/Samples/WebWorkers/README.md
@@ -34,8 +34,8 @@ Windows 10
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/WiFiDirect/README.md b/Samples/WiFiDirect/README.md
index c4387ad572..f84a304685 100644
--- a/Samples/WiFiDirect/README.md
+++ b/Samples/WiFiDirect/README.md
@@ -59,8 +59,8 @@ Support for those will come in a future sample.
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/WiFiDirect/cpp/WiFiDirect.vcxproj b/Samples/WiFiDirect/cpp/WiFiDirect.vcxproj
index 5f79bcafba..ac79aa3a4e 100644
--- a/Samples/WiFiDirect/cpp/WiFiDirect.vcxproj
+++ b/Samples/WiFiDirect/cpp/WiFiDirect.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/WiFiDirectServices/README.md b/Samples/WiFiDirectServices/README.md
index f3c7e5f343..5944edf25f 100644
--- a/Samples/WiFiDirectServices/README.md
+++ b/Samples/WiFiDirectServices/README.md
@@ -45,8 +45,8 @@ Specifically, this sample shows how to:
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/WiFiDirectServices/cpp/WiFiDirectServices.vcxproj b/Samples/WiFiDirectServices/cpp/WiFiDirectServices.vcxproj
index 50967d70be..c9b99c1373 100644
--- a/Samples/WiFiDirectServices/cpp/WiFiDirectServices.vcxproj
+++ b/Samples/WiFiDirectServices/cpp/WiFiDirectServices.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/WiFiScan/README.md b/Samples/WiFiScan/README.md
index 5149d368ce..2b3ede82e7 100644
--- a/Samples/WiFiScan/README.md
+++ b/Samples/WiFiScan/README.md
@@ -32,8 +32,8 @@ Specifically, this sample demonstrates:
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/WiFiScan/cpp/WiFiScan.vcxproj b/Samples/WiFiScan/cpp/WiFiScan.vcxproj
index 5d72103a14..bdeaf42e2a 100644
--- a/Samples/WiFiScan/cpp/WiFiScan.vcxproj
+++ b/Samples/WiFiScan/cpp/WiFiScan.vcxproj
@@ -43,37 +43,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/WindowsAudioSession/README.md b/Samples/WindowsAudioSession/README.md
index 1ab776b6a0..7d141b0e4c 100644
--- a/Samples/WindowsAudioSession/README.md
+++ b/Samples/WindowsAudioSession/README.md
@@ -60,8 +60,8 @@ use the BackgroundMediaPlayer class demonstrated in the [Background Audio](/Samp
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/WindowsAudioSession/cpp/WindowsAudioSession.vcxproj b/Samples/WindowsAudioSession/cpp/WindowsAudioSession.vcxproj
index 99fc4289a3..b14563d7fd 100644
--- a/Samples/WindowsAudioSession/cpp/WindowsAudioSession.vcxproj
+++ b/Samples/WindowsAudioSession/cpp/WindowsAudioSession.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlAnimatedGif/README.md b/Samples/XamlAnimatedGif/README.md
index 09f26d8d3a..64c60640ab 100644
--- a/Samples/XamlAnimatedGif/README.md
+++ b/Samples/XamlAnimatedGif/README.md
@@ -16,11 +16,11 @@ Shows a basic implementation of an animated GIF, and how to control GIF playback
**Note** In the Windows 10 Anniversary Update, [Image](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.image.aspx)
elements automatically play an animated GIF image source.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -40,8 +40,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlAnimatedGif/cpp/AnimatedGif.vcxproj b/Samples/XamlAnimatedGif/cpp/AnimatedGif.vcxproj
index 326755a649..f7a3587502 100644
--- a/Samples/XamlAnimatedGif/cpp/AnimatedGif.vcxproj
+++ b/Samples/XamlAnimatedGif/cpp/AnimatedGif.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlAutoSuggestBox/README.md b/Samples/XamlAutoSuggestBox/README.md
index fea114c1be..f829bf9e4c 100644
--- a/Samples/XamlAutoSuggestBox/README.md
+++ b/Samples/XamlAutoSuggestBox/README.md
@@ -19,11 +19,11 @@ Specifically, this sample shows how to:
- **Add a glyph to your AutoSuggestBox:** With the QueryIcon property, you can specify a glyph to put in the TextBox of your AutoSuggestBox without re-templating.
- **Add keyboarding support:** The QuerySubmitted event supports all cases where an item could be selected, including Enter key, mouse click, or tap.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -46,8 +46,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlAutoSuggestBox/cpp/AutoSuggestBox.vcxproj b/Samples/XamlAutoSuggestBox/cpp/AutoSuggestBox.vcxproj
index 5542eed867..112137113a 100644
--- a/Samples/XamlAutoSuggestBox/cpp/AutoSuggestBox.vcxproj
+++ b/Samples/XamlAutoSuggestBox/cpp/AutoSuggestBox.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlBind/README.md b/Samples/XamlBind/README.md
index b9751bc3aa..05badb5adf 100644
--- a/Samples/XamlBind/README.md
+++ b/Samples/XamlBind/README.md
@@ -28,11 +28,11 @@ New for Windows 10 Anniversary Update:
* C-style casts. (See Other Bindings scenario.)
* Function binding. (See Function Binding scenario.)
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -60,8 +60,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlBind/cpp/xBindSampleCX.vcxproj b/Samples/XamlBind/cpp/xBindSampleCX.vcxproj
index 5d5ecd10d1..ead4924106 100644
--- a/Samples/XamlBind/cpp/xBindSampleCX.vcxproj
+++ b/Samples/XamlBind/cpp/xBindSampleCX.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlBottomUpList/README.md b/Samples/XamlBottomUpList/README.md
index f8398af938..6e2b73716c 100644
--- a/Samples/XamlBottomUpList/README.md
+++ b/Samples/XamlBottomUpList/README.md
@@ -28,11 +28,11 @@ and the animation that occurs when items are added/removed.
* Manually trigger the ISupportIncrementalLoading.LoadMoreAsync method
as the scroll position nears the top of the list.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## System requirements
@@ -46,8 +46,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlBottomUpList/cpp/BottomUpList.vcxproj b/Samples/XamlBottomUpList/cpp/BottomUpList.vcxproj
index 6054939d95..50d2a53b93 100644
--- a/Samples/XamlBottomUpList/cpp/BottomUpList.vcxproj
+++ b/Samples/XamlBottomUpList/cpp/BottomUpList.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlCloudFontIntegration/README.md b/Samples/XamlCloudFontIntegration/README.md
index 21cbef1eaa..16665dcd03 100644
--- a/Samples/XamlCloudFontIntegration/README.md
+++ b/Samples/XamlCloudFontIntegration/README.md
@@ -49,8 +49,8 @@ app is running, rather than when the XAML source files are viewed in Visual Stud
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlCloudFontIntegration/cpp/CloudFontIntegration.vcxproj b/Samples/XamlCloudFontIntegration/cpp/CloudFontIntegration.vcxproj
index 6f8e3b9f1e..6297a899e2 100644
--- a/Samples/XamlCloudFontIntegration/cpp/CloudFontIntegration.vcxproj
+++ b/Samples/XamlCloudFontIntegration/cpp/CloudFontIntegration.vcxproj
@@ -43,23 +43,23 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141truetrue
@@ -67,7 +67,7 @@
Applicationfalsetrue
- v140
+ v141truetrue
@@ -75,7 +75,7 @@
Applicationfalsetrue
- v140
+ v141truetrue
diff --git a/Samples/XamlCommanding/README.md b/Samples/XamlCommanding/README.md
index 501077c338..9173959cfe 100644
--- a/Samples/XamlCommanding/README.md
+++ b/Samples/XamlCommanding/README.md
@@ -30,11 +30,11 @@ commanding scenarios while still utilizing the structured commanding surface for
- **Adapting to Screen Sizes:** The default control does not reflow commands to/from the overflow as the available space changes.
This demonstrates how it can be achieved by subclassing the CommandBar and including additionl logic in the control's MeasureOverride.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -65,8 +65,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlCommanding/cpp/Commanding.vcxproj b/Samples/XamlCommanding/cpp/Commanding.vcxproj
index 3bbfb140c3..e295696451 100644
--- a/Samples/XamlCommanding/cpp/Commanding.vcxproj
+++ b/Samples/XamlCommanding/cpp/Commanding.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlContextMenu/README.md b/Samples/XamlContextMenu/README.md
index c68251e6af..0ee49d9924 100644
--- a/Samples/XamlContextMenu/README.md
+++ b/Samples/XamlContextMenu/README.md
@@ -21,11 +21,11 @@ Specifically, this sample shows how to:
- **Support for desktop and mobile:** with best practices for keyboard, mouse, and touch
- **Icons:** learn how to add support for icons
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -46,8 +46,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlContextMenu/cpp/ContextMenu.vcxproj b/Samples/XamlContextMenu/cpp/ContextMenu.vcxproj
index 970297ffbc..c08f1720e4 100644
--- a/Samples/XamlContextMenu/cpp/ContextMenu.vcxproj
+++ b/Samples/XamlContextMenu/cpp/ContextMenu.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlCustomMediaTransportControls/README.md b/Samples/XamlCustomMediaTransportControls/README.md
index 4c92bc675c..8808d60cd3 100644
--- a/Samples/XamlCustomMediaTransportControls/README.md
+++ b/Samples/XamlCustomMediaTransportControls/README.md
@@ -5,7 +5,7 @@
# Media transport controls sample
-Shows how to create customized media transport controls for the [MediaElement control](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.mediaelement.aspx)
+Shows how to create customized media transport controls for the [MediaPlayerElement control](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.mediaplayerelement.aspx)
in your XAML Windows App.
> **Note:** This sample is part of a large collection of UWP feature samples.
@@ -22,11 +22,11 @@ which show how to use the custom template in your app
- **Add a custom button:** In generic.xaml, add a custom button to the CommandBar, show how to reference it, and make it useable in CustomMediaTransportControls.cs
- **Change the color of the slider:** Add references in app.xaml for a custom brush used to change the color of the media slider
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -37,7 +37,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
### Reference
[Media Transport Controls](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.mediatransportcontrols.aspx)
-[MediaElement class](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.mediaelement.aspx)
+[MediaPlayerElement class](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.mediaplayerelement.aspx)
## System requirements
@@ -50,8 +50,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlDataVirtualization/README.md b/Samples/XamlDataVirtualization/README.md
index 2fe1506c26..098bd11dbd 100644
--- a/Samples/XamlDataVirtualization/README.md
+++ b/Samples/XamlDataVirtualization/README.md
@@ -19,11 +19,11 @@ Specifically, this sample shows how to:
- **Implement IItemsRangeInfo:** Use the IItemsRangeInfo interface to understand which items are in view or the buffer area for a list view, and to manage a cache containing those items.
- **Implement ISelectionInfo:** Use the ISelectionInfo interface to manage the selection of items in the list, accounting for the data virtualization.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10, go to [Windows 10](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
[ListView and GridView UI optimization](https://msdn.microsoft.com/library/windows/apps/mt204776.aspx)
@@ -48,8 +48,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
-1. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-2. Go to the directory to which you unzipped the sample. Double-click the Visual Studio 2015 Solution (.sln) file.
+1. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+2. Go to the directory to which you unzipped the sample. Double-click the Visual Studio Solution (.sln) file.
3. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlDeferLoadStrategy/README.md b/Samples/XamlDeferLoadStrategy/README.md
index e76d62f30a..dbbbb5ddd6 100644
--- a/Samples/XamlDeferLoadStrategy/README.md
+++ b/Samples/XamlDeferLoadStrategy/README.md
@@ -20,11 +20,11 @@ Specifically, this sample shows how to:
- **Create adaptive UIs that are less expensive:** By deferring elements and then targeting them with the VisualStateManager, you can reduce the footprint of your adaptive UIs in form factors that don't match the specified conditions of the VisualState.
- **Defer control template parts:** If you are creating custom controls that has pieces that you expect to not be used as often, you can defer those pieces of the control and only create them if the conditions under which those template parts are used is met.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -47,8 +47,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlDragAndDrop/README.md b/Samples/XamlDragAndDrop/README.md
index f202d7a06f..d1902a2e45 100644
--- a/Samples/XamlDragAndDrop/README.md
+++ b/Samples/XamlDragAndDrop/README.md
@@ -20,11 +20,11 @@ Specifically, this sample shows how to:
- **Customize the Drag and Drop UI** Both the source of a UIElement's Drag and Drop and the target of a Drag and Drop can customize the appearance of the Drag and Drop UI. This sample illustrates the different options for such customization.
- **Start Drag and Drop programmatically** UIElement's StartDragAsync allows a finer control of a Drag and Drop operation such as the gesture which triggers it or its possible cancellation. This sample shows how to call StartDragAsync and how to cancel the resulting Drag and Drop operation.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -58,8 +58,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlDragAndDrop/cpp/DragAndDropSampleNative.vcxproj b/Samples/XamlDragAndDrop/cpp/DragAndDropSampleNative.vcxproj
index 1f37919f51..4c8303a339 100644
--- a/Samples/XamlDragAndDrop/cpp/DragAndDropSampleNative.vcxproj
+++ b/Samples/XamlDragAndDrop/cpp/DragAndDropSampleNative.vcxproj
@@ -49,35 +49,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141
diff --git a/Samples/XamlFocusVisuals/README.md b/Samples/XamlFocusVisuals/README.md
index 353cd8849b..50ecc7a537 100644
--- a/Samples/XamlFocusVisuals/README.md
+++ b/Samples/XamlFocusVisuals/README.md
@@ -19,11 +19,11 @@ Specifically, this sample shows how to:
- **Use the system focus visuals in custom controls:** By using UseSystemFocusVisuals and the attached property Control.IsTemplateFocusTarget, you can specify which piece of your control template should draw the focus visuals.
- **Create your own focus visuals:** Add back the focus visual states from Windows 8.1 (included in the sample), and set UseSystemFocusVisuals to false to specify your own visuals.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -42,8 +42,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlGamepadNavigation/README.md b/Samples/XamlGamepadNavigation/README.md
index eb8770e702..794e61625f 100644
--- a/Samples/XamlGamepadNavigation/README.md
+++ b/Samples/XamlGamepadNavigation/README.md
@@ -39,11 +39,11 @@ buttons to be used for navigation.
For information about directional navigation in JavaScript apps,
see [WinJS.UI.XYFocus](https://msdn.microsoft.com/library/windows/apps/dn904246.aspx).
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -72,8 +72,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlListView/README.md b/Samples/XamlListView/README.md
index 4534cb90ff..ebee69b844 100644
--- a/Samples/XamlListView/README.md
+++ b/Samples/XamlListView/README.md
@@ -23,11 +23,11 @@ Specifically, this sample shows:
- **Restore Scroll Position Sample:** Shows how to restore a list's scrollviewer position when a user navigates away and back from a page. Implements the ListViewPersistenceHelper API.
- **Scroll into View Sample:** Shows how to scroll a specific item into view.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -52,8 +52,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlMasterDetail/README.md b/Samples/XamlMasterDetail/README.md
index f307e9ae3a..7c7d341fa3 100644
--- a/Samples/XamlMasterDetail/README.md
+++ b/Samples/XamlMasterDetail/README.md
@@ -25,11 +25,11 @@ Specifically, this sample demonstrates:
- **Navigating between the master list and a detail view:** At narrow screen sizes, the user can navigate between the master list in MasterDetailPage.xaml and detail view in DetailPage.xaml to view different items.
- **Changing the navigation model when the app is resized:** This sample contains the code necessary to adaptively switch between the two experiences described above at runtime based on screen size.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -55,8 +55,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlMasterDetail/cpp/MasterDetail.vcxproj b/Samples/XamlMasterDetail/cpp/MasterDetail.vcxproj
index fd0bef4f67..4812fcefd3 100644
--- a/Samples/XamlMasterDetail/cpp/MasterDetail.vcxproj
+++ b/Samples/XamlMasterDetail/cpp/MasterDetail.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlNavigation/README.md b/Samples/XamlNavigation/README.md
index d562b3862b..3af8cb7cb1 100644
--- a/Samples/XamlNavigation/README.md
+++ b/Samples/XamlNavigation/README.md
@@ -25,11 +25,11 @@ menu items and customizes the keyboarding behavior to provide a single selection
- **Position the CommandBar based on the screen size:** This sample moves the CommandBar to the bottom on screens less than seven inches diagonal.
- **Adapt UI to the ten-foot experience:** This sample uses a style sheet and a state trigger to adapt the UI when running on a TV.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -58,8 +58,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlNavigation/cpp/NavigationMenu.vcxproj b/Samples/XamlNavigation/cpp/NavigationMenu.vcxproj
index db87c172a6..cc9deb16ba 100644
--- a/Samples/XamlNavigation/cpp/NavigationMenu.vcxproj
+++ b/Samples/XamlNavigation/cpp/NavigationMenu.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlPivot/README.md b/Samples/XamlPivot/README.md
index 1fe5e1d79e..cbea34e44c 100644
--- a/Samples/XamlPivot/README.md
+++ b/Samples/XamlPivot/README.md
@@ -20,11 +20,11 @@ Specifically, this sample shows how to:
- **Show custom header content:** Learn how to create responsive experiences with the new header content areas
- **Create custom experices:** With its improved flexibility, learn how to create a 'tabs-style' experience with Pivot
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -43,8 +43,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlPullToRefresh/README.md b/Samples/XamlPullToRefresh/README.md
index 460d57ddc1..782ba11178 100644
--- a/Samples/XamlPullToRefresh/README.md
+++ b/Samples/XamlPullToRefresh/README.md
@@ -14,11 +14,11 @@ Shows how to implement a "pull-to-refresh" feature for a scrollable list.
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## System requirements
@@ -31,8 +31,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlResponsiveTechniques/README.md b/Samples/XamlResponsiveTechniques/README.md
index 7ba3493c74..1cbec52485 100644
--- a/Samples/XamlResponsiveTechniques/README.md
+++ b/Samples/XamlResponsiveTechniques/README.md
@@ -19,11 +19,11 @@ This sample can be viewed as a getting started sample.
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## System requirements
@@ -36,8 +36,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlStateTriggers/README.md b/Samples/XamlStateTriggers/README.md
index 85d5b67180..a856c58da9 100644
--- a/Samples/XamlStateTriggers/README.md
+++ b/Samples/XamlStateTriggers/README.md
@@ -15,11 +15,11 @@ built into a scenario app. Custom triggers shown here include DeviceFamilyTrigge
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## System requirements
@@ -32,8 +32,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlTailoredMultipleViews/README.md b/Samples/XamlTailoredMultipleViews/README.md
index 2a14e56d23..0f59f8b401 100644
--- a/Samples/XamlTailoredMultipleViews/README.md
+++ b/Samples/XamlTailoredMultipleViews/README.md
@@ -19,11 +19,11 @@ Specifically, this sample shows how to:
* Use the Pivot control plus commands at the bottom of devices that are less than 7" in size.
* Use the SplitView control plus commands at the top of devices greater than 7" in size.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
### Reference
@@ -41,8 +41,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlTailoredMultipleViews/cs/TailoredMultipleViews/DisplaySizeHelper/DisplaySizeHelper.vcxproj b/Samples/XamlTailoredMultipleViews/cs/TailoredMultipleViews/DisplaySizeHelper/DisplaySizeHelper.vcxproj
index db6e0e27b9..16a308d7dd 100644
--- a/Samples/XamlTailoredMultipleViews/cs/TailoredMultipleViews/DisplaySizeHelper/DisplaySizeHelper.vcxproj
+++ b/Samples/XamlTailoredMultipleViews/cs/TailoredMultipleViews/DisplaySizeHelper/DisplaySizeHelper.vcxproj
@@ -44,37 +44,37 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141trueDynamicLibraryfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlTransform3DAnimations/README.md b/Samples/XamlTransform3DAnimations/README.md
index 862a79b839..b9c3ab690c 100644
--- a/Samples/XamlTransform3DAnimations/README.md
+++ b/Samples/XamlTransform3DAnimations/README.md
@@ -21,11 +21,11 @@ including a 3D shadowing effect. See the SectionView class for an implementation
- **3D staggered zoom animation:** When the user navigates to a specific item, a staggered zoom effect is used to announce the entrance of content.
The ArticlePage class demonstrates how to create this effect.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -50,8 +50,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlTransform3DParallax/README.md b/Samples/XamlTransform3DParallax/README.md
index dfb55e4df7..22a7945e50 100644
--- a/Samples/XamlTransform3DParallax/README.md
+++ b/Samples/XamlTransform3DParallax/README.md
@@ -20,11 +20,11 @@ Specifically, this sample shows how to:
- **Add parallax to a Hub control:** By deriving from the Hub class, we can add a parallax background effect like the one in the Windows 8.1 Hub control.
See generic.xaml and the ParallaxBackgroundHub class for the implementation of this effect.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -49,8 +49,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlTransform3DParallax/cpp/Transform3DParallax.vcxproj b/Samples/XamlTransform3DParallax/cpp/Transform3DParallax.vcxproj
index e0c8595851..f5f888bfab 100644
--- a/Samples/XamlTransform3DParallax/cpp/Transform3DParallax.vcxproj
+++ b/Samples/XamlTransform3DParallax/cpp/Transform3DParallax.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlTreeView/README.md b/Samples/XamlTreeView/README.md
index 8bef0d5f45..df74d2f5a8 100644
--- a/Samples/XamlTreeView/README.md
+++ b/Samples/XamlTreeView/README.md
@@ -16,11 +16,11 @@ This is a preliminary version of the sample. Please check back periodically for
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## System requirements
@@ -33,8 +33,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlTreeView/cpp/Control/TreeViewControl.vcxproj b/Samples/XamlTreeView/cpp/Control/TreeViewControl.vcxproj
index 3de6fff9b7..7b9189bd29 100644
--- a/Samples/XamlTreeView/cpp/Control/TreeViewControl.vcxproj
+++ b/Samples/XamlTreeView/cpp/Control/TreeViewControl.vcxproj
@@ -43,35 +43,35 @@
DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibrarytrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141DynamicLibraryfalsetrue
- v140
+ v141
diff --git a/Samples/XamlTreeView/cpp/TreeView.vcxproj b/Samples/XamlTreeView/cpp/TreeView.vcxproj
index 41611aff87..d4cedde050 100644
--- a/Samples/XamlTreeView/cpp/TreeView.vcxproj
+++ b/Samples/XamlTreeView/cpp/TreeView.vcxproj
@@ -41,37 +41,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/Samples/XamlUIBasics/README.md b/Samples/XamlUIBasics/README.md
index 68c88a3e2e..81fa4cc6c0 100644
--- a/Samples/XamlUIBasics/README.md
+++ b/Samples/XamlUIBasics/README.md
@@ -20,11 +20,11 @@ Specifically, this sample shows how to:
- **Basic layout:** This sample will show all of the possible layout options for your app and allow you to interact with the panels to show how to achieve any layout you are looking for.
- **Adaptive UI:** In addition to showing how each control responds to different form factors, the app itself is responsive and shows various methods for achieving adaptive UI.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -49,8 +49,8 @@ Each control page in the application has links to the relevant MSDN documentatio
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XamlUIBasics/cs/AppUIBasics/ControlPages/ListViewPage.xaml b/Samples/XamlUIBasics/cs/AppUIBasics/ControlPages/ListViewPage.xaml
index 0672f6339d..89269deed0 100644
--- a/Samples/XamlUIBasics/cs/AppUIBasics/ControlPages/ListViewPage.xaml
+++ b/Samples/XamlUIBasics/cs/AppUIBasics/ControlPages/ListViewPage.xaml
@@ -110,21 +110,20 @@
<ListView ItemsSource="{x:Bind Groups}"ItemTemplate="{StaticResource
- ImageTextListTemplate }"
+ ImageTextListTemplate}"
- IsItemClickEnabled="
- "
+
+ IsItemClickEnabled=""
- IsSwipeEnabled="
- "
+
+ IsSwipeEnabled=""
- CanDragItems="
- "
+
+ CanDragItems=""
- SelectionMode="
- "
+
+ SelectionMode="" />
- </ListView>
diff --git a/Samples/XamlWebView/README.md b/Samples/XamlWebView/README.md
index 34b4ab7d08..abf3422c92 100644
--- a/Samples/XamlWebView/README.md
+++ b/Samples/XamlWebView/README.md
@@ -56,11 +56,11 @@ Specifically, this sample shows how to
[CaptureSelectedContentToDataPackageAsync](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.webview.captureselectedcontenttodatapackageasync.aspx)
method to obtain the current selection of the WebView.
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -86,8 +86,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XmlDocument/README.md b/Samples/XmlDocument/README.md
index 91a777fe0d..74b4cbf972 100644
--- a/Samples/XmlDocument/README.md
+++ b/Samples/XmlDocument/README.md
@@ -57,8 +57,8 @@ The Source XML and Source XSL can both be modified during runtime to see differe
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XmlLite/README.md b/Samples/XmlLite/README.md
index 2c85f39b4a..1204352c9d 100644
--- a/Samples/XmlLite/README.md
+++ b/Samples/XmlLite/README.md
@@ -36,8 +36,8 @@ Specifically, this sample covers:
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/Samples/XmlLite/cpp/XmlLite.vcxproj b/Samples/XmlLite/cpp/XmlLite.vcxproj
index 0b7b8801a4..95c0586d42 100644
--- a/Samples/XmlLite/cpp/XmlLite.vcxproj
+++ b/Samples/XmlLite/cpp/XmlLite.vcxproj
@@ -42,37 +42,37 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141trueApplicationfalsetrue
- v140
+ v141true
diff --git a/SharedContent/Templates/README.md b/SharedContent/Templates/README.md
index 80485f6381..b71c6b12b1 100644
--- a/SharedContent/Templates/README.md
+++ b/SharedContent/Templates/README.md
@@ -1,12 +1,13 @@
Quick guide to creating new SDK Sample projects.
-The Win10 RTM templates are designed to work with the linked files in the SharedContent folders as part of the Universal Windows Platform Samples repo. As such, the sample must be created in the repository.
+
+The templates are designed to work with the linked files in the SharedContent folders as part of the Universal Windows Platform Samples repo. As such, the sample must be created in the repository.
Setup - Install the UWP Sample project templates:
-1) Shutdown VS 2015 if it is running
+1) Shut down Visual Studio if it is running
2) Open an Administrator command prompt, and run "SharedContent\InstallSDKTemplates.cmd", this will copy the template files to the correct user locations.
Create a new Sample project:
-3) Launch VS 2015
+3) Launch Visual Studio
4) File.New Project...Templates->[Visual C++|Visual C#|JavaScript].Windows.Universal.Windows SDK UWP Sample (XAML)
5) Uncheck the checkbox for "Create directory for solution"
6) Create the sample in the Samples folder of your local repo, ie: "C:\repos\public\Samples"
diff --git a/SharedContent/Templates/Shared/README.md b/SharedContent/Templates/Shared/README.md
index 53aa67c0da..3f35bf93c3 100644
--- a/SharedContent/Templates/Shared/README.md
+++ b/SharedContent/Templates/Shared/README.md
@@ -12,11 +12,11 @@ Specifically, this sample shows how to:
- **(Concise summary of point 2):** Elaboration...
- **(Concise summary of point 3):** Elaboration...
-**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
+**Note** The Windows universal samples require Visual Studio 2017 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
-To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
+To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
@@ -55,8 +55,8 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Build the sample
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
-2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
-3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio?2015 Solution (.sln) file.
+2. Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
+3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio Solution (.sln) file.
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
## Run the sample
diff --git a/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vcxproj b/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vcxproj
index 92dc85c76f..5bfc14f62b 100644
--- a/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vcxproj
+++ b/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vcxproj
@@ -41,35 +41,35 @@
Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationtrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141Applicationfalsetrue
- v140
+ v141