Updated Web.Config and build scripts to have a default machine key for development, and removing it for builds

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-09-02 15:33:18 -07:00
parent a253985a40
commit 1154e0cf88
5 changed files with 13 additions and 4 deletions

View File

@@ -99,6 +99,14 @@
XPath="/configuration/system.web/compilation/@debug"
Value="false" />
<XmlUpdate XmlFileName="$(CloudRootFolder)\web.config"
XPath="/configuration/system.web/machineKey/@validationKey"
Value="AutoGenerate" />
<XmlUpdate XmlFileName="$(CloudRootFolder)\web.config"
XPath="/configuration/system.web/machineKey/@decryptionKey"
Value="AutoGenerate" />
<XmlUpdate XmlFileName="$(CloudRootFolder)\Config\Diagnostics.config"
XPath="/system.diagnostics/trace/@autoflush"
Value="false" />