-
Notifications
You must be signed in to change notification settings - Fork 910
Add net6.0 targets #972
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
Add net6.0 targets #972
Changes from all commits
fc4e106
611c970
d335726
3371f76
a88f00b
60a70f0
47aeea8
675250e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,11 @@ | ||
| { | ||
| "sdk": { | ||
| "version": "6.0.100-preview.3.21202.5" | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While CI is happy with this, this should further wait for dotnet/sdk#17461 to be fixed so that we can continue working locally. It was useful that we did this early to spot issues like the AspNetCore bug but it shouldn't be criticial to merge ASAP. |
||
| "version": "6.0.100-preview.6.21271.8" | ||
| }, | ||
| "tools": { | ||
| "dotnet": "6.0.100-preview.3.21202.5", | ||
| "dotnet": "6.0.100-preview.6.21271.8", | ||
| "runtimes": { | ||
| "dotnet": [ | ||
| "$(MicrosoftNETCoreAppPackageVersion)", | ||
| "3.1.14", | ||
| "5.0.5" | ||
| ], | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -411,15 +411,16 @@ public void Cluster_CanBeJsonSerialized() | |
|
|
||
| var options = new JsonSerializerOptions | ||
| { | ||
| #if !NET6_0_OR_GREATER | ||
| // Future 6.0 builds will contain the fix to these missing converters | ||
| //#if !NET6_0_OR_GREATER | ||
|
Comment on lines
+414
to
+415
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Tratcher this PR is now unblocked with the latest SDK+VS version. I had to revert this |
||
| Converters = | ||
| { | ||
| // TimeSpans https://github.com/dotnet/runtime/issues/29932 | ||
| new TimeSpanConverter(), | ||
| // Version https://github.com/dotnet/runtime/pull/41384 | ||
| new VersionConverter() | ||
| } | ||
| #endif | ||
| //#endif | ||
| }; | ||
| var json = JsonSerializer.Serialize(cluster1, options); | ||
| var cluster2 = JsonSerializer.Deserialize<ClusterConfig>(json, options); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.