diff --git a/Samples/IoT-GPIO/cppwinrt/Scenario2_Listen.cpp b/Samples/IoT-GPIO/cppwinrt/Scenario2_Listen.cpp index 5758618aba..e464624ac2 100644 --- a/Samples/IoT-GPIO/cppwinrt/Scenario2_Listen.cpp +++ b/Samples/IoT-GPIO/cppwinrt/Scenario2_Listen.cpp @@ -52,7 +52,7 @@ namespace winrt::SDKTemplate::implementation // Configure pin for input and add ValueChanged listener. listenPin.SetDriveMode(GpioPinDriveMode::Input); - listenPin.ValueChanged({ get_weak(), &Scenario2_Listen::Pin_ValueChanged }); + valueChangedEventToken = listenPin.ValueChanged({ get_weak(), &Scenario2_Listen::Pin_ValueChanged }); // Start toggling the pin value every 500ms. timer = DispatcherTimer(); diff --git a/Samples/SimpleCommunication/common/MediaExtensions/Microsoft.Samples.SimpleCommunication/StspMediaSinkProxy.h b/Samples/SimpleCommunication/common/MediaExtensions/Microsoft.Samples.SimpleCommunication/StspMediaSinkProxy.h index 26d90f11f1..4932a660ed 100644 --- a/Samples/SimpleCommunication/common/MediaExtensions/Microsoft.Samples.SimpleCommunication/StspMediaSinkProxy.h +++ b/Samples/SimpleCommunication/common/MediaExtensions/Microsoft.Samples.SimpleCommunication/StspMediaSinkProxy.h @@ -48,8 +48,8 @@ namespace Microsoft { namespace Samples { namespace SimpleCommunication { Windows::Media::IMediaExtension ^GetMFExtensions(); Windows::Foundation::IAsyncOperation^ InitializeAsync( - Windows::Media::MediaProperties::IMediaEncodingProperties ^videoEncodingProperties, - Windows::Media::MediaProperties::IMediaEncodingProperties ^audioEncodingProperties + Windows::Media::MediaProperties::IMediaEncodingProperties ^audioEncodingProperties, + Windows::Media::MediaProperties::IMediaEncodingProperties ^videoEncodingProperties ); event Windows::Foundation::EventHandler^ IncomingConnectionEvent; diff --git a/Samples/WiFiDirect/cs/WiFiDirect.csproj b/Samples/WiFiDirect/cs/WiFiDirect.csproj index 21489cecda..7d1a873423 100644 --- a/Samples/WiFiDirect/cs/WiFiDirect.csproj +++ b/Samples/WiFiDirect/cs/WiFiDirect.csproj @@ -133,15 +133,18 @@ MSBuild:Compile Designer - + + ConnectionSettingsPanel.xaml Designer MSBuild:Compile - + + Scenario1_Advertiser.xaml MSBuild:Compile Designer - + + Scenario2_Connector.xaml MSBuild:Compile Designer diff --git a/Samples/WiFiDirect/cs/ConnectionSettingsPanel.xaml b/Samples/WiFiDirect/shared/ConnectionSettingsPanel.xaml similarity index 100% rename from Samples/WiFiDirect/cs/ConnectionSettingsPanel.xaml rename to Samples/WiFiDirect/shared/ConnectionSettingsPanel.xaml diff --git a/Samples/WiFiDirect/cs/Scenario1_Advertiser.xaml b/Samples/WiFiDirect/shared/Scenario1_Advertiser.xaml similarity index 100% rename from Samples/WiFiDirect/cs/Scenario1_Advertiser.xaml rename to Samples/WiFiDirect/shared/Scenario1_Advertiser.xaml diff --git a/Samples/WiFiDirect/cs/Scenario2_Connector.xaml b/Samples/WiFiDirect/shared/Scenario2_Connector.xaml similarity index 100% rename from Samples/WiFiDirect/cs/Scenario2_Connector.xaml rename to Samples/WiFiDirect/shared/Scenario2_Connector.xaml diff --git a/SharedContent/Templates/InstallSDKTemplates.cmd b/SharedContent/Templates/InstallSDKTemplates.cmd index 31089bec4d..9b2588b62b 100644 --- a/SharedContent/Templates/InstallSDKTemplates.cmd +++ b/SharedContent/Templates/InstallSDKTemplates.cmd @@ -3,9 +3,6 @@ IF /I "%1"=="-UNINSTALL" GOTO Uninstall call :directory "ProjectTemplates\Visual C#\Windows Universal" UWPSDKSampleCS Shared\Project\* call :directory "ItemTemplates\Visual C#\Windows Universal" UWPSDKSampleScenarioItemCS Shared\Item\* - call :directory "ProjectTemplates\Visual C++ Project\Windows Universal" UWPSDKSampleCX Shared\Project\* - call :directory "ItemTemplates\Visual C++ Project\Windows Universal" UWPSDKSampleScenarioItemCX Shared\Item\* - call :directory "ProjectTemplates\Visual C++ Project\Windows Universal" UWPSDKSampleCPP Shared\Project\* call :directory "ItemTemplates\Visual C++ Project\Windows Universal" UWPSDKSampleScenarioItemCPP Shared\Item\* @@ -35,5 +32,5 @@ IF /I "%1"=="-UNINSTALL" GOTO Uninstall rd /s/q "%USERPROFILE%\Documents\Visual Studio 2019\Templates\ProjectTemplates\Visual C++ Project\Windows Universal\UWPSDKSampleCX" rd /s/q "%USERPROFILE%\Documents\Visual Studio 2019\Templates\ItemTemplates\Visual C++ Project\Windows Universal\UWPSDKSampleScenarioItemCX" - rd /s/q "%USERPROFILE%\Documents\Visual Studio 2019\Templates\ProjectTemplates\Visual C++ Project\Windows Universal\UWPSDKSampleCPPWINRT" - rd /s/q "%USERPROFILE%\Documents\Visual Studio 2019\Templates\ItemTemplates\Visual C++ Project\Windows Universal\UWPSDKSampleScenarioItemCPPWINRT" + rd /s/q "%USERPROFILE%\Documents\Visual Studio 2019\Templates\ProjectTemplates\Visual C++ Project\Windows Universal\UWPSDKSampleCPP" + rd /s/q "%USERPROFILE%\Documents\Visual Studio 2019\Templates\ItemTemplates\Visual C++ Project\Windows Universal\UWPSDKSampleScenarioItemCPP" diff --git a/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.sln b/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.sln deleted file mode 100644 index e961486d11..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.sln +++ /dev/null @@ -1,40 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27004.2006 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UWPSDKSampleCPP", "UWPSDKSampleCPP.vcxproj", "$guid1$" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|ARM = Debug|ARM - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Debug|ARM = Debug|ARM - Release|ARM = Release|ARM - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - $guid1$.Debug|ARM.ActiveCfg = Debug|ARM - $guid1$.Debug|ARM.Build.0 = Debug|ARM - $guid1$.Debug|ARM.Deploy.0 = Debug|ARM - $guid1$.Debug|x64.ActiveCfg = Debug|x64 - $guid1$.Debug|x64.Build.0 = Debug|x64 - $guid1$.Debug|x64.Deploy.0 = Debug|x64 - $guid1$.Debug|x86.ActiveCfg = Debug|Win32 - $guid1$.Debug|x86.Build.0 = Debug|Win32 - $guid1$.Debug|x86.Deploy.0 = Debug|Win32 - $guid1$.Release|ARM.ActiveCfg = Release|ARM - $guid1$.Release|ARM.Build.0 = Release|ARM - $guid1$.Release|ARM.Deploy.0 = Release|ARM - $guid1$.Release|x64.ActiveCfg = Release|x64 - $guid1$.Release|x64.Build.0 = Release|x64 - $guid1$.Release|x64.Deploy.0 = Release|x64 - $guid1$.Release|x86.ActiveCfg = Release|Win32 - $guid1$.Release|x86.Build.0 = Release|Win32 - $guid1$.Release|x86.Deploy.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vcxproj b/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vcxproj index a8cd5a8f26..352fe2a1b6 100644 --- a/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vcxproj +++ b/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vcxproj @@ -1,5 +1,6 @@  + $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), LICENSE))\SharedContent @@ -175,5 +176,13 @@ + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + diff --git a/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vstemplate b/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vstemplate index d85d19561a..2c9382e1c8 100644 --- a/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vstemplate +++ b/SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vstemplate @@ -19,6 +19,7 @@ + packages.config pch.cpp pch.h Project.idl @@ -31,6 +32,7 @@ Scenario2_ShortName.cpp Scenario2_ShortName.h Package.appxmanifest + UWPSDKSampleCPP.vcxproj UWPSDKSampleCPP.vcxproj.filters README.md @@ -40,8 +42,10 @@ NuGet.VisualStudio.TemplateWizard + diff --git a/SharedContent/Templates/UWPSDKSampleCPP/packages.config b/SharedContent/Templates/UWPSDKSampleCPP/packages.config new file mode 100644 index 0000000000..fb20a4e613 --- /dev/null +++ b/SharedContent/Templates/UWPSDKSampleCPP/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/SharedContent/Templates/UWPSDKSampleCX/Package.appxmanifest b/SharedContent/Templates/UWPSDKSampleCX/Package.appxmanifest deleted file mode 100644 index 9228977226..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/Package.appxmanifest +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - $safeprojectname$ C++ Sample - Microsoft Corporation - Assets\StoreLogo-sdk.png - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/SharedContent/Templates/UWPSDKSampleCX/SampleConfiguration.cpp b/SharedContent/Templates/UWPSDKSampleCX/SampleConfiguration.cpp deleted file mode 100644 index 91dd57c780..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/SampleConfiguration.cpp +++ /dev/null @@ -1,22 +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. -// -//********************************************************* - -#include "pch.h" -#include "MainPage.xaml.h" -#include "SampleConfiguration.h" - -using namespace SDKTemplate; - -Platform::Array^ MainPage::scenariosInner = ref new Platform::Array -{ - { "Add Scenario 1 here", "SDKTemplate.Scenario1_ShortName" }, - { "Add Scenario 2 here", "SDKTemplate.Scenario2_ShortName" }, -}; diff --git a/SharedContent/Templates/UWPSDKSampleCX/SampleConfiguration.h b/SharedContent/Templates/UWPSDKSampleCX/SampleConfiguration.h deleted file mode 100644 index 9533a14fa3..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/SampleConfiguration.h +++ /dev/null @@ -1,47 +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. -// -//********************************************************* - -#pragma once -#include "pch.h" - -namespace SDKTemplate -{ - value struct Scenario; - - partial ref class MainPage - { - internal: - static property Platform::String^ FEATURE_NAME - { - Platform::String^ get() - { - return "$safeprojectname$ C++/CX Sample"; - } - } - - static property Platform::Array^ scenarios - { - Platform::Array^ get() - { - return scenariosInner; - } - } - - private: - static Platform::Array^ scenariosInner; - }; - - public value struct Scenario - { - Platform::String^ Title; - Platform::String^ ClassName; - }; -} diff --git a/SharedContent/Templates/UWPSDKSampleCX/Scenario1_ShortName.xaml.cpp b/SharedContent/Templates/UWPSDKSampleCX/Scenario1_ShortName.xaml.cpp deleted file mode 100644 index addda61425..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/Scenario1_ShortName.xaml.cpp +++ /dev/null @@ -1,39 +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. -// -//********************************************************* -#include "pch.h" -#include "Scenario1_ShortName.xaml.h" - -using namespace SDKTemplate; - -using namespace Platform; -using namespace Windows::Foundation; -using namespace Windows::Foundation::Collections; -using namespace Windows::UI::Xaml; - -Scenario1_ShortName::Scenario1_ShortName() -{ - InitializeComponent(); -} - -void SDKTemplate::Scenario1_ShortName::StatusMessage_Click(Object^ sender, RoutedEventArgs^ e) -{ - rootPage->NotifyUser("Hello", NotifyType::StatusMessage); -} - -void SDKTemplate::Scenario1_ShortName::ErrorMessage_Click(Object^ sender, RoutedEventArgs^ e) -{ - rootPage->NotifyUser("Oh dear.\nSomething went wrong.", NotifyType::ErrorMessage); -} - -void SDKTemplate::Scenario1_ShortName::ClearMessage_Click(Object^ sender, RoutedEventArgs^ e) -{ - rootPage->NotifyUser("", NotifyType::StatusMessage); -} diff --git a/SharedContent/Templates/UWPSDKSampleCX/Scenario1_ShortName.xaml.h b/SharedContent/Templates/UWPSDKSampleCX/Scenario1_ShortName.xaml.h deleted file mode 100644 index fa105cd01d..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/Scenario1_ShortName.xaml.h +++ /dev/null @@ -1,31 +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. -// -//********************************************************* - -#pragma once - -#include "Scenario1_ShortName.g.h" -#include "MainPage.xaml.h" - -namespace SDKTemplate -{ - [Windows::Foundation::Metadata::WebHostHidden] - public ref class Scenario1_ShortName sealed - { - public: - Scenario1_ShortName(); - private: - MainPage^ rootPage = MainPage::Current; - - void StatusMessage_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); - void ErrorMessage_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); - void ClearMessage_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); - }; -} diff --git a/SharedContent/Templates/UWPSDKSampleCX/Scenario2_ShortName.xaml.cpp b/SharedContent/Templates/UWPSDKSampleCX/Scenario2_ShortName.xaml.cpp deleted file mode 100644 index ebfd3a5662..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/Scenario2_ShortName.xaml.cpp +++ /dev/null @@ -1,25 +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. -// -//********************************************************* - -#include "pch.h" -#include "Scenario2_ShortName.xaml.h" - -using namespace SDKTemplate; - -using namespace Platform; -using namespace Windows::Foundation; -using namespace Windows::Foundation::Collections; -using namespace Windows::UI::Xaml; - -Scenario2_ShortName::Scenario2_ShortName() -{ - InitializeComponent(); -} diff --git a/SharedContent/Templates/UWPSDKSampleCX/Scenario2_ShortName.xaml.h b/SharedContent/Templates/UWPSDKSampleCX/Scenario2_ShortName.xaml.h deleted file mode 100644 index d44eed845f..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/Scenario2_ShortName.xaml.h +++ /dev/null @@ -1,27 +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. -// -//********************************************************* - -#pragma once - -#include "Scenario2_ShortName.g.h" -#include "MainPage.xaml.h" - -namespace SDKTemplate -{ - [Windows::Foundation::Metadata::WebHostHidden] - public ref class Scenario2_ShortName sealed - { - public: - Scenario2_ShortName(); - private: - MainPage^ rootPage = MainPage::Current; - }; -} diff --git a/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.sln b/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.sln deleted file mode 100644 index 48ee9e3058..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.sln +++ /dev/null @@ -1,40 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26228.4 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UWPSDKSampleCX", "UWPSDKSampleCX.vcxproj", "$guid1$" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|ARM = Debug|ARM - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|ARM = Release|ARM - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - $guid1$.Debug|ARM.ActiveCfg = Debug|ARM - $guid1$.Debug|ARM.Build.0 = Debug|ARM - $guid1$.Debug|ARM.Deploy.0 = Debug|ARM - $guid1$.Debug|Win32.ActiveCfg = Debug|Win32 - $guid1$.Debug|Win32.Build.0 = Debug|Win32 - $guid1$.Debug|Win32.Deploy.0 = Debug|Win32 - $guid1$.Debug|x64.ActiveCfg = Debug|x64 - $guid1$.Debug|x64.Build.0 = Debug|x64 - $guid1$.Debug|x64.Deploy.0 = Debug|x64 - $guid1$.Release|ARM.ActiveCfg = Release|ARM - $guid1$.Release|ARM.Build.0 = Release|ARM - $guid1$.Release|ARM.Deploy.0 = Release|ARM - $guid1$.Release|Win32.ActiveCfg = Release|Win32 - $guid1$.Release|Win32.Build.0 = Release|Win32 - $guid1$.Release|Win32.Deploy.0 = Release|Win32 - $guid1$.Release|x64.ActiveCfg = Release|x64 - $guid1$.Release|x64.Build.0 = Release|x64 - $guid1$.Release|x64.Deploy.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.vcxproj b/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.vcxproj deleted file mode 100644 index ec298da7a5..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.vcxproj +++ /dev/null @@ -1,198 +0,0 @@ - - - - $guid1$ - SDKTemplate - en-US - 15.0 - true - Windows Store - 10.0 - 10.0.17763.0 - $(WindowsTargetPlatformVersion) - - - - - Debug - ARM - - - Debug - Win32 - - - Debug - x64 - - - Release - ARM - - - Release - Win32 - - - Release - x64 - - - - Application - true - v141 - - - Application - true - v141 - - - Application - true - v141 - - - Application - false - true - v141 - - - Application - false - true - v141 - - - Application - false - true - v141 - - - - - - - - - - $(VC_IncludePath);$(UniversalCRT_IncludePath);$(WindowsSDK_IncludePath);..\..\..\SharedContent\cpp - - - - /bigobj %(AdditionalOptions) - 4453;28204 - - - - - /bigobj %(AdditionalOptions) - 4453;28204 - - - - - /bigobj %(AdditionalOptions) - 4453;28204 - - - - - /bigobj %(AdditionalOptions) - 4453;28204 - - - - - /bigobj %(AdditionalOptions) - 4453;28204 - - - - - /bigobj %(AdditionalOptions) - 4453;28204 - - - - - - ..\..\..\SharedContent\xaml\App.xaml - - - ..\..\..\SharedContent\xaml\MainPage.xaml - - - - Scenario1_ShortName.xaml - - - Scenario2_ShortName.xaml - - - - - Designer - - - Designer - - - - - Styles\Styles.xaml - - - - - Designer - - - - - ..\..\..\SharedContent\xaml\App.xaml - - - ..\..\..\SharedContent\xaml\MainPage.xaml - - - Create - - - - Scenario1_ShortName.xaml - - - Scenario2_ShortName.xaml - - - - - Assets\microsoft-sdk.png - - - Assets\smalltile-sdk.png - - - Assets\splash-sdk.png - - - Assets\squaretile-sdk.png - - - Assets\storelogo-sdk.png - - - Assets\tile-sdk.png - - - Assets\windows-sdk.png - - - - - - diff --git a/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.vcxproj.filters b/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.vcxproj.filters deleted file mode 100644 index f5de7fb0b4..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.vcxproj.filters +++ /dev/null @@ -1,65 +0,0 @@ - - - - - 80bfd669-aa83-4537-9611-027cffe0d8af - bmp;fbx;gif;jpg;jpeg;tga;tiff;tif;png - - - {c6978fb6-bc64-498d-97c8-f5b53997e54e} - - - - - - - - - - - - - - - - - - - - - - - - - - - - Styles - - - - - - - Assets - - - Assets - - - Assets - - - Assets - - - Assets - - - Assets - - - Assets - - - diff --git a/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.vstemplate b/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.vstemplate deleted file mode 100644 index 2bf3bc0682..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/UWPSDKSampleCX.vstemplate +++ /dev/null @@ -1,37 +0,0 @@ - - - Windows SDK UWP C++/CX Sample (XAML) - Template for creating a Windows SDK Sample - windows-sdk.png - VC - Windows Tailored - Microsoft.UWP.SDKSample.CX - 1 - false - Application - true - Enabled - true - 2 - Windows - 6.3.0 - true - - - - pch.cpp - pch.h - SampleConfiguration.h - SampleConfiguration.cpp - Scenario1_ShortName.xaml - Scenario1_ShortName.xaml.cpp - Scenario1_ShortName.xaml.h - Scenario2_ShortName.xaml - Scenario2_ShortName.xaml.cpp - Scenario2_ShortName.xaml.h - Package.appxmanifest - UWPSDKSampleCX.vcxproj.filters - README.md - - - diff --git a/SharedContent/Templates/UWPSDKSampleCX/pch.cpp b/SharedContent/Templates/UWPSDKSampleCX/pch.cpp deleted file mode 100644 index ade821753a..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/pch.cpp +++ /dev/null @@ -1,5 +0,0 @@ -// -// Include the standard header and generate the precompiled header. -// - -#include "pch.h" diff --git a/SharedContent/Templates/UWPSDKSampleCX/pch.h b/SharedContent/Templates/UWPSDKSampleCX/pch.h deleted file mode 100644 index 1dcc72eba4..0000000000 --- a/SharedContent/Templates/UWPSDKSampleCX/pch.h +++ /dev/null @@ -1,10 +0,0 @@ -// -// Header for standard system include files. -// - -#pragma once - -#include -#include - -#include "App.xaml.h" diff --git a/SharedContent/Templates/UWPSDKSampleScenarioItemCX/Scenario3_ShortName.xaml.cpp b/SharedContent/Templates/UWPSDKSampleScenarioItemCX/Scenario3_ShortName.xaml.cpp deleted file mode 100644 index 44974788bf..0000000000 --- a/SharedContent/Templates/UWPSDKSampleScenarioItemCX/Scenario3_ShortName.xaml.cpp +++ /dev/null @@ -1,24 +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. -// -//********************************************************* -#include "pch.h" -#include "$safeitemname$.xaml.h" - -using namespace SDKTemplate; - -using namespace Platform; -using namespace Windows::Foundation; -using namespace Windows::Foundation::Collections; -using namespace Windows::UI::Xaml; - -$safeitemname$::$safeitemname$() -{ - InitializeComponent(); -} diff --git a/SharedContent/Templates/UWPSDKSampleScenarioItemCX/Scenario3_ShortName.xaml.h b/SharedContent/Templates/UWPSDKSampleScenarioItemCX/Scenario3_ShortName.xaml.h deleted file mode 100644 index 5a4c18db0a..0000000000 --- a/SharedContent/Templates/UWPSDKSampleScenarioItemCX/Scenario3_ShortName.xaml.h +++ /dev/null @@ -1,27 +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. -// -//********************************************************* - -#pragma once - -#include "$fileinputname$.g.h" -#include "MainPage.xaml.h" - -namespace SDKTemplate -{ - [Windows::Foundation::Metadata::WebHostHidden] - public ref class $safeitemname$ sealed - { - public: - $safeitemname$(); - private: - MainPage^ rootPage = MainPage::Current; - }; -} diff --git a/SharedContent/Templates/UWPSDKSampleScenarioItemCX/ScenarioItemTemplate.vstemplate b/SharedContent/Templates/UWPSDKSampleScenarioItemCX/ScenarioItemTemplate.vstemplate deleted file mode 100644 index a62eb02016..0000000000 --- a/SharedContent/Templates/UWPSDKSampleScenarioItemCX/ScenarioItemTemplate.vstemplate +++ /dev/null @@ -1,19 +0,0 @@ - - - - SDK Sample C++/CX Scenario Page - Template for creating a Windows SDK C++/CX Sample Scenario - windows-sdk.png - Microsoft.CX.WinRT.ScenarioPage - WinRT-Managed-UAP - VC - Scenario3_ShortName.xaml - Windows - 6.3.0 - - - Scenario3_ShortName.xaml - Scenario3_ShortName.xaml.cpp - Scenario3_ShortName.xaml.h - - \ No newline at end of file