Skip to content
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

Fix loading of p4bridge.dll in single-file bundles #8

Closed
wants to merge 1 commit into from

Conversation

tripplet
Copy link

This fixes the use of p4net in a .NET single file bundle:
https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/warnings/il3000

@SaNeOr
Copy link

SaNeOr commented Sep 20, 2023

I also encountered this problem, and I also replaced Assembly.GetExecutingAssembly().Location with AppContext.BaseDirectory, I think this issue should be merged.

-----update-----
It is enough to use AppContext.BaseDirectory instead,
#9

@shraddhaborate
Copy link
Contributor

This issue has been addressed in upcoming release. Will be available in next week.

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.

3 participants