Skip to content

Version/6.3.7#78

Merged
ucrengineer merged 2 commits intomasterfrom
version/6.3.7
May 20, 2025
Merged

Version/6.3.7#78
ucrengineer merged 2 commits intomasterfrom
version/6.3.7

Conversation

@ucrengineer
Copy link
Collaborator

@ucrengineer ucrengineer commented May 20, 2025

Refactor assembly reference for resource loading
Updated the assembly reference in the resource loading method from Assembly.GetExecutingAssembly() to typeof(CountryPaperlessInfo).Assembly. This change enhances the accuracy of loading resources by ensuring the correct assembly is used, particularly in scenarios where the executing assembly differs from the one containing the resource.

Brandon Moffett added 2 commits May 20, 2025 13:56
- Updated `GitVersion.yml` to set next version to `6.3.7` and enable commit message incrementing with regex for version bumps.
- Refactored `LoadFile` method in `DHLExpressPaperlessEligibilityService.cs` to load JSON data from an embedded resource instead of a file, updating error messages accordingly.
Updated the assembly reference in the resource loading method from `Assembly.GetExecutingAssembly()` to `typeof(CountryPaperlessInfo).Assembly`. This change enhances the accuracy of loading resources by ensuring the correct assembly is used, particularly in scenarios where the executing assembly differs from the one containing the resource.
@ucrengineer ucrengineer merged commit aeb1de3 into master May 20, 2025
1 check passed
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.

1 participant