-
Notifications
You must be signed in to change notification settings - Fork 12
NetFramework4.8.1 Migration #21
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
base: master
Are you sure you want to change the base?
Changes from all commits
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,6 +1,6 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <configuration> | ||
| <startup> | ||
| <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/> | ||
| <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1"/> | ||
| </startup> | ||
| </configuration> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,5 +1,6 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <packages> | ||||
| <package id="Newtonsoft.Json" version="13.0.4" targetFramework="net481" /> | ||||
|
||||
| <package id="Newtonsoft.Json" version="13.0.4" targetFramework="net481" /> |
Copilot
AI
Jan 27, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages.config still lists the existing NuGet packages with targetFramework set to older frameworks (net461 / net452) even though the project now targets v4.8.1. Update those targetFramework values to net481 to keep the NuGet metadata consistent with the upgraded project target and avoid confusing restores/reinstalls.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new
Newtonsoft.Jsonassembly reference doesn't include a<Private>True</Private>(Copy Local) element, while the other NuGet references in this project do. Add it for consistency with the existing pattern in this.csprojand to make it explicit that the DLL should be copied to the output folder.