diff --git a/Directory.Build.props b/Directory.Build.props index 32629db9aa8..c16e8639f2d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -31,8 +31,8 @@ $(NoWarn);CS8002 - - true + + true diff --git a/Directory.Packages.props b/Directory.Packages.props index eadc7f7c60a..aa7df498dd1 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -2,7 +2,6 @@ 2.0.3 - 6.2.12 @@ -12,8 +11,8 @@ - - + + diff --git a/GazeInputTest/GazeInputTest.csproj b/GazeInputTest/GazeInputTest.csproj index 390a9aeeb25..100f6b20b98 100644 --- a/GazeInputTest/GazeInputTest.csproj +++ b/GazeInputTest/GazeInputTest.csproj @@ -22,7 +22,7 @@ true bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x86 false @@ -31,7 +31,7 @@ bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x86 @@ -43,7 +43,7 @@ true bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM false @@ -52,7 +52,7 @@ bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM @@ -64,7 +64,7 @@ true bin\ARM64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM64 false @@ -73,7 +73,7 @@ bin\ARM64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM64 @@ -85,7 +85,7 @@ true bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x64 false @@ -94,7 +94,7 @@ bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x64 diff --git a/Microsoft.Toolkit.Uwp.Connectivity/Microsoft.Toolkit.Uwp.Connectivity.csproj b/Microsoft.Toolkit.Uwp.Connectivity/Microsoft.Toolkit.Uwp.Connectivity.csproj index 4cd3b1c28d4..42227e6c263 100644 --- a/Microsoft.Toolkit.Uwp.Connectivity/Microsoft.Toolkit.Uwp.Connectivity.csproj +++ b/Microsoft.Toolkit.Uwp.Connectivity/Microsoft.Toolkit.Uwp.Connectivity.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/Microsoft.Toolkit.Uwp.DeveloperTools/Microsoft.Toolkit.Uwp.DeveloperTools.csproj b/Microsoft.Toolkit.Uwp.DeveloperTools/Microsoft.Toolkit.Uwp.DeveloperTools.csproj index c5d5838785f..3e5daeae53a 100644 --- a/Microsoft.Toolkit.Uwp.DeveloperTools/Microsoft.Toolkit.Uwp.DeveloperTools.csproj +++ b/Microsoft.Toolkit.Uwp.DeveloperTools/Microsoft.Toolkit.Uwp.DeveloperTools.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/Microsoft.Toolkit.Uwp.Input.GazeInteraction/Microsoft.Toolkit.Uwp.Input.GazeInteraction.csproj b/Microsoft.Toolkit.Uwp.Input.GazeInteraction/Microsoft.Toolkit.Uwp.Input.GazeInteraction.csproj index 0acc2d6fe2a..7a220a3046e 100644 --- a/Microsoft.Toolkit.Uwp.Input.GazeInteraction/Microsoft.Toolkit.Uwp.Input.GazeInteraction.csproj +++ b/Microsoft.Toolkit.Uwp.Input.GazeInteraction/Microsoft.Toolkit.Uwp.Input.GazeInteraction.csproj @@ -1,4 +1,4 @@ - + uap10.0.17134 diff --git a/Microsoft.Toolkit.Uwp.Notifications/Badges/BadgeGlyphContent.cs b/Microsoft.Toolkit.Uwp.Notifications/Badges/BadgeGlyphContent.cs index 9532c066e97..089b7a719b0 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Badges/BadgeGlyphContent.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Badges/BadgeGlyphContent.cs @@ -3,7 +3,7 @@ // See the LICENSE file in the project root for more information. using System; -#if WINDOWS_UWP +#if WINDOWS_UAP using Windows.Data.Xml.Dom; #endif @@ -80,7 +80,7 @@ public override string ToString() return GetContent(); } -#if WINDOWS_UWP +#if WINDOWS_UAP /// /// Retrieves the notification XML content as a WinRT Xml document. /// diff --git a/Microsoft.Toolkit.Uwp.Notifications/Badges/BadgeNumericContent.cs b/Microsoft.Toolkit.Uwp.Notifications/Badges/BadgeNumericContent.cs index a785eaa2693..76e42c7139d 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Badges/BadgeNumericContent.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Badges/BadgeNumericContent.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -#if WINDOWS_UWP +#if WINDOWS_UAP using Windows.Data.Xml.Dom; #endif @@ -62,7 +62,7 @@ public override string ToString() return GetContent(); } -#if WINDOWS_UWP +#if WINDOWS_UAP /// /// Retrieves the notification Xml content as a WinRT Xml document. /// diff --git a/Microsoft.Toolkit.Uwp.Notifications/Common/BaseElement.cs b/Microsoft.Toolkit.Uwp.Notifications/Common/BaseElement.cs index 781f04f56f7..8ccdb0413d5 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Common/BaseElement.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Common/BaseElement.cs @@ -5,7 +5,7 @@ using System.IO; using System.Text; -#if WINDOWS_UWP +#if WINDOWS_UAP using Windows.Data.Xml.Dom; #endif @@ -40,7 +40,7 @@ public string GetContent() } } -#if WINDOWS_UWP +#if WINDOWS_UAP /// /// Retrieves the notification XML content as a WinRT XML document. /// diff --git a/Microsoft.Toolkit.Uwp.Notifications/Common/INotificationContent.cs b/Microsoft.Toolkit.Uwp.Notifications/Common/INotificationContent.cs index 2523ac60968..e209ed3215a 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Common/INotificationContent.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Common/INotificationContent.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -#if WINDOWS_UWP +#if WINDOWS_UAP using Windows.Data.Xml.Dom; #endif @@ -19,7 +19,7 @@ public interface INotificationContent /// The notification Xml content as a string. string GetContent(); -#if WINDOWS_UWP +#if WINDOWS_UAP /// /// Retrieves the notification Xml content as a WinRT Xml document. /// diff --git a/Microsoft.Toolkit.Uwp.Notifications/Common/LimitedList{T}.cs b/Microsoft.Toolkit.Uwp.Notifications/Common/LimitedList{T}.cs index 1814752979b..69fe19826ce 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Common/LimitedList{T}.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Common/LimitedList{T}.cs @@ -5,7 +5,7 @@ using System; using System.Collections; using System.Collections.Generic; -#if WINDOWS_UWP +#if WINDOWS_UAP #endif diff --git a/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationContentValidationException.cs b/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationContentValidationException.cs index 11aa4a4d4e3..0ebbf80f261 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationContentValidationException.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationContentValidationException.cs @@ -3,7 +3,7 @@ // See the LICENSE file in the project root for more information. using System; -#if WINDOWS_UWP +#if WINDOWS_UAP #endif diff --git a/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlAttributeAttribute.cs b/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlAttributeAttribute.cs index f126dbcd4a7..26e88d4d9b7 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlAttributeAttribute.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlAttributeAttribute.cs @@ -3,7 +3,7 @@ // See the LICENSE file in the project root for more information. using System; -#if WINDOWS_UWP +#if WINDOWS_UAP #endif diff --git a/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlContentAttribute.cs b/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlContentAttribute.cs index 9e06c7c2a58..22fad873da5 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlContentAttribute.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlContentAttribute.cs @@ -3,7 +3,7 @@ // See the LICENSE file in the project root for more information. using System; -#if WINDOWS_UWP +#if WINDOWS_UAP #endif diff --git a/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlElementAttribute.cs b/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlElementAttribute.cs index 7b7018739d9..0bddaf2996f 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlElementAttribute.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Common/NotificationXmlElementAttribute.cs @@ -3,7 +3,7 @@ // See the LICENSE file in the project root for more information. using System; -#if WINDOWS_UWP +#if WINDOWS_UAP #endif diff --git a/Microsoft.Toolkit.Uwp.Notifications/Common/XmlWriterHelper.cs b/Microsoft.Toolkit.Uwp.Notifications/Common/XmlWriterHelper.cs index 2318b4d819e..caa8e9053b7 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Common/XmlWriterHelper.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Common/XmlWriterHelper.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Reflection; -#if WINDOWS_UWP +#if WINDOWS_UAP #endif diff --git a/Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.csproj b/Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.csproj index 6ca0cef4859..ab196479721 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.csproj +++ b/Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.csproj @@ -1,4 +1,4 @@ - + netstandard1.4;uap10.0.16299;net461;netcoreapp3.1;net5.0;net5.0-windows10.0.17763;native @@ -14,8 +14,8 @@ - - $(DefineConstants);WINDOWS_UWP;WIN32 + + $(DefineConstants);WINDOWS_UAP;WIN32 @@ -30,7 +30,7 @@ v5.0 false - $(DefineConstants);WINDOWS_UWP;WINRT + $(DefineConstants);WINDOWS_UAP;WINRT $(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets UAP,Version=v10.0 @@ -58,10 +58,6 @@ - - - - diff --git a/Microsoft.Toolkit.Uwp.Notifications/ReadMe.md b/Microsoft.Toolkit.Uwp.Notifications/ReadMe.md index bfc7d22d1ca..2f482dbefbf 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/ReadMe.md +++ b/Microsoft.Toolkit.Uwp.Notifications/ReadMe.md @@ -3,7 +3,7 @@ Welcome to the Notifications section of the toolkit! This contains the Notificat ## Where should I add new code? Any code for generating notifications should be written in the Microsoft.Toolkit.Uwp.Notifications project. -If there's UWP-specific code, use the appropriate `#ifdef`, `WINDOWS_UWP` or `WINRT`. +If there's UWP-specific code, use the appropriate `#ifdef`, `WINDOWS_UAP` or `WINRT`. ## What are all the projects for? All the code is contained on the Microsoft.Toolkit.Uwp.Notifications project. diff --git a/Microsoft.Toolkit.Uwp.Notifications/Tiles/TileContent.cs b/Microsoft.Toolkit.Uwp.Notifications/Tiles/TileContent.cs index dc3a622cb30..c0b921485f1 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Tiles/TileContent.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Tiles/TileContent.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -#if WINDOWS_UWP +#if WINDOWS_UAP using Windows.Data.Xml.Dom; using Windows.UI.Notifications; #endif @@ -28,7 +28,7 @@ public string GetContent() return ConvertToElement().GetContent(); } -#if WINDOWS_UWP +#if WINDOWS_UAP /// /// Retrieves the notification XML content as a WinRT XmlDocument, so that it can be used with a local Tile notification's constructor on either or . /// diff --git a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/CustomizeToast.cs b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/CustomizeToast.cs index f7947126aa0..b8851313939 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/CustomizeToast.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/CustomizeToast.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -#if WINDOWS_UWP +#if WINDOWS_UAP using Windows.Foundation; using Windows.UI.Notifications; diff --git a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/ToastContentBuilder.Visuals.cs b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/ToastContentBuilder.Visuals.cs index 49b99d9056b..770d21c4dbd 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/ToastContentBuilder.Visuals.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/ToastContentBuilder.Visuals.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Text; -#if WINDOWS_UWP +#if WINDOWS_UAP using Windows.UI.Notifications; #endif @@ -79,7 +79,7 @@ private IList VisualChildren } } -#if WINDOWS_UWP +#if WINDOWS_UAP #if !WINRT /// /// Create an instance of NotificationData that can be used to update toast that has a progress bar. diff --git a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/ToastContentBuilder.cs b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/ToastContentBuilder.cs index 5349883b0d0..0dc3a3ad3f8 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/ToastContentBuilder.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/ToastContentBuilder.cs @@ -396,7 +396,7 @@ public ToastContent GetToastContent() return Content; } -#if WINDOWS_UWP +#if WINDOWS_UAP /// /// Retrieves the notification XML content as a WinRT XmlDocument, so that it can be used with a local Toast notification's constructor on either or . /// diff --git a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotificationHistoryCompat.cs b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotificationHistoryCompat.cs index 69104c2eefd..0d9f3bc5a9c 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotificationHistoryCompat.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotificationHistoryCompat.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -#if WINDOWS_UWP +#if WINDOWS_UAP using System.Collections.Generic; using Windows.UI.Notifications; diff --git a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotificationManagerCompat.cs b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotificationManagerCompat.cs index 91a01a2adcb..059466b128d 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotificationManagerCompat.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotificationManagerCompat.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -#if WINDOWS_UWP +#if WINDOWS_UAP using System; using System.Collections.Generic; diff --git a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotifierCompat.cs b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotifierCompat.cs index da7667b6ed2..e346e46791c 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotifierCompat.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/ToastNotifierCompat.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -#if WINDOWS_UWP +#if WINDOWS_UAP using System.Collections.Generic; using Windows.UI.Notifications; diff --git a/Microsoft.Toolkit.Uwp.Notifications/Toasts/ToastContent.cs b/Microsoft.Toolkit.Uwp.Notifications/Toasts/ToastContent.cs index f08d5d1e476..8637c27b698 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Toasts/ToastContent.cs +++ b/Microsoft.Toolkit.Uwp.Notifications/Toasts/ToastContent.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -#if WINDOWS_UWP +#if WINDOWS_UAP using Windows.Data.Xml.Dom; using Windows.UI.Notifications; #endif @@ -100,7 +100,7 @@ public string GetContent() return ConvertToElement().GetContent(); } -#if WINDOWS_UWP +#if WINDOWS_UAP /// /// Retrieves the notification XML content as a WinRT XmlDocument, so that it can be used with a local Toast notification's constructor on either or . diff --git a/Microsoft.Toolkit.Uwp.SampleApp/Microsoft.Toolkit.Uwp.SampleApp.csproj b/Microsoft.Toolkit.Uwp.SampleApp/Microsoft.Toolkit.Uwp.SampleApp.csproj index 7b1ba178637..f99e187a0b7 100644 --- a/Microsoft.Toolkit.Uwp.SampleApp/Microsoft.Toolkit.Uwp.SampleApp.csproj +++ b/Microsoft.Toolkit.Uwp.SampleApp/Microsoft.Toolkit.Uwp.SampleApp.csproj @@ -25,7 +25,7 @@ true bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x86 false @@ -35,7 +35,7 @@ bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP;REMOTE_DOCS + TRACE;NETFX_CORE;WINDOWS_UAP;REMOTE_DOCS true pdbonly x86 @@ -50,7 +50,7 @@ true bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM false @@ -59,7 +59,7 @@ bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP;REMOTE_DOCS + TRACE;NETFX_CORE;WINDOWS_UAP;REMOTE_DOCS true pdbonly ARM @@ -74,7 +74,7 @@ true bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x64 false @@ -83,7 +83,7 @@ bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP;REMOTE_DOCS + TRACE;NETFX_CORE;WINDOWS_UAP;REMOTE_DOCS true pdbonly x64 @@ -1487,7 +1487,7 @@ true bin\ARM64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP true full ARM64 @@ -1497,7 +1497,7 @@ bin\ARM64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP;REMOTE_DOCS + TRACE;NETFX_CORE;WINDOWS_UAP;REMOTE_DOCS true true true diff --git a/Microsoft.Toolkit.Uwp.Samples.BackgroundTasks/Microsoft.Toolkit.Uwp.Samples.BackgroundTasks.csproj b/Microsoft.Toolkit.Uwp.Samples.BackgroundTasks/Microsoft.Toolkit.Uwp.Samples.BackgroundTasks.csproj index 62e1ac1d6c6..bd9aed26818 100644 --- a/Microsoft.Toolkit.Uwp.Samples.BackgroundTasks/Microsoft.Toolkit.Uwp.Samples.BackgroundTasks.csproj +++ b/Microsoft.Toolkit.Uwp.Samples.BackgroundTasks/Microsoft.Toolkit.Uwp.Samples.BackgroundTasks.csproj @@ -24,7 +24,7 @@ full false bin\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP prompt 4 @@ -33,7 +33,7 @@ pdbonly true bin\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP prompt 4 @@ -41,7 +41,7 @@ x86 true bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x86 false @@ -50,7 +50,7 @@ x86 bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x86 @@ -61,7 +61,7 @@ ARM true bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM false @@ -70,7 +70,7 @@ ARM bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM @@ -81,7 +81,7 @@ x64 true bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x64 false @@ -90,7 +90,7 @@ x64 bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x64 @@ -119,7 +119,7 @@ true bin\ARM64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM64 false @@ -127,7 +127,7 @@ bin\ARM64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM64 diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Microsoft.Toolkit.Uwp.UI.Animations.csproj b/Microsoft.Toolkit.Uwp.UI.Animations/Microsoft.Toolkit.Uwp.UI.Animations.csproj index 130fdd806ef..cded28df431 100644 --- a/Microsoft.Toolkit.Uwp.UI.Animations/Microsoft.Toolkit.Uwp.UI.Animations.csproj +++ b/Microsoft.Toolkit.Uwp.UI.Animations/Microsoft.Toolkit.Uwp.UI.Animations.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/Microsoft.Toolkit.Uwp.UI.Behaviors/Microsoft.Toolkit.Uwp.UI.Behaviors.csproj b/Microsoft.Toolkit.Uwp.UI.Behaviors/Microsoft.Toolkit.Uwp.UI.Behaviors.csproj index ce9c2f86e73..a13fe08591b 100644 --- a/Microsoft.Toolkit.Uwp.UI.Behaviors/Microsoft.Toolkit.Uwp.UI.Behaviors.csproj +++ b/Microsoft.Toolkit.Uwp.UI.Behaviors/Microsoft.Toolkit.Uwp.UI.Behaviors.csproj @@ -1,4 +1,4 @@ - + true diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Core/Microsoft.Toolkit.Uwp.UI.Controls.Core.csproj b/Microsoft.Toolkit.Uwp.UI.Controls.Core/Microsoft.Toolkit.Uwp.UI.Controls.Core.csproj index c183de922ca..85d04b1925c 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Core/Microsoft.Toolkit.Uwp.UI.Controls.Core.csproj +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Core/Microsoft.Toolkit.Uwp.UI.Controls.Core.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/DataGrid/DataGridBoundColumn.cs b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/DataGrid/DataGridBoundColumn.cs index 3e31f65ed55..f78cf65a0d7 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/DataGrid/DataGridBoundColumn.cs +++ b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/DataGrid/DataGridBoundColumn.cs @@ -58,7 +58,7 @@ public virtual Binding Binding _binding.Converter = new DataGridValueConverter(); } -#if !WINDOWS_UWP +#if !WINDOWS_UAP // Setup the binding for validation _binding.ValidatesOnDataErrors = true; _binding.ValidatesOnExceptions = true; diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.csproj b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.csproj index 6552d8fcd47..409d6ed0957 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.csproj +++ b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/Extensions.cs b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/Extensions.cs index d69734da15b..f43378c19fa 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/Extensions.cs +++ b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/Extensions.cs @@ -95,7 +95,7 @@ private static object GetFocusedElement(UIElement uiElement) /// true if MemberInfo is read-only, false otherwise internal static bool GetIsReadOnly(this MemberInfo memberInfo) { -#if !WINDOWS_UWP +#if !WINDOWS_UAP if (memberInfo != null) { // Check if ReadOnlyAttribute is defined on the member @@ -124,7 +124,7 @@ internal static Type GetItemType(this IEnumerable list) if (listType.IsEnumerableType()) { itemType = listType.GetEnumerableItemType(); -#if !WINDOWS_UWP +#if !WINDOWS_UAP if (itemType != null) { isICustomTypeProvider = typeof(ICustomTypeProvider).IsAssignableFrom(itemType); diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/TypeHelper.cs b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/TypeHelper.cs index dc533a33326..c3fe70d7c2d 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/TypeHelper.cs +++ b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/TypeHelper.cs @@ -447,7 +447,7 @@ internal static List SplitPropertyPath(string propertyPath) /// Type of the instance internal static Type GetCustomOrCLRType(this object instance) { -#if !WINDOWS_UWP +#if !WINDOWS_UAP ICustomTypeProvider customTypeProvider = instance as ICustomTypeProvider; if (customTypeProvider != null) { diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/ValidationUtil.cs b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/ValidationUtil.cs index 47506ab7bbd..94aa33b6aec 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/ValidationUtil.cs +++ b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/ValidationUtil.cs @@ -241,7 +241,7 @@ public static List GetDependencyProperties(this FrameworkEle /// True if the process cannot be recovered from the exception. public static bool IsCriticalException(Exception exception) { -#if WINDOWS_UWP +#if WINDOWS_UAP return exception is OutOfMemoryException; #else return (exception is OutOfMemoryException) || diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Input/Microsoft.Toolkit.Uwp.UI.Controls.Input.csproj b/Microsoft.Toolkit.Uwp.UI.Controls.Input/Microsoft.Toolkit.Uwp.UI.Controls.Input.csproj index 292a821d980..017edb49788 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Input/Microsoft.Toolkit.Uwp.UI.Controls.Input.csproj +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Input/Microsoft.Toolkit.Uwp.UI.Controls.Input.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Layout/Microsoft.Toolkit.Uwp.UI.Controls.Layout.csproj b/Microsoft.Toolkit.Uwp.UI.Controls.Layout/Microsoft.Toolkit.Uwp.UI.Controls.Layout.csproj index 488c2b80257..83f2d4f8403 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Layout/Microsoft.Toolkit.Uwp.UI.Controls.Layout.csproj +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Layout/Microsoft.Toolkit.Uwp.UI.Controls.Layout.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Markdown/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.csproj b/Microsoft.Toolkit.Uwp.UI.Controls.Markdown/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.csproj index a4088ebf390..e5052a4740c 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Markdown/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.csproj +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Markdown/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Media/Microsoft.Toolkit.Uwp.UI.Controls.Media.csproj b/Microsoft.Toolkit.Uwp.UI.Controls.Media/Microsoft.Toolkit.Uwp.UI.Controls.Media.csproj index 819eab9282f..8693f00610e 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Media/Microsoft.Toolkit.Uwp.UI.Controls.Media.csproj +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Media/Microsoft.Toolkit.Uwp.UI.Controls.Media.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Primitives/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.csproj b/Microsoft.Toolkit.Uwp.UI.Controls.Primitives/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.csproj index d290863d468..7057372cd9e 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Primitives/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.csproj +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Primitives/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/Microsoft.Toolkit.Uwp.UI.Controls/Microsoft.Toolkit.Uwp.UI.Controls.csproj b/Microsoft.Toolkit.Uwp.UI.Controls/Microsoft.Toolkit.Uwp.UI.Controls.csproj index 7d2ab48bad5..538e3ea200e 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls/Microsoft.Toolkit.Uwp.UI.Controls.csproj +++ b/Microsoft.Toolkit.Uwp.UI.Controls/Microsoft.Toolkit.Uwp.UI.Controls.csproj @@ -1,4 +1,4 @@ - + false diff --git a/Microsoft.Toolkit.Uwp.UI.Media/Microsoft.Toolkit.Uwp.UI.Media.csproj b/Microsoft.Toolkit.Uwp.UI.Media/Microsoft.Toolkit.Uwp.UI.Media.csproj index 9ac3ed9eee1..49385c7368a 100644 --- a/Microsoft.Toolkit.Uwp.UI.Media/Microsoft.Toolkit.Uwp.UI.Media.csproj +++ b/Microsoft.Toolkit.Uwp.UI.Media/Microsoft.Toolkit.Uwp.UI.Media.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/Microsoft.Toolkit.Uwp.UI/Microsoft.Toolkit.Uwp.UI.csproj b/Microsoft.Toolkit.Uwp.UI/Microsoft.Toolkit.Uwp.UI.csproj index aa8d9c21ba4..484188f815c 100644 --- a/Microsoft.Toolkit.Uwp.UI/Microsoft.Toolkit.Uwp.UI.csproj +++ b/Microsoft.Toolkit.Uwp.UI/Microsoft.Toolkit.Uwp.UI.csproj @@ -1,4 +1,4 @@ - + true diff --git a/Microsoft.Toolkit.Uwp/Microsoft.Toolkit.Uwp.csproj b/Microsoft.Toolkit.Uwp/Microsoft.Toolkit.Uwp.csproj index 0183e9525fb..a0ae5ceb3c3 100644 --- a/Microsoft.Toolkit.Uwp/Microsoft.Toolkit.Uwp.csproj +++ b/Microsoft.Toolkit.Uwp/Microsoft.Toolkit.Uwp.csproj @@ -1,4 +1,4 @@ - + uap10.0.17763 diff --git a/SmokeTests/SmokeTest.csproj b/SmokeTests/SmokeTest.csproj index 499c2bf3e6b..15b95977a59 100644 --- a/SmokeTests/SmokeTest.csproj +++ b/SmokeTests/SmokeTest.csproj @@ -42,11 +42,11 @@ true - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly true diff --git a/UITests/UITests.App/UITests.App.csproj b/UITests/UITests.App/UITests.App.csproj index 4cfd9048a6e..f5200679ec0 100644 --- a/UITests/UITests.App/UITests.App.csproj +++ b/UITests/UITests.App/UITests.App.csproj @@ -32,7 +32,7 @@ true bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x86 false @@ -41,7 +41,7 @@ bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x86 @@ -53,7 +53,7 @@ true bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM false @@ -62,7 +62,7 @@ bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM @@ -74,7 +74,7 @@ true bin\ARM64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM64 false @@ -84,7 +84,7 @@ bin\ARM64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM64 @@ -96,7 +96,7 @@ true bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x64 false @@ -105,7 +105,7 @@ bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x64 diff --git a/UnitTests/UnitTests.HighPerformance.Shared/Enumerables/Test_ReadOnlyRefEnumerable{T}.cs b/UnitTests/UnitTests.HighPerformance.Shared/Enumerables/Test_ReadOnlyRefEnumerable{T}.cs index c4c6470fdb3..610fab44304 100644 --- a/UnitTests/UnitTests.HighPerformance.Shared/Enumerables/Test_ReadOnlyRefEnumerable{T}.cs +++ b/UnitTests/UnitTests.HighPerformance.Shared/Enumerables/Test_ReadOnlyRefEnumerable{T}.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -#if !WINDOWS_UWP +#if !WINDOWS_UAP using System; using System.Diagnostics.CodeAnalysis; diff --git a/UnitTests/UnitTests.HighPerformance.Shared/Enumerables/Test_RefEnumerable{T}.cs b/UnitTests/UnitTests.HighPerformance.Shared/Enumerables/Test_RefEnumerable{T}.cs index 4c37642b515..7a91459ba2e 100644 --- a/UnitTests/UnitTests.HighPerformance.Shared/Enumerables/Test_RefEnumerable{T}.cs +++ b/UnitTests/UnitTests.HighPerformance.Shared/Enumerables/Test_RefEnumerable{T}.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -#if !WINDOWS_UWP +#if !WINDOWS_UAP using System; using System.Diagnostics.CodeAnalysis; diff --git a/UnitTests/UnitTests.HighPerformance.Shared/Extensions/Test_IBufferWriterExtensions.cs b/UnitTests/UnitTests.HighPerformance.Shared/Extensions/Test_IBufferWriterExtensions.cs index 6ab9a809c5e..a4d2f3d6c82 100644 --- a/UnitTests/UnitTests.HighPerformance.Shared/Extensions/Test_IBufferWriterExtensions.cs +++ b/UnitTests/UnitTests.HighPerformance.Shared/Extensions/Test_IBufferWriterExtensions.cs @@ -3,7 +3,7 @@ // See the LICENSE file in the project root for more information. using System; -#if !WINDOWS_UWP +#if !WINDOWS_UAP using System.Buffers; #endif using System.IO; diff --git a/UnitTests/UnitTests.HighPerformance.Shared/Extensions/Test_SpinLockExtensions.cs b/UnitTests/UnitTests.HighPerformance.Shared/Extensions/Test_SpinLockExtensions.cs index da0aec78ff3..1c125c16856 100644 --- a/UnitTests/UnitTests.HighPerformance.Shared/Extensions/Test_SpinLockExtensions.cs +++ b/UnitTests/UnitTests.HighPerformance.Shared/Extensions/Test_SpinLockExtensions.cs @@ -48,7 +48,7 @@ public void Test_ArrayExtensions_Ref() { for (int j = 0; j < 10; j++) { -#if WINDOWS_UWP +#if WINDOWS_UAP using (SpinLockExtensions.Enter(spinLockOwner, ref spinLockOwner.Lock)) #else using (spinLockOwner.Lock.Enter()) diff --git a/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_Memory2D{T}.cs b/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_Memory2D{T}.cs index 5cdc09656af..ad60fa308e7 100644 --- a/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_Memory2D{T}.cs +++ b/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_Memory2D{T}.cs @@ -4,7 +4,7 @@ using System; using System.Diagnostics.CodeAnalysis; -#if !WINDOWS_UWP +#if !WINDOWS_UAP using System.Runtime.CompilerServices; #endif using Microsoft.Toolkit.HighPerformance; @@ -205,7 +205,7 @@ public void Test_Memory2DT_Array3DConstructor_2() Assert.ThrowsException(() => new Memory2D(array, 0, 0, 0, 3, 3)); } -#if !WINDOWS_UWP +#if !WINDOWS_UAP [TestCategory("Memory2DT")] [TestMethod] public void Test_Memory2DT_MemoryConstructor() @@ -341,7 +341,7 @@ public void Test_Memory2DT_TryGetMemory_1() // Memory (or a Span too, for that matter) from a 2D array. bool success = memory2d.TryGetMemory(out Memory memory); -#if WINDOWS_UWP +#if WINDOWS_UAP Assert.IsFalse(success); Assert.IsTrue(memory.IsEmpty); #else @@ -368,7 +368,7 @@ public void Test_Memory2DT_TryGetMemory_2() Assert.AreEqual(memory.Span[2], 3); } -#if !WINDOWS_UWP +#if !WINDOWS_UAP [TestCategory("Memory2DT")] [TestMethod] public void Test_Memory2DT_TryGetMemory_3() diff --git a/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_ReadOnlyMemory2D{T}.cs b/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_ReadOnlyMemory2D{T}.cs index ab9311f4aa6..00b297a0f26 100644 --- a/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_ReadOnlyMemory2D{T}.cs +++ b/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_ReadOnlyMemory2D{T}.cs @@ -4,7 +4,7 @@ using System; using System.Diagnostics.CodeAnalysis; -#if !WINDOWS_UWP +#if !WINDOWS_UAP using System.Runtime.CompilerServices; #endif using Microsoft.Toolkit.HighPerformance; @@ -185,7 +185,7 @@ public void Test_ReadOnlyMemory2DT_Array3DConstructor_2() Assert.ThrowsException(() => new ReadOnlyMemory2D(array, 0, 0, 0, 3, 3)); } -#if !WINDOWS_UWP +#if !WINDOWS_UAP [TestCategory("ReadOnlyMemory2DT")] [TestMethod] public void Test_ReadOnlyMemory2DT_ReadOnlyMemoryConstructor() @@ -307,7 +307,7 @@ public void Test_ReadOnlyMemory2DT_TryGetReadOnlyMemory_1() bool success = memory2d.TryGetMemory(out ReadOnlyMemory memory); -#if WINDOWS_UWP +#if WINDOWS_UAP Assert.IsFalse(success); Assert.IsTrue(memory.IsEmpty); #else @@ -332,7 +332,7 @@ public void Test_ReadOnlyMemory2DT_TryGetReadOnlyMemory_2() Assert.AreEqual(memory.Span[2], 3); } -#if !WINDOWS_UWP +#if !WINDOWS_UAP [TestCategory("ReadOnlyMemory2DT")] [TestMethod] public void Test_ReadOnlyMemory2DT_TryGetReadOnlyMemory_3() diff --git a/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_ReadOnlySpan2D{T}.cs b/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_ReadOnlySpan2D{T}.cs index fca5819b8f9..691acc3d221 100644 --- a/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_ReadOnlySpan2D{T}.cs +++ b/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_ReadOnlySpan2D{T}.cs @@ -39,7 +39,7 @@ public void Test_ReadOnlySpan2DT_Empty() Assert.AreEqual(empty2.Height, 0); } -#if !WINDOWS_UWP +#if !WINDOWS_UAP [TestCategory("ReadOnlySpan2DT")] [TestMethod] public unsafe void Test_ReadOnlySpan2DT_RefConstructor() @@ -557,7 +557,7 @@ public void Test_ReadOnlySpan2DT_Slice_2() Assert.AreEqual(slice3[0, 0], 5); } -#if !WINDOWS_UWP +#if !WINDOWS_UAP [TestCategory("ReadOnlySpan2DT")] [TestMethod] public void Test_ReadOnlySpan2DT_GetRowReadOnlySpan() @@ -642,7 +642,7 @@ public void Test_ReadOnlySpan2DT_TryGetReadOnlySpan_From2DArray_1() bool success = span2d.TryGetSpan(out ReadOnlySpan span); -#if WINDOWS_UWP +#if WINDOWS_UAP // Can't get a ReadOnlySpan over a T[,] array on UWP Assert.IsFalse(success); Assert.AreEqual(span.Length, 0); diff --git a/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_Span2D{T}.cs b/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_Span2D{T}.cs index 15b98adb851..19fb8f7224a 100644 --- a/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_Span2D{T}.cs +++ b/UnitTests/UnitTests.HighPerformance.Shared/Memory/Test_Span2D{T}.cs @@ -50,7 +50,7 @@ public void Test_Span2DT_Empty() Assert.AreEqual(empty4.Height, 0); } -#if !WINDOWS_UWP +#if !WINDOWS_UAP [TestCategory("Span2DT")] [TestMethod] public unsafe void Test_Span2DT_RefConstructor() @@ -726,7 +726,7 @@ public void Test_Span2DT_Slice_2() Assert.AreEqual(slice3[0, 0], 5); } -#if !WINDOWS_UWP +#if !WINDOWS_UAP [TestCategory("Span2DT")] [TestMethod] public void Test_Span2DT_GetRowSpan() @@ -837,7 +837,7 @@ public void Test_Span2DT_TryGetSpan_From2DArray_1() // from a 2D array (reasons explained in the comments for the test above). bool success = span2d.TryGetSpan(out Span span); -#if WINDOWS_UWP +#if WINDOWS_UAP // Can't get a Span over a T[,] array on UWP Assert.IsFalse(success); Assert.AreEqual(span.Length, 0); diff --git a/UnitTests/UnitTests.HighPerformance.Shared/Test_ReadOnlyRef{T}.cs b/UnitTests/UnitTests.HighPerformance.Shared/Test_ReadOnlyRef{T}.cs index ca19cdcb375..44f197477d8 100644 --- a/UnitTests/UnitTests.HighPerformance.Shared/Test_ReadOnlyRef{T}.cs +++ b/UnitTests/UnitTests.HighPerformance.Shared/Test_ReadOnlyRef{T}.cs @@ -15,7 +15,7 @@ public class Test_ReadOnlyRefOfT { [TestCategory("ReadOnlyRefOfT")] [TestMethod] -#if WINDOWS_UWP +#if WINDOWS_UAP public void Test_RefOfT_CreateRefOfT() { var model = new ReadOnlyFieldOwner(); diff --git a/UnitTests/UnitTests.HighPerformance.Shared/Test_Ref{T}.cs b/UnitTests/UnitTests.HighPerformance.Shared/Test_Ref{T}.cs index 18ba1a353d5..03a012f85f3 100644 --- a/UnitTests/UnitTests.HighPerformance.Shared/Test_Ref{T}.cs +++ b/UnitTests/UnitTests.HighPerformance.Shared/Test_Ref{T}.cs @@ -15,7 +15,7 @@ public class Test_RefOfT { [TestCategory("RefOfT")] [TestMethod] -#if WINDOWS_UWP +#if WINDOWS_UAP public void Test_RefOfT_CreateRefOfT() { var model = new FieldOwner { Value = 1 }; diff --git a/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj b/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj index 676b259734e..cd1565eece3 100644 --- a/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj +++ b/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj @@ -23,7 +23,7 @@ true bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x86 false @@ -32,7 +32,7 @@ bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x86 @@ -44,7 +44,7 @@ true bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM false @@ -53,7 +53,7 @@ bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM @@ -65,7 +65,7 @@ true bin\ARM64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM64 false @@ -75,7 +75,7 @@ bin\ARM64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM64 @@ -87,7 +87,7 @@ true bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x64 false @@ -96,7 +96,7 @@ bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x64 diff --git a/UnitTests/UnitTests.Notifications.Shared/TestAssertHelper.cs b/UnitTests/UnitTests.Notifications.Shared/TestAssertHelper.cs index 575986099f0..dd4cf93c5f5 100644 --- a/UnitTests/UnitTests.Notifications.Shared/TestAssertHelper.cs +++ b/UnitTests/UnitTests.Notifications.Shared/TestAssertHelper.cs @@ -271,7 +271,7 @@ public static void AssertToast(string expected, ToastContent toast) { AssertHelper.AssertXml(expected.ToLower(), toast.GetContent().ToLower()); -#if WINDOWS_UWP +#if WINDOWS_UAP // For WinRT, we'll test the XmlDocument method too, make sure it works. AssertHelper.AssertXml(expected, toast.GetXml().GetXml()); #endif @@ -281,7 +281,7 @@ public static void AssertTile(string expected, TileContent tile) { AssertHelper.AssertXml(expected.ToLower(), tile.GetContent().ToLower()); -#if WINDOWS_UWP +#if WINDOWS_UAP // For WinRT, we'll test the XmlDocument method too, make sure it works. AssertHelper.AssertXml(expected, tile.GetXml().GetXml()); #endif diff --git a/UnitTests/UnitTests.Notifications.Shared/Test_Badge_Xml.cs b/UnitTests/UnitTests.Notifications.Shared/Test_Badge_Xml.cs index caa0c64c4f5..0997b90226b 100644 --- a/UnitTests/UnitTests.Notifications.Shared/Test_Badge_Xml.cs +++ b/UnitTests/UnitTests.Notifications.Shared/Test_Badge_Xml.cs @@ -67,7 +67,7 @@ private static void AssertPayload(string expectedXml, INotificationContent notif { AssertHelper.AssertXml(expectedXml, notificationContent.GetContent()); -#if WINDOWS_UWP +#if WINDOWS_UAP // For WinRT, we'll test the XmlDocument method too, make sure it works. AssertHelper.AssertXml(expectedXml, notificationContent.GetXml().GetXml()); #endif diff --git a/UnitTests/UnitTests.Notifications.UWP/UnitTests.Notifications.UWP.csproj b/UnitTests/UnitTests.Notifications.UWP/UnitTests.Notifications.UWP.csproj index 230bc1ce3be..ed596069f78 100644 --- a/UnitTests/UnitTests.Notifications.UWP/UnitTests.Notifications.UWP.csproj +++ b/UnitTests/UnitTests.Notifications.UWP/UnitTests.Notifications.UWP.csproj @@ -22,7 +22,7 @@ true bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x86 false @@ -31,7 +31,7 @@ bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x86 @@ -44,7 +44,7 @@ true bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM false @@ -53,7 +53,7 @@ bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM @@ -66,7 +66,7 @@ true bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x64 false @@ -75,7 +75,7 @@ bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x64 @@ -91,7 +91,7 @@ true bin\ARM64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM64 false @@ -100,7 +100,7 @@ bin\ARM64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM64 diff --git a/UnitTests/UnitTests.Notifications.WinRT/UnitTests.Notifications.WinRT.csproj b/UnitTests/UnitTests.Notifications.WinRT/UnitTests.Notifications.WinRT.csproj index 3957f18fcf7..20031605fe1 100644 --- a/UnitTests/UnitTests.Notifications.WinRT/UnitTests.Notifications.WinRT.csproj +++ b/UnitTests/UnitTests.Notifications.WinRT/UnitTests.Notifications.WinRT.csproj @@ -22,7 +22,7 @@ true bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;WINRT + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;WINRT full x86 false @@ -31,7 +31,7 @@ bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;WINRT + TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS;WINRT true pdbonly x86 @@ -44,7 +44,7 @@ true bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;WINRT + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;WINRT full ARM false @@ -53,7 +53,7 @@ bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP;WINRT + TRACE;NETFX_CORE;WINDOWS_UAP;WINRT true pdbonly ARM @@ -66,7 +66,7 @@ true bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;WINRT + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;WINRT full x64 false @@ -75,7 +75,7 @@ bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP;WINRT + TRACE;NETFX_CORE;WINDOWS_UAP;WINRT true pdbonly x64 @@ -91,7 +91,7 @@ true bin\ARM64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;WINRT + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;WINRT full ARM64 false @@ -100,7 +100,7 @@ bin\ARM64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP;WINRT + TRACE;NETFX_CORE;WINDOWS_UAP;WINRT true pdbonly ARM64 diff --git a/UnitTests/UnitTests.UWP/UnitTests.UWP.csproj b/UnitTests/UnitTests.UWP/UnitTests.UWP.csproj index e5517c86abb..c97f0343acc 100644 --- a/UnitTests/UnitTests.UWP/UnitTests.UWP.csproj +++ b/UnitTests/UnitTests.UWP/UnitTests.UWP.csproj @@ -22,7 +22,7 @@ true bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x86 false @@ -31,7 +31,7 @@ bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x86 @@ -45,7 +45,7 @@ true bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM false @@ -54,7 +54,7 @@ bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM @@ -68,7 +68,7 @@ true bin\ARM64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true full ARM64 @@ -78,7 +78,7 @@ bin\ARM64\Release\ - CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true true true @@ -92,7 +92,7 @@ true bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x64 false @@ -101,7 +101,7 @@ bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x64 @@ -340,7 +340,7 @@ true bin\x86\Debug %28Version 1511%29\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true full x86 @@ -351,7 +351,7 @@ true bin\ARM\Debug %28Version 1511%29\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true full ARM @@ -362,7 +362,7 @@ true bin\x64\Debug %28Version 1511%29\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true full x64 @@ -373,7 +373,7 @@ true bin\x86\Debug %28Anniversary Update%29\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true full x86 @@ -384,7 +384,7 @@ true bin\ARM\Debug %28Anniversary Update%29\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true full ARM @@ -395,7 +395,7 @@ true bin\x64\Debug %28Anniversary Update%29\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true full x64 @@ -405,7 +405,7 @@ bin\x86\Release %28Version 1511%29\ - CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true true true @@ -417,7 +417,7 @@ bin\ARM\Release %28Version 1511%29\ - CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true true true @@ -429,7 +429,7 @@ bin\x64\Release %28Version 1511%29\ - CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true true true @@ -441,7 +441,7 @@ bin\x86\Release %28Anniversary Update%29\ - CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true true true @@ -453,7 +453,7 @@ bin\ARM\Release %28Anniversary Update%29\ - CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true true true @@ -465,7 +465,7 @@ bin\x64\Release %28Anniversary Update%29\ - CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS + CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS true true true @@ -478,7 +478,7 @@ true bin\ARM64\Debug %28Version 1511%29\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;CODE_ANALYSIS + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS;CODE_ANALYSIS true full ARM64 @@ -489,7 +489,7 @@ true bin\ARM64\Debug %28Anniversary Update%29\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;CODE_ANALYSIS + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS;CODE_ANALYSIS true full ARM64 @@ -499,7 +499,7 @@ bin\ARM64\Release %28Version 1511%29\ - CODE_ANALYSIS;CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;CODE_ANALYSIS + CODE_ANALYSIS;CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS;CODE_ANALYSIS true true true @@ -511,7 +511,7 @@ bin\ARM64\Release %28Anniversary Update%29\ - CODE_ANALYSIS;CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;CODE_ANALYSIS + CODE_ANALYSIS;CODE_ANALYSIS;TRACE;NETFX_CORE;WINDOWS_UAP;CODE_ANALYSIS;CODE_ANALYSIS true true true diff --git a/UnitTests/UnitTests.XamlIslands.UWPApp/UnitTests.XamlIslands.UWPApp.csproj b/UnitTests/UnitTests.XamlIslands.UWPApp/UnitTests.XamlIslands.UWPApp.csproj index 4ce06c00d50..14352579569 100644 --- a/UnitTests/UnitTests.XamlIslands.UWPApp/UnitTests.XamlIslands.UWPApp.csproj +++ b/UnitTests/UnitTests.XamlIslands.UWPApp/UnitTests.XamlIslands.UWPApp.csproj @@ -22,7 +22,7 @@ true bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x86 false @@ -31,7 +31,7 @@ bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x86 @@ -43,7 +43,7 @@ true bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM false @@ -52,7 +52,7 @@ bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM @@ -64,7 +64,7 @@ true bin\ARM64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full ARM64 false @@ -74,7 +74,7 @@ bin\ARM64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly ARM64 @@ -86,7 +86,7 @@ true bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP full x64 false @@ -95,7 +95,7 @@ bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP + TRACE;NETFX_CORE;WINDOWS_UAP true pdbonly x64 diff --git a/global.json b/global.json index a3d78890e48..cf54bebe8b3 100644 --- a/global.json +++ b/global.json @@ -1,5 +1,5 @@ { "msbuild-sdks": { - "MSBuild.Sdk.Extras": "3.0.22" + "MSBuild.NET.Extras.Sdk": "1.3.1" } } \ No newline at end of file