title: Windows 10 Still Being Reported as 8.1, Even with Manifest File?
body: <p>So I've done my due diligence first, and read as many SO issues as I found on this issue, and tried doing as they suggested; I still get 6.2 (Win 8.1) when calling these:</p>
  
  <pre><code>Environment.OSVersion.Version.Major
  Environment.OSVersion.Version.Minor
  </code></pre>
  
  <p><strong>I've added the manifest file</strong> (<em>here's the current version</em>):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
    &lt;assemblyIdentity version="1.0.0.0" name="MyApplication.app"/&gt;
    &lt;trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"&gt;
      &lt;security&gt;
        &lt;requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"&gt;
          &lt;requestedExecutionLevel  level="requireAdministrator" uiAccess="false" /&gt;      
        &lt;/requestedPrivileges&gt;
      &lt;/security&gt;
    &lt;/trustInfo&gt;
  
    &lt;compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"&gt;
      &lt;application&gt;
        &lt;!-- A list of the Windows versions that this application has been tested on and is
             is designed to work with. Uncomment the appropriate elements and Windows will 
             automatically selected the most compatible environment. --&gt;
  
        &lt;!-- Windows Vista --&gt;
        &lt;supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" /&gt;
  
        &lt;!-- Windows 7 --&gt;
        &lt;supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" /&gt;
  
        &lt;!-- Windows 8 --&gt;
        &lt;supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" /&gt;
  
        &lt;!-- Windows 8.1 --&gt;
        &lt;supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" /&gt;
  
        &lt;!-- Windows 10 --&gt;
        &lt;supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" /&gt;
  
      &lt;/application&gt;
    &lt;/compatibility&gt;
  
    &lt;!-- Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher
         DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need 
         to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should 
         also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config. --&gt;
  
    &lt;application xmlns="urn:schemas-microsoft-com:asm.v3"&gt;
      &lt;windowsSettings&gt;
        &lt;dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"&gt;true&lt;/dpiAware&gt;
      &lt;/windowsSettings&gt;
    &lt;/application&gt;
  
    &lt;!-- Enable themes for Windows common controls and dialogs (Windows XP and later) --&gt;
    &lt;!--
    &lt;dependency&gt;
      &lt;dependentAssembly&gt;
        &lt;assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="*"
            publicKeyToken="6595b64144ccf1df"
            language="*"
          /&gt;
      &lt;/dependentAssembly&gt;
    &lt;/dependency&gt;
    --&gt;
  
  &lt;/assembly&gt;
  </code></pre>
  
  <p><strong>Second question:</strong>
  When I uncomment the Win 10 line in the manifest, do I need to also uncomment Win7/8/8.1 as well? Or since those particular OS's are 'mostly the same', would just uncommenting Win 10 be all that's needed?</p>