diff --git a/src/coreclr/crossgen-corelib.proj b/src/coreclr/crossgen-corelib.proj index 0df8b34d3aafce..07ea4086b26a36 100644 --- a/src/coreclr/crossgen-corelib.proj +++ b/src/coreclr/crossgen-corelib.proj @@ -72,7 +72,7 @@ - $([MSBuild]::NormalizePath('$(BinDir)', '$(CoreLibAssemblyName).NotReadyYet.wasm')) + $([MSBuild]::NormalizePath('$(BinDir)', '$(CoreLibAssemblyName).wasm')) diff --git a/src/coreclr/hosts/corerun/corerun.cpp b/src/coreclr/hosts/corerun/corerun.cpp index 3ab04343b8a052..49908c2675ac74 100644 --- a/src/coreclr/hosts/corerun/corerun.cpp +++ b/src/coreclr/hosts/corerun/corerun.cpp @@ -385,6 +385,10 @@ static bool HOST_CONTRACT_CALLTYPE external_assembly_probe( std::string full_path = dir; assert(full_path.back() == pal::dir_delim); full_path.append(name); +#ifdef TARGET_BROWSER + if (BrowserHost_ExternalAssemblyProbe(full_path.c_str(), data_start, size)) + return true; +#endif // TARGET_BROWSER if (pal::try_map_file_readonly(full_path.c_str(), data_start, size)) return true; }