SettingsPane not found in Windows 10 build

I am creating a new application for Windows 10 UWP (Universal Windows Platform) using Visual Studio 2015. In fact, I am porting my application to Windows 8.1, but I did this by creating a completely new project and manually pulling each class.

My application cannot build with the following error:

Could not find type name or namespace 'SettingsPane' (do you miss using directive or assembly reference?)

The C # file in question has a statement using for Windows.UI.ApplicationSettings , and I also get an error even if I try to fully qualify SettingsPane as Windows.UI.ApplicationSettings.SettingsPane.

According to this , SettingsPane should be available for Win10 applications, in the namespace I mentioned.

So the question is: why can't my application build? Am I missing a DLL or just do not understand something else?

+7
windows-10 visual-studio-2015 uwp win-universal-app
source share
1 answer

A note at the top of the document clears it:

[SettingsPane may or may not be available for releases after Windows 10. Instead of using the settings panel, integrate the parameter settings into the application. See Application Configuration Guidelines for more information.]

Instead of using SettingsPane, make sure that you create built-in settings support in the application itself.

+2
source share

All Articles