I am getting an error - The type or namespace name 'SettingsPane' could not be found (are you missing a using directive or an assembly reference?)
<p>I am trying to port the existing 8.1 app to UWP.</p>

<p>I am getting the following error: <code>The type or namespace name 'SettingsPane' could not be found (are you missing a using directive or an assembly reference?)</code></p>

<p>Here is a function that is similar to the functions where I get this error:</p>

<pre><code>void MainPage_Legal(SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args)
    {
        args.Request.ApplicationCommands.Add(new SettingsCommand("legal", "Legal", OpenLegal));
    }.
</code></pre>

<p>Can anyone suggest a solution or workaround?</p>