diff --git a/src/Orchard.Specs/Orchard.Specs.csproj b/src/Orchard.Specs/Orchard.Specs.csproj
index 3443dfe74..d12bf5b82 100644
--- a/src/Orchard.Specs/Orchard.Specs.csproj
+++ b/src/Orchard.Specs/Orchard.Specs.csproj
@@ -63,10 +63,6 @@
False
..\..\lib\autofac\Autofac.Integration.Web.dll
-
- False
- ..\..\lib\autofac\Autofac.Integration.Web.Mvc.dll
-
False
..\..\lib\Castle Windsor 2.0\bin\Castle.Core.dll
diff --git a/src/Orchard.Tests/Orchard.Framework.Tests.csproj b/src/Orchard.Tests/Orchard.Framework.Tests.csproj
index b88a0e392..0ba5e7872 100644
--- a/src/Orchard.Tests/Orchard.Framework.Tests.csproj
+++ b/src/Orchard.Tests/Orchard.Framework.Tests.csproj
@@ -63,10 +63,6 @@
False
..\..\lib\autofac\Autofac.Integration.Web.dll
-
- False
- ..\..\lib\autofac\Autofac.Integration.Web.Mvc.dll
-
False
..\..\lib\Castle Windsor 2.0\bin\Castle.Core.dll
diff --git a/src/Orchard.Web/Orchard.Web.csproj b/src/Orchard.Web/Orchard.Web.csproj
index 37ae386a1..4f7b7f18b 100644
--- a/src/Orchard.Web/Orchard.Web.csproj
+++ b/src/Orchard.Web/Orchard.Web.csproj
@@ -50,10 +50,6 @@
False
..\..\lib\autofac\Autofac.Integration.Web.dll
-
- False
- ..\..\lib\autofac\Autofac.Integration.Web.Mvc.dll
-
False
..\..\lib\aspnetmvc\Microsoft.Web.Infrastructure.dll
diff --git a/src/Orchard/Environment/AutofacUtil/LifetimeScopeContainer.cs b/src/Orchard/Environment/AutofacUtil/LifetimeScopeContainer.cs
index ed8acc95a..9533ee180 100644
--- a/src/Orchard/Environment/AutofacUtil/LifetimeScopeContainer.cs
+++ b/src/Orchard/Environment/AutofacUtil/LifetimeScopeContainer.cs
@@ -48,8 +48,17 @@ namespace Orchard.Environment.AutofacUtil {
get { return _lifetimeScope.Tag; }
}
- public event EventHandler ChildLifetimeScopeBeginning;
- public event EventHandler CurrentScopeEnding;
- public event EventHandler ResolveOperationBeginning;
+ event EventHandler ILifetimeScope.ChildLifetimeScopeBeginning {
+ add { _lifetimeScope.ChildLifetimeScopeBeginning += value; }
+ remove { _lifetimeScope.ChildLifetimeScopeBeginning -= value; }
+ }
+ event EventHandler ILifetimeScope.CurrentScopeEnding {
+ add { _lifetimeScope.CurrentScopeEnding += value; }
+ remove { _lifetimeScope.CurrentScopeEnding -= value; }
+ }
+ event EventHandler ILifetimeScope.ResolveOperationBeginning {
+ add { _lifetimeScope.ResolveOperationBeginning += value; }
+ remove { _lifetimeScope.ResolveOperationBeginning -= value; }
+ }
}
}
\ No newline at end of file
diff --git a/src/Orchard/Orchard.Framework.csproj b/src/Orchard/Orchard.Framework.csproj
index d42e28f4e..2cb0cbc40 100644
--- a/src/Orchard/Orchard.Framework.csproj
+++ b/src/Orchard/Orchard.Framework.csproj
@@ -68,11 +68,6 @@
..\..\lib\autofac\Autofac.Integration.Web.dll
True
-
- False
- ..\..\lib\autofac\Autofac.Integration.Web.Mvc.dll
- True
-
False
..\..\lib\Castle Windsor 2.0\bin\Castle.Core.dll