Skip to content
This repository was archived by the owner on Aug 26, 2026. It is now read-only.

Add package reference for System.Net.Http - #902

Merged
Cosifne merged 2 commits into
dotnet:mainfrom
Cosifne:dev/shech/restoreHttp
Sep 20, 2021
Merged

Cosifne merged 2 commits into
dotnet:mainfrom
Cosifne:dev/shech/restoreHttp

Conversation

@Cosifne

@Cosifne Cosifne commented Sep 20, 2021

Copy link
Copy Markdown
Member

A workaround to fix issues:
https://devdiv.visualstudio.com/DevDiv/_componentGovernance/112744/alert/2980237?typeId=6257816
https://devdiv.visualstudio.com/DevDiv/_componentGovernance/112744/alert/3537864?typeId=6257816

Roslyn-SDK is not using System.Net.Http packages, but because System.Net.Http is involved in NetStandard.Library 1.6.1, and it is restored by default by all NetStandard projects (which includes our projects, and many other libraries)

Explicitly add System.Net.Http 4.3.4 would fix it.

Apparently, the security check tool should not report this, but it is going to block the build starts from 9/30 so we might need this workaround.

@Cosifne
Cosifne requested review from a team as code owners September 20, 2021 16:53
@Cosifne
Cosifne requested review from jmarolf and sharwell and removed request for a team September 20, 2021 17:00
Comment thread src/Microsoft.CodeAnalysis.Testing/Directory.Build.props Outdated
@Cosifne
Cosifne merged commit 686468a into dotnet:main Sep 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants