1
Vote

ApplyWebConfigModifications won't apply changes to the Administration WebApplication

description

This might be intentional but if not:
Change the call to
            app.WebService.ApplyWebConfigModifications(); 
            //app.Farm.Services.GetValue<SPWebService>().ApplyWebConfigModifications();

comments