Closed
Description
New SDK introduces new warnings that turn into errors in VMR build - see dotnet/installer#19145 (comment)
##[error]/vmr/src/sdk/src/RazorSdk/Tool/Client.cs(172,31): error CA2022: (NETCORE_ENGINEERING_TELEMETRY=Build) Avoid inexact read with 'System.IO.Stream.ReadAsync(byte[], int, int, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
##[error]/vmr/src/sdk/src/RazorSdk/Tool/ConnectionHost.cs(110,31): error CA2022: (NETCORE_ENGINEERING_TELEMETRY=Build) Avoid inexact read with 'System.IO.Stream.ReadAsync(byte[], int, int, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
I'm going to patch to disable this warning, in VMR builds. However this needs to be properly fixed.