-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Removed obsolete NET Framework 4.5 #5894
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: dev
Are you sure you want to change the base?
Conversation
WalkthroughRemoved .NET Framework 4.5 (net45) targeting across build, test, packaging, and project files; build and create-package calls trimmed targetFramework lists to exclude net45, net45-specific project PropertyGroups and references were removed, and MSBuild nuspec metadata changed from net45 to net46. Changes
Sequence Diagram(s)Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (9)
💤 Files with no reviewable changes (7)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
70a7d47
to
d7862ef
Compare
d7862ef
to
544d1f8
Compare
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.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (2)
build.ps1 (2)
38-40
: net45 still targeted in create-package calls — remove to complete the drop.These calls still pass net45 and will be inconsistent with the csproj changes (and can fail Pack). Remove net45 here.
-create-package 'NLog.Targets.GZipFile' '"net45;net46;netstandard2.0;netstandard2.1"' +create-package 'NLog.Targets.GZipFile' '"net46;netstandard2.0;netstandard2.1"' -create-package 'NLog.OutputDebugString' '"net35;net45;net46;netstandard2.0;netstandard2.1"' +create-package 'NLog.OutputDebugString' '"net35;net46;netstandard2.0;netstandard2.1"' -create-package 'NLog.RegEx' '"net35;net45;net46;netstandard2.0;netstandard2.1"' +create-package 'NLog.RegEx' '"net35;net46;netstandard2.0;netstandard2.1"'
44-44
: Schema packaging still toggles BuildNetFX45 — update to net46.Align the schema packaging flag with the new net46 baseline.
-msbuild /t:xsd /t:NuGetSchemaPackage ./src/NLog.proj /p:Configuration=Release /p:BuildNetFX45=true /p:BuildVersion=$versionProduct /p:Configuration=Release /p:BuildLabelOverride=NONE /verbosity:minimal +msbuild /t:xsd /t:NuGetSchemaPackage ./src/NLog.proj /p:Configuration=Release /p:BuildNetFX46=true /p:BuildVersion=$versionProduct /p:Configuration=Release /p:BuildLabelOverride=NONE /verbosity:minimal
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (9)
build.ps1
(1 hunks)run-tests.ps1
(0 hunks)src/NLog.OutputDebugString/NLog.OutputDebugString.csproj
(0 hunks)src/NLog.RegEx/NLog.RegEx.csproj
(0 hunks)src/NLog.Targets.AtomicFile/NLog.Targets.AtomicFile.csproj
(0 hunks)src/NLog.Targets.GZipFile/NLog.Targets.GZipFile.csproj
(0 hunks)src/NLog.proj
(1 hunks)src/NLog/NLog.csproj
(0 hunks)tests/NLog.UnitTests/NLog.UnitTests.csproj
(0 hunks)
💤 Files with no reviewable changes (7)
- src/NLog.RegEx/NLog.RegEx.csproj
- src/NLog/NLog.csproj
- src/NLog.OutputDebugString/NLog.OutputDebugString.csproj
- src/NLog.Targets.AtomicFile/NLog.Targets.AtomicFile.csproj
- tests/NLog.UnitTests/NLog.UnitTests.csproj
- src/NLog.Targets.GZipFile/NLog.Targets.GZipFile.csproj
- run-tests.ps1
🚧 Files skipped from review as they are similar to previous changes (1)
- src/NLog.proj
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: task-list-completed
- GitHub Check: task-list-completed
- GitHub Check: task-list-completed
🔇 Additional comments (1)
build.ps1 (1)
26-26
: LGTM: net45 removed from main NLog pack.Targets now align with the PR scope (net46/net35/netstandard2.0/netstandard2.1).
544d1f8
to
9e2bb95
Compare
|
When NET45 is disappears from AppVeyor-build-agents, then it will become difficult to support.