Castle.Core 5.0.0 Issues

649 views
Skip to first unread message

Tim PepperWTW

unread,
May 17, 2022, 5:53:49 AMMay 17
to Castle Project Development List
We have tried to upgrade a couple of our applications to Castle.Core 5.0.0 but now, when we run our Container Manager code we get an error on the following statetement:
Container = new WindsorContainer();

The error reads as follows:
$exception    {"Could not load type 'Castle.Core.Internal.PermissionUtil' from assembly 'Castle.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'.":"Castle.Core.Internal.PermissionUtil"}    System.TypeLoadException

Can anyone provide a solution to this issue please?

Jonathon Rossi

unread,
May 17, 2022, 5:59:49 AMMay 17
to Castle Project Development
No version of Castle Windsor supports Castle Core 5.0.0.

Blame NuGet, it thinks a new major version of Castle Core is compatible, but adding them into a new project will opt for the lower version, Castle Core 4.4.1.

See:

--
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/castle-project-devel/3948cc5c-730c-4b63-96f2-8422808728f2n%40googlegroups.com.

--
Jono

Jonathon Rossi

unread,
May 17, 2022, 7:43:49 AMMay 17
to tim.pe...@gmail.com, Castle Project Development
Tim,

I've just published Windsor v5.1.2. Upgrade to this patch version and NuGet should stop prompting to upgrade to Castle.Core 5.0.0.
--
Jono
Reply all
Reply to author
Forward
0 new messages