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: