-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove .dll from Interop.Libraries.HostPolicy for consistency with other runtime libraries #76466
Conversation
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov Issue Details
Resolves #60080
|
Opened #76494 on the Libraries Test Run checked coreclr windows x86 Debug crash |
@@ -72,7 +72,7 @@ int main(const int argc, const pal::char_t *argv[]) | |||
} | |||
|
|||
nethost_path = get_directory(nethost_path); | |||
nethost_path.append(MAKE_LIBNAME("nethost")); | |||
nethost_path.append(LIB_FILE_NAME_X("nethost")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nethost_path.append(LIB_FILE_NAME_X("nethost")); | |
nethost_path.append(LIB_FILE_NAME_X("nethost")); |
For my education - why is LIB_FILE_NAME
not sufficient here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the host components have strings (pal::char_t
/pal::string_t
) as wchar_t
/std::wstring
for Windows and char
/std::string
for non-Windows internally and for exported APIs, so this uses LIB_FILE_NAME_X
to define it according to the platform.
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Failure is #76280. |
Interop.Libraries.HostPolicy
is only used for the library name in p/invokes.Resolves #60080