In this article I will write about Add Safe Control Entry using elements file in SharePoint 2013. Recently I’ve discovered which it’s potential to add safe control entries through elements.xml file.
To do that, add an elements.xml file (or use an existing XML file). Then choose the elements.xml file and open up the properties window as shown below:
Finally, add the element xml file to some web/website scoped feature. As you’ll deploy the WSP, the safe control entry will certainly be added in web. config file.