London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
FYI: I compared the two EPiServer.dlls, version 6.1.379.0 and version 6.0.530.0, and yes the VirtualRoleProviderBase does not exists in the newer version (as I also just found in the SDK...).
So where does this leave us? :o
UPDATE: Same goes for the SecurityEntityType class, cannot be found in the dll. But e.g. AccessControlEntry still takes this enum in its second constructor. This is just weird!
Those classes have been moved to EPiServer.Framework.
If you rigth click on EPiServer assembly in reflector and choose Disassemble you will get a list of all assembly attributes and among them you will find the TypeForwardedTo attributes like:
[assembly: TypeForwardedTo(typeof(AccessLevel))] [assembly: TypeForwardedTo(typeof(VirtualPathUtilityEx))] [assembly: TypeForwardedTo(typeof(AspNetHostingEnvironment))] [assembly: TypeForwardedTo(typeof(GenericHostingEnvironment))] [assembly: TypeForwardedTo(typeof(IHostingEnvironment))] [assembly: TypeForwardedTo(typeof(AnonymousRole))] [assembly: TypeForwardedTo(typeof(AuthenticatedRole))] [assembly: TypeForwardedTo(typeof(EveryoneRole))] [assembly: TypeForwardedTo(typeof(SecurityEntity))] [assembly: TypeForwardedTo(typeof(SecurityEntityType))] [assembly: TypeForwardedTo(typeof(WindowsAdministratorsRole))] [assembly: TypeForwardedTo(typeof(VirtualRolePrincipal))] [assembly: TypeForwardedTo(typeof(VirtualRoleProviderBase))] [assembly: TypeForwardedTo(typeof(MappedRole))]
After upgrading an existing EPiServer CMS 6 website to EPiServer CMS 6 R2, I can no longer compile my project. I have a couple of virtual roles that inherits EPiServer.Security.VirtualRoleProviderBase, but this class is no longer recognized. And I can't find any information about such a change.
Do you guys know anything about this?
Best regards