[release/8.0-preview1] [QUIC] Fix conditions to bin place msquic.dll for Windows builds #81492
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport of #81490 to release/8.0-preview1
Fixes #81447
/cc @ManickaP
Customer Impact
There's no QUIC nor HTTP/3 support on Windows (specifically Windows 11 as older versions were never supported) without this fix. Applies to both client and server scenarios.
Testing
Added test checking the presence of msquic.dll on supported Windows versions via
QuicListener/QuicConnection.IsSupported
. Note that this test is currently failing on main (where this fix isn't merged yet) in #81481.Risk
Low as we tested locally, we're adding test with this PR and the change only re-introduces msquic.dll to the released .NET bits as was with previous versions.