Skip to content

v5.11.1 - #104

Merged
chullybun merged 2 commits into
mainfrom
v5.11.1
Sep 4, 2026
Merged

v5.11.1#104
chullybun merged 2 commits into
mainfrom
v5.11.1

Conversation

@chullybun

Copy link
Copy Markdown
Collaborator
  • Fixed: Wrapped Assembly.LoadFrom in TestSetUp with try-catch to log exceptions and prevent setup failures.

- *Fixed:* Wrapped `Assembly.LoadFrom` in `TestSetUp` with try-catch to log exceptions and prevent setup failures.
Copilot AI lite review requested due to automatic review settings September 4, 2026 22:26

Copilot AI 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.

🟡 Changes recommended

The new catch block logs only ex.Message (dropping key diagnostics) and includes a potentially misleading comment about load failures being “not a problem.”

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR bumps the package to v5.11.1 and adjusts TestSetUp to be more resilient when preloading assemblies by swallowing Assembly.LoadFrom failures and emitting a diagnostic log entry instead of failing static initialization.

Changes:

  • Wrap Assembly.LoadFrom in TestSetUp with a try/catch to avoid setup failures when a DLL can’t be loaded.
  • Bump NuGet/package version from 5.11.0 to 5.11.1.
  • Add a changelog entry documenting the fix.
File summaries
File Description
src/UnitTestEx/TestSetUp.cs Adds try/catch around assembly preloading and logs failures.
Common.targets Increments package version to 5.11.1.
CHANGELOG.md Documents v5.11.1 change.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/UnitTestEx/TestSetUp.cs Outdated
Comment thread src/UnitTestEx/TestSetUp.cs
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Eric Sibly [chullybun] <eric@thesiblys.com>
@chullybun
chullybun merged commit 19e0304 into main Sep 4, 2026
2 of 4 checks passed
@chullybun
chullybun deleted the v5.11.1 branch September 4, 2026 22:51
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.

2 participants