diff --git a/src/libraries/System.Xml.XPath.XDocument/tests/System.Xml.XPath.XDocument.Tests.csproj b/src/libraries/System.Xml.XPath.XDocument/tests/System.Xml.XPath.XDocument.Tests.csproj
index c63a57f595f82875581c79aa154b6870e1c21f4f..6c464cfe80089416274dab82aed323eb89805b7b 100644
--- a/src/libraries/System.Xml.XPath.XDocument/tests/System.Xml.XPath.XDocument.Tests.csproj
+++ b/src/libraries/System.Xml.XPath.XDocument/tests/System.Xml.XPath.XDocument.Tests.csproj
@@ -74,6 +74,17 @@
False
False
+
+ ..\..\packages\System.Text.Encoding.4.0.10-beta-22405\lib\portable-wpa80+win80+net45+aspnetcore50\System.Text.Encoding.dll
+ False
+ False
+
+
+ ..\..\packages\System.Text.Encoding.CodePages.4.0.0-beta-22405\lib\portable-wpa80+win80+net45+aspnetcore50\System.Text.Encoding.CodePages.dll
+ False
+ False
+
+
..\..\packages\xunit.abstractions.2.0.0-beta5-build2785\lib\net35\xunit.abstractions.dll
@@ -304,4 +315,4 @@
-
\ No newline at end of file
+
diff --git a/src/libraries/System.Xml.XPath.XDocument/tests/packages.config b/src/libraries/System.Xml.XPath.XDocument/tests/packages.config
index 2dc5f5b7172a0dd5d8e0a9deb788c75da2db06a0..4ebd778d0c2dca516048c2b59eaf99d691758434 100644
--- a/src/libraries/System.Xml.XPath.XDocument/tests/packages.config
+++ b/src/libraries/System.Xml.XPath.XDocument/tests/packages.config
@@ -1,5 +1,14 @@
+
+
+
+
+
+
+
+
+