-
Notifications
You must be signed in to change notification settings - Fork 330
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
.NET8.0 XML Exception Problem #142
Comments
Hi @SwEngine, can you please be more specific? |
I use only normal logging processes. When releasing the executable, I checked the trimming unused code option, it gives the error below,
|
I could not build your code :( could you share a dll file? Sorry for inconvenience |
I am adding your dll file to my project from project references, however
this line gives error of:
|
Can you put a simple repro somewhere on Github? |
@SwEngine maybe posting your csproj file could also help |
@SwEngine is this still relevant for you? |
I am on vacation, but next week I will look at again, thank you so much! |
@SwEngine could you take a look? |
@SwEngine please reopen when you have feedback |
I have the same error in relatively simple project. Edit: |
I have also build log:
|
@szogun1987 can you create a minimal sample project reproducing the problem? |
ApacheLog4NetSample.zip
in it. |
I was using the package in .net7.0 without problems. However, after updating to .net8.0, my program throws error. When I unchecked the trimming unused code option, there was no error, but it increases output file size very much. How can I solve it?
The text was updated successfully, but these errors were encountered: