GeezerVison is showing github.com — SystemInfo.EntryAssemblyLocation writable to adjust location for config-files in unit test projects by FreeAndNil · Pull Request #91 · apache/logging-log4net
Conversation
FreeAndNil
commented
Aug 8, 2022
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
We would like to make SystemInfo.EntryAssemblyLocation writable so that we can adjust its value for unit test projects.
.net core sets "testhost.dll" as EntryAssembly.
@fluffynuts Could you please review?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…ig-files in unit test projects
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.
looks fine to me, tho I can see an existing issue in the default block - Assembly.GetEntryAssembly() can return null; I'll merge and fix in master
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
FreeAndNil reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I'm not sure when this will land in a release; I'd like to work around an issue introduced recently which fixes something for pqsql but potentially breaks something for mssql (tho proper config of the latter works around it). Perhaps with that - but I need to set up a proper test scenario first.
|
FreeAndNil reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
No problem. In the meantime I can release a version to our internal Nuget repo.
|
fluffynuts reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
FreeAndNil reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 19, 2025
This was referenced Nov 11, 2025
This was referenced Jan 7, 2026
This was referenced Jan 27, 2026
This was referenced Feb 3, 2026
This was referenced Aug 23, 2026
This was referenced Aug 31, 2026
This was referenced Sep 19, 2026
This was referenced Oct 8, 2026
This was referenced Oct 21, 2026
This was referenced Oct 29, 2026
This was referenced Nov 6, 2026
This was referenced Nov 13, 2026
This was referenced Nov 24, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|