You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, and thanks for your hard work creating this package.
I'm trying to use this package in a .Net 7 application, and I'm getting the following exception when calling Execute from a unit test:
System.TypeLoadException : Could not load type 'System.Web.UI.WebResourceAttribute' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Stack trace below.
My understanding is that this package should work with .Net 6 and above... So why is it trying to use a .Net Framework 4.x assembly? What am I doing wrong? Cheers!
From the stack trace it looks like the KnownTypesResolver is trying to find the details for an early-bound assembly, and as part of that it's found a loaded assembly which has a WebResourceAttribute on it which it's then failing to load. We can't see from this stack trace what that assembly is, but you might be able to find this in the debugger.
Hello, and thanks for your hard work creating this package.
I'm trying to use this package in a .Net 7 application, and I'm getting the following exception when calling
Execute
from a unit test:Stack trace below.
My understanding is that this package should work with .Net 6 and above... So why is it trying to use a .Net Framework 4.x assembly? What am I doing wrong? Cheers!
Stack Trace:
The text was updated successfully, but these errors were encountered: