C:\Repos\1ES\SpmiNew1\src\sarif-sdk\src\Sarif.Driver\Sarif.Driver.csproj : error NU1605: Warning As Error: Dete
cted package downgrade: System.Diagnostics.Debug from 4.3.0 to 4.0.11. Reference the package directly from the
project to select a different version. [C:\Repos\1ES\SpmiNew1\src\Sarif.PatternMatcher.Cli\Sarif.PatternMatche
r.Cli.csproj]
...
C:\Repos\1ES\SpmiNew1\src\sarif-sdk\src\Sarif.Driver\Sarif.Driver.csproj : error NU1605: Warning As Error: Dete
cted package downgrade: System.IO.FileSystem.Primitives from 4.3.0 to 4.0.1. Reference the package directly fro
m the project to select a different version. [C:\Repos\1ES\SpmiNew1\src\Sarif.PatternMatcher.Cli\Sarif.Pattern
Matcher.Cli.csproj]
...
C:\Repos\1ES\SpmiNew1\src\sarif-sdk\src\Sarif.Driver\Sarif.Driver.csproj : error NU1605: Warning As Error: Dete
cted package downgrade: System.Text.Encoding.Extensions from 4.3.0 to 4.0.11. Reference the package directly fr
om the project to select a different version. [C:\Repos\1ES\SpmiNew1\src\Sarif.PatternMatcher.Cli\Sarif.Patter
nMatcher.Cli.csproj]
...
Description:
In order to build a standalone self-contained .net6.0 application, these build errors need to be resolved.
The similar fixes already made in sarif.csproj (https://github.com/microsoft/sarif-sdk/pull/2765/files)