Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use explicit full-path for loading MsQuic.dll on Windows (#109963)
* Use explicit full-path for loading MsQuic.dll on Windows * Suppress IL3000 in MsQuicApi constructor A call to `Assembly.Location` was added in a recent fix. It has `IL30000` suppressed via `#pragma warning disable`, but that only applies to the compilation of the library itself. Consumers will hit it when doing something like publishing their app as NativeAOT. This change adds an `[UnconditionalSuppressMessage]` to the `MsQuicApi` static constructor such that `IL30000` should also be suppressed for apps consuming the runtime. This was caught in an aspnetcore deps flow PR coming from runtime. --------- Co-authored-by: Elinor Fung <elfung@microsoft.com>
- Loading branch information