Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SPMI dotnet publish package version conflict errors by explicitly adding related package. #2785

Merged
merged 3 commits into from Feb 16, 2024

Conversation

yongyan-gh
Copy link
Collaborator

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)

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]
...

ReleaseHistory.md Outdated Show resolved Hide resolved
Copy link

@stacywray stacywray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕐

Copy link

@stacywray stacywray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@scottoneil-ms scottoneil-ms merged commit f962085 into main Feb 16, 2024
8 checks passed
@scottoneil-ms scottoneil-ms deleted the users/v-yongyan/fixbuilderror branch February 16, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants