Uh oh!
There was an error while loading. Please reload this page.
more fixes for msquic packaging - #55607
Conversation
ghost
commented
Jul 13, 2021
Tagging subscribers to this area: @dotnet/ncl Issue DetailsIt seems like previous change was good enough get it to runtime and run tests but it was not good enough to make it the final product. We also crate aspnet transport package and I'm not sure if the native dll needs to be there since it is now part of the runtime. We can possibly re-visit this later if need to.
|
Uh oh!
There was an error while loading. Please reload this page.
ericstj
commented
Jul 14, 2021
It doesn’t need to be there. You don’t need ASP.NET to know about this file in any way right? It’s an implementation detail of the assembly in the runtime. |
wfurt
commented
Jul 14, 2021
Currently the package has ref assembly but also |
ericstj
commented
Jul 14, 2021
That’s not right but they don’t consume it so it’s not a major issue, just cleanup. |
ManickaP
commented
Jul 14, 2021
Is this closing #52085 once again? Should we adjust the description then? |
jkoritzinsky
commented
Jul 14, 2021
I think we might have a problem with single-file host + msquic. Since |
ericstj
commented
Jul 14, 2021
@jkoritzinsky what happens for |
jkoritzinsky
commented
Jul 14, 2021
System.IO.Compression.Native is statically linked into the single file host, so it doesn't need to ship alongside it. In the CMake build script: |
Interesting. Perhaps that's a separate issue for the networking team to peel off and address since this shouldn't make it any worse, right? Today msquic fails to load for all apps, after this change it will fail to load for single-file apps. Some options to consider are:
|
ManickaP
commented
Jul 14, 2021
We have that. If the msquic.dll is not present on the target machine, we just disable QUIC and by proxy HTTP/3. |
jkoritzinsky
commented
Jul 14, 2021
Yes, this can be future work. I just wanted to raise it before I forgot. |
ericstj
commented
Jul 14, 2021
I was talking about the reverse, where the build could decide when to include the dll in the customer's single file app. If there was a way for the customer (or the customer's app/project) to express "I want my single file app to have QUIC" rather than us say in our framework metadata that it must always be present. |
We have an AppContext switch: This PR: #55332 |
wfurt
commented
Jul 14, 2021
I'm glad you brought it up @jkoritzinsky and I think this should be future work. Quic/H3 is preview feature for 6.0 so I'm not sure if we should pollute the single file with something that is unlikely to be used. As @ericstj mentioned it would be great if this is something the project can control. |
ManickaP
commented
Jul 14, 2021
Tracking in #55639 |
wfurt
commented
Jul 15, 2021
Mono build failure looks irrelevant. |
It seems like previous change was good enough get it to runtime and run tests but it was not good enough to make it the final product.
With this, I verified that
msquic.dllis part of createddotnet-runtime-6.0.0-dev-win-x64.zipand I also run the msi installer and I check install shared directory.We also crate aspnet transport package and I'm not sure if the native dll needs to be there since it is now part of the runtime. We can possibly re-visit this later if need to.