diff --git a/src/Libraries/NHibernate/NHibernate.Linq/NHibernate.Linq.csproj b/src/Libraries/NHibernate/NHibernate.Linq/NHibernate.Linq.csproj
index 46467801f78..cc1aae8fb9e 100644
--- a/src/Libraries/NHibernate/NHibernate.Linq/NHibernate.Linq.csproj
+++ b/src/Libraries/NHibernate/NHibernate.Linq/NHibernate.Linq.csproj
@@ -49,8 +49,9 @@
..\..\..\packages\Iesi.Collections.4.0.4\lib\net461\Iesi.Collections.dll
-
- ..\..\..\packages\NHibernate.5.3.10\lib\net461\NHibernate.dll
+
+ ..\..\..\packages\NHibernate.5.4.9\lib\net48\NHibernate.dll
+ True
..\..\..\packages\Remotion.Linq.2.2.0\lib\net45\Remotion.Linq.dll
diff --git a/src/Orchard.Tests/Orchard.Framework.Tests.csproj b/src/Orchard.Tests/Orchard.Framework.Tests.csproj
index 45997c72909..a42648c4d86 100644
--- a/src/Orchard.Tests/Orchard.Framework.Tests.csproj
+++ b/src/Orchard.Tests/Orchard.Framework.Tests.csproj
@@ -110,8 +110,9 @@
..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll
-
- ..\packages\NHibernate.5.3.10\lib\net461\NHibernate.dll
+
+ ..\packages\NHibernate.5.4.9\lib\net48\NHibernate.dll
+ True
..\packages\NUnit.2.5.10.11092\lib\nunit.framework.dll
diff --git a/src/Orchard.Web/Core/Orchard.Core.csproj b/src/Orchard.Web/Core/Orchard.Core.csproj
index 2eabcffc1cd..b4e8b923b1b 100644
--- a/src/Orchard.Web/Core/Orchard.Core.csproj
+++ b/src/Orchard.Web/Core/Orchard.Core.csproj
@@ -53,6 +53,14 @@
false
+
+ ..\..\packages\Antlr3.Runtime.3.5.1\lib\net40-client\Antlr3.Runtime.dll
+ True
+
+
+ ..\..\packages\Iesi.Collections.4.1.1\lib\net462\Iesi.Collections.dll
+ True
+
..\..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.4.1.0\lib\net472\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
@@ -60,8 +68,17 @@
..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll
-
- ..\..\packages\NHibernate.5.3.10\lib\net461\NHibernate.dll
+
+ ..\..\packages\NHibernate.5.4.9\lib\net48\NHibernate.dll
+ True
+
+
+ ..\..\packages\Remotion.Linq.2.2.0\lib\net45\Remotion.Linq.dll
+ True
+
+
+ ..\..\packages\Remotion.Linq.EagerFetching.2.2.0\lib\net45\Remotion.Linq.EagerFetching.dll
+ True
@@ -659,4 +676,4 @@
-
+
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Projections/Orchard.Projections.csproj b/src/Orchard.Web/Modules/Orchard.Projections/Orchard.Projections.csproj
index 2ef8e50c540..4b28501386e 100644
--- a/src/Orchard.Web/Modules/Orchard.Projections/Orchard.Projections.csproj
+++ b/src/Orchard.Web/Modules/Orchard.Projections/Orchard.Projections.csproj
@@ -65,8 +65,9 @@
..\..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll
-
- ..\..\..\packages\NHibernate.5.3.10\lib\net461\NHibernate.dll
+
+ ..\..\..\packages\NHibernate.5.4.9\lib\net48\NHibernate.dll
+ True
..\..\..\packages\Remotion.Linq.2.2.0\lib\net45\Remotion.Linq.dll
diff --git a/src/Orchard.Web/Modules/Orchard.Projections/Tests/Orchard.Projections.Tests.csproj b/src/Orchard.Web/Modules/Orchard.Projections/Tests/Orchard.Projections.Tests.csproj
index 2cbf78b35d8..7a899af4f10 100644
--- a/src/Orchard.Web/Modules/Orchard.Projections/Tests/Orchard.Projections.Tests.csproj
+++ b/src/Orchard.Web/Modules/Orchard.Projections/Tests/Orchard.Projections.Tests.csproj
@@ -51,8 +51,9 @@
..\..\..\..\packages\Moq.4.2.1510.2205\lib\net40\Moq.dll
-
- ..\..\..\..\packages\NHibernate.5.3.10\lib\net461\NHibernate.dll
+
+ ..\..\..\..\packages\NHibernate.5.4.9\lib\net48\NHibernate.dll
+ True
..\..\..\..\packages\NUnit.2.5.10.11092\lib\nunit.framework.dll
diff --git a/src/Orchard.Web/Modules/Orchard.Projections/Tests/packages.config b/src/Orchard.Web/Modules/Orchard.Projections/Tests/packages.config
index d0e0056181b..be76b1c1eb9 100644
--- a/src/Orchard.Web/Modules/Orchard.Projections/Tests/packages.config
+++ b/src/Orchard.Web/Modules/Orchard.Projections/Tests/packages.config
@@ -5,7 +5,7 @@
-
+
diff --git a/src/Orchard/Orchard.Framework.csproj b/src/Orchard/Orchard.Framework.csproj
index 7058ad861d0..4c4289fe843 100644
--- a/src/Orchard/Orchard.Framework.csproj
+++ b/src/Orchard/Orchard.Framework.csproj
@@ -89,8 +89,9 @@
..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll
-
- ..\packages\NHibernate.5.3.10\lib\net461\NHibernate.dll
+
+ ..\packages\NHibernate.5.4.9\lib\net48\NHibernate.dll
+ True
..\packages\Owin.1.0\lib\net40\Owin.dll