Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AppContext::BaseDirectory Property

.NET Framework (current version)
 

Gets the pathname of the base directory that the assembly resolver uses to probe for assemblies.

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

public:
property String^ BaseDirectory {
	static String^ get();
}

Property Value

Type: System::String^

the pathname of the base directory that the assembly resolver uses to probe for assemblies.

This is a per application domain property. Its value corresponds to the AppDomain::BaseDirectory property of the current application domain.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show:
© 2017 Microsoft