Module loading work

Adding "App_Data/Extensions" probing path for assembly loading. This directory
will be used to store dynamically compiled module assemblies.

Adding a BuildProvider for ".csproj" file. This will be used to dynamic compile
modules when passing ".csproj" file names to the BuildManager

--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-06-03 16:54:14 -07:00
parent 0b5581d11c
commit 9b57d00d13

View File

@@ -8,7 +8,8 @@
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings/>
<appSettings/>
<system.diagnostics configSource="Config\Diagnostics.config"/>
<!--
Set default transaction timeout to 30 minutes so that interactive debugging
@@ -26,7 +27,10 @@
during development.
-->
<compilation debug="true" targetFramework="4.0">
<assemblies>
<buildProviders>
<add extension=".csproj" type="Orchard.Environment.Extensions.Loaders.CSharpExtensionBuildProvider"/>
</buildProviders>
<assemblies>
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
@@ -114,8 +118,9 @@
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="App_Data/Dependencies"/>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
</dependentAssembly>