Corrected Azure project

- Removes automatically teh system.extensions tags which prevents MVC from working on Azure
- Updated web.config with Orchard.Web's one
- Added a machineKey for server farm scenarios

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-07-07 15:01:51 -07:00
parent fd95b7284f
commit ef02c6d66d
7 changed files with 417 additions and 104 deletions

View File

@@ -33,6 +33,7 @@
</Target>
<Target Name="Package">
<CallTarget Targets="Package-ForCloud"/>
<CallTarget Targets="Package-Stage"/>
<CallTarget Targets="Package-Zip"/>
</Target>
@@ -92,7 +93,7 @@
<!-- Packaging -->
<Target Name="Package-Stage">
<Target Name="Package-ForCloud">
<ItemGroup>
<Stage-Bin-Exclude Include="$(WebSitesFolder)\**\bin\**\*" />
@@ -135,7 +136,10 @@
SourceFiles="$(SrcFolder)\Orchard.Azure\Orchard.Azure.CloudService\ServiceConfiguration.cscfg"
DestinationFolder="$(StageFolder)"
/>
</Target>
<Target Name="Package-Stage">
<Exec
Command="&quot;$(ServiceHostingSDKBinDir)cspack&quot; &quot;$(ServiceFolder)\ServiceDefinition.csdef&quot; /role:Orchard.Azure.Web;&quot;$(CloudRootFolder)&quot;;Orchard.Azure.Web.dll /out:&quot;$(StageFolder)\Orchard.cspkg&quot;"
WorkingDirectory="$(CloudRootFolder)"