Repository navigation
Inline and delete runtime.$(os).$(proj).props files - #37254
Conversation
|
Tagging subscribers to this area: @ViktorHofer |
|
cc @jkotas, something like this? |
|
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.