Skip to content

Added net461 compilation target#978

Merged
michelebastione merged 2 commits into
mini-software:v1.x-maintenancefrom
michelebastione:netframework-target-improvements
Jun 25, 2026
Merged

Added net461 compilation target#978
michelebastione merged 2 commits into
mini-software:v1.x-maintenancefrom
michelebastione:netframework-target-improvements

Conversation

@michelebastione

@michelebastione michelebastione commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

This change was implemented to prevent .NET Framework projects to restore through nuget the net45 version of the package (which lacks support for exporting data from async enumerables among other things) instead of the "intended" netstandard2.0. The readme for the NuGet page has also been updated.

fixes #974

This was necessary to prevent .net framework projects to restore the net45 version of the package (which lacks support for exporting data from async enumerables among other things) instead of the "intended" netstandard2.0

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates MiniExcel's target frameworks to include net461, refactors preprocessor directives to use #if !NET45, optimizes image format detection in ImageHelper.cs, and rewrites the NuGet README. However, several issues were identified: non-existent package versions for Microsoft.SourceLink.GitHub and Microsoft.Bcl.AsyncInterfaces will break the build, shortened TIFF magic bytes in ImageHelper.cs may cause false positives on older frameworks, and using a package reference for System.IO.Compression on .NET Framework targets could lead to assembly conflicts. Additionally, a syntax error and a typo were found in the README examples.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/MiniExcel/Utils/ImageHelper.cs Outdated
Comment thread src/MiniExcel/MiniExcelLibs.csproj
Comment thread src/MiniExcel/MiniExcelLibs.csproj
Comment thread src/MiniExcel/MiniExcelLibs.csproj
Comment thread README-NuGet.md Outdated
Comment thread README-NuGet.md Outdated
@michelebastione michelebastione linked an issue Jun 25, 2026 that may be closed by this pull request
@michelebastione michelebastione merged commit e1c6869 into mini-software:v1.x-maintenance Jun 25, 2026
3 checks passed
@michelebastione michelebastione deleted the netframework-target-improvements branch June 25, 2026 23:04
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.

[BUG] - IAsyncEnumerable not correctly detected in net472

1 participant