Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The <em>browserCaps</em> element is deprecated in ASP.NET 2.0 and higher. Unless you're using .NET 1 or 1.1, you should use a browser definition file instead.</p> <p>Add the *App_Browsers* folder to your site, if it doesn't already exist, and create a new file called "<em>Platforms.browser</em>". (The name doesn't matter; only the extension.)</p> <p>Open the new .browser file and paste in the following:</p> <pre><code>&lt;browsers&gt; &lt;gateway id="PlatformWinVista" parentID="PlatformWinnt"&gt; &lt;identification&gt; &lt;userAgent match="Windows NT 6\.0" /&gt; &lt;/identification&gt; &lt;capabilities&gt; &lt;capability name="platform" value="Windows Vista" /&gt; &lt;/capabilities&gt; &lt;/gateway&gt; &lt;gateway id="PlatformWin7" parentID="PlatformWinnt"&gt; &lt;identification&gt; &lt;userAgent match="Windows NT 6\.1" /&gt; &lt;/identification&gt; &lt;capabilities&gt; &lt;capability name="platform" value="Windows 7" /&gt; &lt;/capabilities&gt; &lt;/gateway&gt; &lt;/browsers&gt; </code></pre> <p>You might need to trigger a recompilation of the site for the new file to take effect.</p> <p><strong>NB:</strong> These nodes have to be <em>gateway</em> nodes rather than <em>browser</em> nodes. If you try to create them as <em>browser</em> nodes, you'll get a <a href="http://connect.microsoft.com/VisualStudio/feedback/details/118494/browser-definition-file-problems-not-allowing-new-child-nodes-which-parentid-platform" rel="noreferrer">parser error when your site recompiles</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload