AI OnAI Off
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