#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:
Sebastien Ros
2013-05-21 15:22:15 -07:00
parent 256965891c
commit 3de95903dc
3 changed files with 82 additions and 4 deletions

View File

@@ -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 -->