Skip to content

Conversation

@zivkan
Copy link
Member

@zivkan zivkan commented Aug 31, 2020

This dotnet/runtime PR marked Properties as obsolete:
dotnet/runtime#39182

Since we use warnings as errors, we have to change our code.

Bug

Fixes: NuGet/Home#9964
Regression: No

  • Last working version:
  • How are we preventing it in future:

Fix

Details: Add some #if NET5_0 that will cause problems when we eventually move to NET6.0, but we can deal with this later.

Testing/Validation

Tests Added: No
Reason for not adding tests: I expect existing tests to cover it. This change did not change any APIs or expected behaviour.
Validation:

This dotnet/runtime PR marked Properties as obsolete:
dotnet/runtime#39182

Since we use warnings as errors, we have to change our code.
@zivkan zivkan requested a review from a team as a code owner August 31, 2020 18:12
@nkolev92
Copy link
Member

Well the notification worked for me :D It ended up in the right folder so I'm happy :D

@zivkan zivkan merged commit 0bd66a4 into dev Sep 1, 2020
@zivkan zivkan deleted the dev-zivkan-httprequestmessage-properties branch September 1, 2020 02:57
heng-liu added a commit that referenced this pull request Sep 2, 2020
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.

Use HttpRequestMessage.Options instead of Properties on net5.0

3 participants