-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
MethodNotFoundException in net8 #96268
Comments
Hi, I see the issue is added to the 9.0.0 milestone. Do you know a workaround so on .net 8? |
@heckl This hasn't been investigated yet so there isn't any action at present. The description indicates that we need to look into it and once we have an understanding we will be able to define next steps. |
Hello guys!
I also was able to find this stack trace with Windbg:
Hope this helps a little. |
Hello,
|
The fix for this is in the 8.0.3 release (and main). Thanks all for the report, repro, and investigation! |
Description
MethodNotFoundException occurs if there is a Worksheet (office.interop) parameter and a List return value. So version 2 and 3 works but not version 1. These methods are called from sperate project but both projects were .net 8. My workaround was going back to .net7.
Reproduction Steps
https://www.dropbox.com/scl/fi/mf20wxeqju9ghhm34z4td/TestSolution.zip?rlkey=8et27m0vgb6v2kpjg3j7ach84&dl=0
I created a solution to demonstrate the problem. You can build the solution but you will get the exception in runtime.
Expected behavior
There should be no exception at runtime.
Actual behavior
There is a MethodNotFoundException in runtime.
Regression?
If you go back to .net7 it works fine.
Known Workarounds
Go back .net7
Configuration
.net8
Windows 10
x64
Other information
No response
The text was updated successfully, but these errors were encountered: