Skip to content

Repo sync for protected branch #10411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions docs/debugger/error-aspnet-not-installed.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: "This error occurs when ASP.NET is not installed correctly on the computer that you are trying to debug."
title: "ASP.NET not installed"
ms.date: "11/04/2016"
ms.date: "09/19/2024"
ms.topic: "error-reference"
f1_keywords:
- "vs.debug.error.http_not_supported"
Expand All @@ -24,6 +24,13 @@ ms.subservice: debug-diagnostics

This error occurs when ASP.NET is not installed correctly on the computer that you are trying to debug. This might mean that ASP.NET was never installed or that ASP.NET was installed first and IIS was installed later.

The following procedure describes how to install ASP.NET using `aspnet_regiis.exe` for ASP.NET 4.0 and earlier versions.

You can't install or uninstall ASP.NET 4.5 or later versions on Microsoft Windows 8 or Windows Server 2012 by using `aspnet_regiis.exe`. For more information, see [Install ASP.NET 4.5 in Windows 8 and Windows Server 2012](/troubleshoot/developer/webapps/aspnet/www-administration-management/install-aspnet-45-windows-8-server-2012)

> [!NOTE]
> For ASP.NET Core, see [Install the ASP.NET Core Module/Hosting Bundle](/aspnet/core/host-and-deploy/iis/#install-the-aspnet-core-modulehosting-bundle).

### To reinstall ASP.NET

1. From a command prompt window, run the following command:
Expand All @@ -34,8 +41,5 @@ This error occurs when ASP.NET is not installed correctly on the computer that y

where *version* represents the version number of the .NET Framework installed on your computer, such as v1.0.370. You can determine the framework version by looking in the `\WINDOWS\Microsoft.NET\Framework` directory.

> [!NOTE]
> With Windows Server 2003, you can install ASP.NET by using **Add or Remove Programs** in Control Panel.

## See also
- [Debugging Web Applications: Errors and Troubleshooting](../debugger/debugging-web-applications-errors-and-troubleshooting.md)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Display line numbers for code
description: Turn line numbering for your code on and off in the Visual Studio code editor. Line numbers can be useful as a reference.
ms.date: 08/19/2024
ms.date: 09/19/2024
ms.topic: how-to
helpviewer_keywords:
- line numbers, displaying
Expand All @@ -22,8 +22,9 @@ This article describes how to show or hide line numbers in your code.

1. On the Visual Studio menu bar, select **Tools** > **Options** > **Text Editor**, and then select either the language you're using or **All Languages**. **All Languages** turns line numbers on or off in all supported programming languages.

> [!TIP]
> You can also type **line number** in the [Search](../visual-studio-search.md) box, and then select **Turn line numbers on or off** in the results.
You can also type **line number** in the Visual Studio [Search](../visual-studio-search.md) box, and then select **Turn line numbers on or off** in the results.

:::image type="content" source="media/line-numbers-search-box.png" alt-text="Screenshot of using the Search box to search for line numbers.":::

1. Select the **Line numbers** checkbox to show line numbers, or clear the checkbox to hide line numbers.

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.