Merge pull request #1056 from dotnet/appcontextbase
Set AppContext BaseDirectory
This commit is contained in:
commit
c67ad6f8da
1 changed files with 4 additions and 0 deletions
|
@ -106,6 +106,8 @@ int run(const arguments_t& args, const pal::string_t& clr_path)
|
|||
"AppDomainCompatSwitch",
|
||||
// TODO: pipe this from corehost.json
|
||||
"SERVER_GC",
|
||||
// Workaround: mscorlib does not resolve symlinks for AppContext.BaseDirectory dotnet/coreclr/issues/2128
|
||||
"APP_CONTEXT_BASE_DIRECTORY",
|
||||
};
|
||||
|
||||
auto tpa_paths_cstr = pal::to_stdstring(probe_paths.tpa);
|
||||
|
@ -132,6 +134,8 @@ int run(const arguments_t& args, const pal::string_t& clr_path)
|
|||
"UseLatestBehaviorWhenTFMNotSpecified",
|
||||
// SERVER_GC
|
||||
server_gc_cstr.c_str(),
|
||||
// APP_CONTEXT_BASE_DIRECTORY
|
||||
app_base_cstr.c_str()
|
||||
};
|
||||
|
||||
size_t property_size = sizeof(property_keys) / sizeof(property_keys[0]);
|
||||
|
|
Loading…
Add table
Reference in a new issue