Skip to content

Stop building hostmisc as a static lib. - #35431

Merged
AaronRobinsonMSFT merged 3 commits into
dotnet:masterfrom
AaronRobinsonMSFT:remove_hostmisc_staticlib
Apr 25, 2020
Merged

AaronRobinsonMSFT merged 3 commits into
dotnet:masterfrom
AaronRobinsonMSFT:remove_hostmisc_staticlib

Conversation

@AaronRobinsonMSFT

@AaronRobinsonMSFT AaronRobinsonMSFT commented Apr 25, 2020 •

Copy link
Copy Markdown
Member

Contributes to #1154

This broke the nethost from being consumable as a static lib.

See specific comment for context #1154 (comment)

The contained CMake changes are less than ideal and in most cases considered bad practice. I couldn't figure out a way to make this work without moving a fair bit of code and thus impacting higher priority single file work being done by @VSadov and @swaroop-sridhar.

/cc @vitek-karas

This broke the nethost from being consumable as a static lib.
@AaronRobinsonMSFT AaronRobinsonMSFT added this to the 5.0 milestone Apr 25, 2020
@ghost

ghost commented Apr 25, 2020

Copy link
Copy Markdown

Tagging subscribers to this area: @vitek-karas, @swaroop-sridhar
Notify danmosemsft if you want to be subscribed.

@swaroop-sridhar swaroop-sridhar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good.
I think we should keep #1154 open until we have a test for it (to ensure libnethost.lib is correctly built).

@VSadov VSadov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

Comment thread src/installer/corehost/cli/lib.cmake Resolved
Comment thread src/installer/corehost/cli/exe.cmake Resolved
@AaronRobinsonMSFT
AaronRobinsonMSFT merged commit 4564703 into dotnet:master Apr 25, 2020
@AaronRobinsonMSFT
AaronRobinsonMSFT deleted the remove_hostmisc_staticlib branch April 25, 2020 05:57
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants