When adding a GuiPlugin attribute to a class in order to display it in the EPiServer Admin View, I get the error Can’t resolve non-rooted path.
The changes I made were the colored ones:
[Authorize(Roles = “Administrators, WebAdmins”)]
[GuiPlugIn(DisplayName=”Portal Users”, Url =”UserProfile”, Area = PlugInArea.AdminMenu)]
public class UserProfileController : Controller
This was due to having incorrectly defined the Url parameter. The controller for the plugin resided in /UserProfileController, and the default View was Index, so the correct setup was to change the Url parameter to “/UserProfile/Index”.