I followed Getting Started documentation of OrchardCMS which requires installing OrchardCore.Application.Cms.Target package. Even though none of the dependencies require GraphQL version 4.5 and the package uses GraphQL 2.4, it exists in paket.lock file, therefore causing TypeLoadException.
You can see more info about this here: https://github.com/OrchardCMS/OrchardCore/issues/9968
Repro steps
Please provide the steps required to reproduce the problem
Create a new Empty ASP.NET Core project
Run paket install OrchardCore.Application.Cms.Target
Running project gives TypeLoadException because Orchard is on GraphQL v 2.4 but paket installs GraphQL 4.5 as well.
Expected behavior
GraphQL 4.5 should not be in the lock file.
Actual behavior
GraphQL 4.5 is in lock file, causing TypeLoadException.
Description
I followed Getting Started documentation of OrchardCMS which requires installing
OrchardCore.Application.Cms.Target
package. Even though none of the dependencies requireGraphQL version 4.5
and the package usesGraphQL 2.4
, it exists inpaket.lock
file, therefore causingTypeLoadException
. You can see more info about this here: https://github.com/OrchardCMS/OrchardCore/issues/9968Repro steps
Please provide the steps required to reproduce the problem
Create a new Empty ASP.NET Core project
Run
paket install OrchardCore.Application.Cms.Target
Running project gives
TypeLoadException
because Orchard is onGraphQL v 2.4
but paket installsGraphQL 4.5
as well.Expected behavior
GraphQL 4.5 should not be in the lock file.
Actual behavior
GraphQL 4.5 is in lock file, causing
TypeLoadException
.