Skip to content

msquic.dll is no longer included in the Windows shared runtime #81447

Closed
@halter73

Description

@halter73

Description

Between build 8.0.0-alpha.1.23061.6 for https://github.com/dotnet/runtime/commits/3f814583fd942d252acd810170f4659d6642377d/ and build 8.0.0-alpha.1.23061.11 for https://github.com/dotnet/runtime/commits/2ca7cf7140ebfaa8e34732b529c194416b122e89/ the official build stopped producing msquic.dll as part of its PackageArtifacts effectively disabling System.Net.Quic on our latest .NET 8 builds. It looks like none of our tests caught this because we skip them if QuicListener.IsSupported or QuicConnection.IsSupported is false which is the case when msquic.dll is not on the path on Windows.

There are only a handful of commits between those two builds. #80164 looks like the most suspicious of those changes @ViktorHofer, but I'm not sure that it's the cause.

I noticed this because @amcasey was trying to add a test to Http3TlsTests in the aspnetcore repo and noticed that the tests were being skipped on Windows 11.

@JamesNK @dotnet/ncl @dotnet/dnceng

Reproduction Steps

Download version 8.0.0-alpha.1.23061.6 of the Microsoft.NETCore.App.Runtime.win-64/x86 nuget packages from https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json and notice that msquic.dll is inside the /runtimes/win-64/native/ directory of the nupkg. Then do the same for version 8.0.0-alpha.1.23061.11 (the next release in the feed) and notice that msuic.dll is no longer there.

Expected behavior

The windows shared runtime should include msquic.dll and QuicListener.IsSupported/QuicConnection.IsSupported should be true on Windows 11.

Actual behavior

The windows shared runtime does not include msquic.dll.

Regression?

Yes.

Known Workarounds

Copying msquic.dll from an older installation of the shared runtime.

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions