Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpRuntime.AspInstallDirectory Property

Gets the physical path of the directory where the ASP.NET executable files are installed.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

'Declaration
Public Shared ReadOnly Property AspInstallDirectory As String

Property Value

Type: System.String
The physical path to the ASP.NET executable files.

ExceptionCondition
HttpException

ASP.NET is not installed on this computer.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft