mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-07 16:13:58 +08:00
#19717: Fixing default HostComponents.config values
All file monitors are disabled, but ExtensionMonitoringCoordinator is kept to detect new modules/themes. Work Item: 19717 --HG-- branch : 1.x
This commit is contained in:
@@ -272,8 +272,9 @@
|
||||
<XmlDelete XmlFileName="$(StageFolder)\Config\log4net.config"
|
||||
XPath="/log4net/root/appender-ref[@ref='debug-file']" />
|
||||
|
||||
<!-- disable all file monitoring but ExtensionMonitoringCorrdinator to detect new modules/themes -->
|
||||
<XmlUpdate XmlFileName="$(StageFolder)\Config\HostComponents.config"
|
||||
XPath="/HostComponents/Components/Component[@Type='Orchard.Environment.Extensions.Loaders.DynamicExtensionLoader']/Properties/Property/@Value"
|
||||
XPath="/HostComponents/Components/Component/Properties/Property[@Name='DisableMonitoring']/@Value"
|
||||
Value="true" />
|
||||
|
||||
<!-- move over extra non-content files the csproj referenced -->
|
||||
|
Reference in New Issue
Block a user