-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Inline and delete runtime.$(os).$(proj).props files #37254
Conversation
Tagging subscribers to this area: @ViktorHofer |
cc @jkotas, something like this? |
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.
LGTM. Thanks
This is something I've wanted to investigate doing for a while, but never had a reason to--now that we're adding more platforms, good time. I'm not aware of any reasons not to do this (but would rather leave in-depth review to others more involved with these changes). 👍 |
|
@am11 I believe this has broken shipping the static lib on Windows #35616 (comment). |
We were including <NativeBinary Include="$(DotNetHostBinDir)/$(LibraryFilePrefix)nethost$(StaticLibraryFileExtension)" /> (on Windows do we need both files or is nethost.lib completely different? |
@am11 Yes we need both. This is a common issue on Windows since both a static lib and import lib use the same extension (i.e. |
OK, i have added it in #37878. Yes, before it was: Windows
- <ArchitectureSpecificNativeFile Include="$(DotNetHostBinDir)/libnethost.lib" />
- <ArchitectureSpecificNativeFile Include="$(DotNetHostBinDir)/nethost.lib" />
non-Windows
- <ArchitectureSpecificNativeFile Include="$(DotNetHostBinDir)/libnethost.a" /> this change only effects Windows case, and only nethost had this specific case. |
Yes, that is true. We only ship a static lib for the |
Fixes #37241.