I want disable couple of config files using patch file or edit layer.config
file.Have included below piece of lines of code to disable file.
I can disable specific config by adding .disable/example to config but I don't want to each and every config to disable. I'm looking for single patch config file to disable config.
<add path="Sitecore.Marketing.Definitions.MarketingAssets.Repositories.Solr.Index.Master.config" type="File" mode="Off" />
<add path="Sitecore.Marketing.Definitions.MarketingAssets.Repositories.Solr.Index.Web.config" type="File" mode="Off" />
Eventually above piece code not working , could some suggest how I can disable config files.