Disable unicorn in sitecore

4/27/2018 sitecore-unicorn sitecore-8

Unicorn is a great tool for Sitecore to serialize all your Sitecore items, but sometimes u do need to disable in development environments to test your issues. Here is the simple way to do it.

All it takes is disabling the file Unicorn.Configs.Default.config by renaming it to Unicorn.Configs.Default.config.disabled

Disabling Unicorn.config will throw an error as below:

Server Error in '/' Application.

Could not find configuration node: /sitecore/unicorn/configurationProvider Description:
An unhandled exception occurred during the execution of the current web request. 
Please review the stack trace for more information about the error and where it originated in the code. 
Exception Details: System.InvalidOperationException: Could not find configuration node: /sitecore/unicorn/configurationProvider