Replies: 1 comment
|
This is a binary mismatch: something in your app was compiled against Orchard Core 2.x and is now running on 3.0.1. The constructor in the error was removed in 3.0. Compare // v2.2.1
public RequireFeaturesAttribute(string featureName)
public RequireFeaturesAttribute(string featureName, params string[] otherFeatureNames)
// v3.0.0 / v3.0.1
public RequireFeaturesAttribute(params string[] featureNames)When an assembly built against 2.x has To find the culprit:
Since the shell build failed, the tenant may be left in a half-enabled state. After fixing the binaries, restart the app so the shell is rebuilt cleanly. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
When I enable features, it seems to work however it then throws an exception at the end.
This seems to be the issue:
System.MissingMethodException: Method not found: 'Void OrchardCore.Modules.RequireFeaturesAttribute..ctor(System.String, System.String[])'.What could be causing this? I have tested all my modules in separate applications and they work, but I have no idea why this fails. The last module to be activated is OrchardCore.Session
Full stack trace
I have seen this issue, however all the packages are referencing 3.0.1:
#19540
All reactions