diff options
Diffstat (limited to 'src/installer/corehost/cli/fxr/hostfxr.cpp')
-rw-r--r-- | src/installer/corehost/cli/fxr/hostfxr.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/installer/corehost/cli/fxr/hostfxr.cpp b/src/installer/corehost/cli/fxr/hostfxr.cpp index 1fdfa210489..c9a346b799b 100644 --- a/src/installer/corehost/cli/fxr/hostfxr.cpp +++ b/src/installer/corehost/cli/fxr/hostfxr.cpp @@ -14,7 +14,6 @@ #include "sdk_resolver.h" #include "hostfxr.h" #include "host_context.h" -#include "bundle/info.h" namespace { @@ -25,23 +24,6 @@ namespace } } -SHARED_API int HOSTFXR_CALLTYPE hostfxr_main_bundle_startupinfo(const int argc, const pal::char_t* argv[], const pal::char_t* host_path, const pal::char_t* dotnet_root, const pal::char_t* app_path, int64_t bundle_header_offset) -{ - trace_hostfxr_entry_point(_X("hostfxr_main_bundle_startupinfo")); - - StatusCode bundleStatus = bundle::info_t::process_bundle(host_path, app_path, bundle_header_offset); - if (bundleStatus != StatusCode::Success) - { - trace::error(_X("A fatal error occured while processing application bundle")); - return bundleStatus; - } - - host_startup_info_t startup_info(host_path, dotnet_root, app_path); - - return fx_muxer_t::execute(pal::string_t(), argc, argv, startup_info, nullptr, 0, nullptr); -} - - SHARED_API int HOSTFXR_CALLTYPE hostfxr_main_startupinfo(const int argc, const pal::char_t* argv[], const pal::char_t* host_path, const pal::char_t* dotnet_root, const pal::char_t* app_path) { trace_hostfxr_entry_point(_X("hostfxr_main_startupinfo")); |