Skip to content

Commit

Permalink
Fix typo when detecting runtimeconfig.json. (#1794)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhett12321 authored Nov 1, 2024
1 parent f1a4cbb commit 30482a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/DotNET/DotNET.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ void LoadNetCore(const std::string& assembly)
{
hostfxr_handle cxt = nullptr;

auto runtimeConfig = assembly + ".runtimeConfig.json";
auto runtimeConfig = assembly + ".runtimeconfig.json";
int returnCode = hostfxr_initialize_for_runtime_config(runtimeConfig.c_str(), nullptr, &cxt);
if (returnCode != 0 || cxt == nullptr)
LOG_FATAL("Unable to load runtime config '%s'; returnCode=0x%x", runtimeConfig, returnCode);
Expand Down

0 comments on commit 30482a7

Please sign in to comment.