-
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 Microsoft.NETCore.DotNetHost NuGet packages #35244
Comments
Tagging subscribers to this area: @vitek-karas, @swaroop-sridhar |
The Microsoft.NETCore.DotNetHost package is currently the "official" source of the "nethost.dll" which is used for native hosting scenarios. See https://github.com/dotnet/samples/tree/master/core/hosting/HostWithHostFxr#key-features. There is another way via vcpkg: #3774, but that is a bit weird for some Linux/MacOS scenarios. There was a discussion on what does it mean to ship native build assets, but so far no conclusion. |
I would like these packages to stay. In fact, I wish they included the header files |
Curious: by static libs you mean the What for? Do you want to replicate single-file (cause that's basically the only scenario I can think of which would need statically linked |
Actual code. This could allow me to ignore old versions of I wouldn't actually use |
I can see But honestly |
What is the status of this? I want to add |
I don't think we made any decision on this yet. If we do stop producing these packages we would have to introduce a new package (or some other way) to ship the native build assets (headers, libs, ...). I think that it makes sense to add the header files. And when/if we move the native build assets elsewhere we would take those along. |
I may be misunderstanding how to use these DotNetHost, DotNetAppHost and DotNetAppHostResolver packages, but they seem to be empty? I was expecting they would at least contain nethost.dll? So FWIW I'm a user who can't figure out how to use them and it seems I might have been better off if they didn't exist as I would have just manually added nethost.dll to my own nuspec. |
The package which contains So for example for win-x64, the package which actually contains the files is |
As for this issue - I actually originally misread it. @eerhardt is correct that there seems to be no need for: The only package we should keep is |
Should be fixed by #71725 |
@agocke did that change do anything with how we publish |
Nvm, wrong files. It removed those packages, so we may need some other vehicle. |
Actually, I think we can re-add the package publishing without any big problems. |
We are still building and shipping:
NuGet packages. See https://www.nuget.org/packages/Microsoft.NETCore.DotNetHostPolicy/5.0.0-preview.2.20160.6.
These packages shouldn't be used anymore since customers get these assets through runtime packs. (You can see this by looking at the massive dropoff in downloads between 2.x and 3.x versions.) We should stop shipping these packages, and should probably stop building them all together.
cc @ericstj @dagood @vitek-karas
The text was updated successfully, but these errors were encountered: