Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
We have tried to upgrade the Castle.Core NuGet package to version 5.0.0 but we now get errors on the following line in our Container Manager object:
Container = new WindsorContainer();

The error we get is 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

THe issue also happens when we try to upgrade Moq which appears to depend on Castle.Core

Is anyone else experiencing this problem and are there any solutions available?

Many thanks

What I have tried:

Googling for a solution on the internet
Posted
Updated 17-May-22 0:33am

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900