Hi @StackOverflowExcept1on
You're the boos here.
|
/// Success_HostAlreadyInitialized = 0x00000001 |
|
/// @see https://github.com/dotnet/runtime/blob/main/docs/design/features/host-error-codes.md |
|
if (rc != 1 || ctx == nullptr) { |
|
hostfxr_close_fptr(ctx); |
|
return InitializeResult::InitializeRuntimeConfigError; |
|
} |
Can you explain why we treat rc == 0 as failure?
I don't get why it won't be ok to treat rc == 0 as success.
Maybe leave a comment about it?
Hi @StackOverflowExcept1on
You're the boos here.
net-core-injector/Bootstrapper/src/library.cpp
Lines 81 to 86 in 9b456fd
Can you explain why we treat
rc == 0as failure?I don't get why it won't be ok to treat
rc == 0as success.Maybe leave a comment about it?