;
- if (authors.Any()) {
+ if (Enumerable.Any(authors)) {
@PackageManagerResources.AuthorsLabel: @String.Join(PackageManagerResources.WordSeparator, authors)
diff --git a/src/System.Web.WebPages.Administration/razorgenerator.directives b/src/System.Web.WebPages.Administration/razorgenerator.directives
new file mode 100644
index 000000000..2421be975
--- /dev/null
+++ b/src/System.Web.WebPages.Administration/razorgenerator.directives
@@ -0,0 +1 @@
+GeneratePrettyNames: true
diff --git a/src/WebApiHelpPage/Areas/HelpPage/Views/Web.config b/src/WebApiHelpPage/Areas/HelpPage/Views/Web.config
index 820e75486..198766754 100644
--- a/src/WebApiHelpPage/Areas/HelpPage/Views/Web.config
+++ b/src/WebApiHelpPage/Areas/HelpPage/Views/Web.config
@@ -9,7 +9,7 @@
-
+
@@ -34,8 +34,17 @@
-
+
+
+
+
+
+
+
+
+
+
diff --git a/src/WebApiHelpPage/VB/Areas/HelpPage/Views/Web.config b/src/WebApiHelpPage/VB/Areas/HelpPage/Views/Web.config
index 9a921ab54..043fbd6e2 100644
--- a/src/WebApiHelpPage/VB/Areas/HelpPage/Views/Web.config
+++ b/src/WebApiHelpPage/VB/Areas/HelpPage/Views/Web.config
@@ -9,7 +9,7 @@
-
+
@@ -34,8 +34,17 @@
-
+
+
+
+
+
+
+
+
+
+
diff --git a/src/WebApiHelpPage/VB/WebApiHelpPage.VB.nuspec b/src/WebApiHelpPage/VB/WebApiHelpPage.VB.nuspec
index 6715ceca9..3d98bbab6 100644
--- a/src/WebApiHelpPage/VB/WebApiHelpPage.VB.nuspec
+++ b/src/WebApiHelpPage/VB/WebApiHelpPage.VB.nuspec
@@ -2,20 +2,18 @@
Microsoft.AspNet.WebApi.HelpPage.VB
- 5.1.0-alpha-0
+ 5.3.1
Microsoft ASP.NET Web API Help Page (VB)
Microsoft
Microsoft
http://www.asp.net/web-api
- true
- http://www.microsoft.com/web/webpi/eula/mvc4extensions_prerelease_eula.htm
The ASP.NET Web API Help Page automatically generates help page content for the web APIs on your site. Visitors to your help page can use this content to learn how to call your web APIs. Everything generated by the help page is fully customizable using ASP.NET MVC and Razor. ASP.NET Web API Help Page is a great addition to any ASP.NET Web API project.
The ASP.NET Web API Help Page automatically generates help page content for the web APIs on your site.
-
-
-
+
+
+
diff --git a/src/WebApiHelpPage/VB/WebApiHelpPageVB.vbproj b/src/WebApiHelpPage/VB/WebApiHelpPageVB.vbproj
index 5c1d45882..37e7cd7b9 100644
--- a/src/WebApiHelpPage/VB/WebApiHelpPageVB.vbproj
+++ b/src/WebApiHelpPage/VB/WebApiHelpPageVB.vbproj
@@ -42,10 +42,9 @@
On
-
- ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll
- False
- False
+
+ ..\..\..\packages\Newtonsoft.Json.13.0.4\lib\net45\Newtonsoft.Json.dll
+ True
diff --git a/src/WebApiHelpPage/VB/packages.config b/src/WebApiHelpPage/VB/packages.config
index 3cb4a4570..de4ec4118 100644
--- a/src/WebApiHelpPage/VB/packages.config
+++ b/src/WebApiHelpPage/VB/packages.config
@@ -1,5 +1,5 @@
-
+
\ No newline at end of file
diff --git a/src/WebApiHelpPage/WebApiHelpPage.csproj b/src/WebApiHelpPage/WebApiHelpPage.csproj
index 15964d7c8..4f63ac32f 100644
--- a/src/WebApiHelpPage/WebApiHelpPage.csproj
+++ b/src/WebApiHelpPage/WebApiHelpPage.csproj
@@ -15,10 +15,9 @@
1591
-
- ..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll
- False
- False
+
+ ..\..\packages\Newtonsoft.Json.13.0.4\lib\net45\Newtonsoft.Json.dll
+ True
diff --git a/src/WebApiHelpPage/WebApiHelpPage.nuspec b/src/WebApiHelpPage/WebApiHelpPage.nuspec
index aa69da71f..6e0f62121 100644
--- a/src/WebApiHelpPage/WebApiHelpPage.nuspec
+++ b/src/WebApiHelpPage/WebApiHelpPage.nuspec
@@ -2,27 +2,25 @@
Microsoft.AspNet.WebApi.HelpPage
- 5.1.0-alpha-0
+ 5.3.1
Microsoft ASP.NET Web API Help Page
Microsoft
Microsoft
http://www.asp.net/web-api
- true
- http://www.microsoft.com/web/webpi/eula/mvc4extensions_prerelease_eula.htm
The ASP.NET Web API Help Page automatically generates help page content for the web APIs on your site. Visitors to your help page can use this content to learn how to call your web APIs. Everything generated by the help page is fully customizable using ASP.NET MVC and Razor. ASP.NET Web API Help Page is a great addition to any ASP.NET Web API project.
The ASP.NET Web API Help Page automatically generates help page content for the web APIs on your site.
-
-
-
+
+
+
en-US
- Microsoft AspNet WebApi AspNetWebApi HelpPage
+ Microsoft AspNet WebApi AspNetWebApi HelpPage
diff --git a/src/WebApiHelpPage/packages.config b/src/WebApiHelpPage/packages.config
index 96befa888..9e4c69487 100644
--- a/src/WebApiHelpPage/packages.config
+++ b/src/WebApiHelpPage/packages.config
@@ -1,5 +1,5 @@
-
+
\ No newline at end of file
diff --git a/test/Common/UriQueryUtilityTest.cs b/test/Common/UriQueryUtilityTest.cs
index 4b325abbd..ac0307cae 100644
--- a/test/Common/UriQueryUtilityTest.cs
+++ b/test/Common/UriQueryUtilityTest.cs
@@ -10,7 +10,7 @@
namespace System.Net.Http
{
- public class UriQueryUtilityTest
+ public class WebUtilityTest
{
public static TheoryDataSet UriQueryData
{
@@ -23,19 +23,20 @@ public static TheoryDataSet UriQueryData
[Fact]
public void TypeIsCorrect()
{
- Assert.Type.HasProperties(typeof(UriQueryUtility), TypeAssert.TypeProperties.IsClass | TypeAssert.TypeProperties.IsStatic);
+ Assert.Type.HasProperties(typeof(WebUtility),
+ TypeAssert.TypeProperties.IsStatic | TypeAssert.TypeProperties.IsPublicVisibleClass);
}
[Fact]
public void UrlEncode_ReturnsNull()
{
- Assert.Null(UriQueryUtility.UrlEncode(null));
+ Assert.Null(WebUtility.UrlEncode(null));
}
[Fact]
public void UrlDecode_ReturnsNull()
{
- Assert.Null(UriQueryUtility.UrlDecode(null));
+ Assert.Null(WebUtility.UrlDecode(null));
}
[Fact]
diff --git a/test/Directory.Build.props b/test/Directory.Build.props
index 8dc298fd2..c55ba298d 100644
--- a/test/Directory.Build.props
+++ b/test/Directory.Build.props
@@ -4,6 +4,9 @@
false
true
- v4.5.2
+ v4.6.2
diff --git a/test/Directory.Build.targets b/test/Directory.Build.targets
index 72087f737..99772c023 100644
--- a/test/Directory.Build.targets
+++ b/test/Directory.Build.targets
@@ -1,6 +1,7 @@
-
+
diff --git a/test/Microsoft.AspNet.Facebook.Test/App.config b/test/Microsoft.AspNet.Facebook.Test/App.config
index eef865c03..5fd3a3014 100644
--- a/test/Microsoft.AspNet.Facebook.Test/App.config
+++ b/test/Microsoft.AspNet.Facebook.Test/App.config
@@ -1,13 +1,5 @@
-
-
-
-
-
-
-
-
@@ -16,4 +8,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/Microsoft.AspNet.Facebook.Test/Microsoft.AspNet.Facebook.Test.csproj b/test/Microsoft.AspNet.Facebook.Test/Microsoft.AspNet.Facebook.Test.csproj
index 9bb06e0b4..63480c922 100644
--- a/test/Microsoft.AspNet.Facebook.Test/Microsoft.AspNet.Facebook.Test.csproj
+++ b/test/Microsoft.AspNet.Facebook.Test/Microsoft.AspNet.Facebook.Test.csproj
@@ -1,7 +1,7 @@
-
-
+
+
{C3BEF382-C7C4-454D-B017-1EAC03E9A82C}
@@ -14,41 +14,50 @@
-
- ..\..\packages\Castle.Core.4.2.1\lib\net45\Castle.Core.dll
+
+ ..\..\packages\Castle.Core.5.2.1\lib\net462\Castle.Core.dll
True
-
- ..\..\packages\Facebook.6.4.2\lib\net45\Facebook.dll
+
+ ..\..\packages\Facebook.6.8.0\lib\net45\Facebook.dll
+ True
-
- ..\..\packages\Moq.4.7.142\lib\net45\Moq.dll
+
+ ..\..\packages\Moq.4.21.0\lib\net462\Moq.dll
True
-
- ..\..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
+
+ ..\..\packages\Newtonsoft.Json.13.0.4\lib\net45\Newtonsoft.Json.dll
True
+
+ ..\..\packages\System.Runtime.CompilerServices.Unsafe.6.1.2\lib\net462\System.Runtime.CompilerServices.Unsafe.dll
+ True
+
+
+ ..\..\packages\System.Threading.Tasks.Extensions.4.6.3\lib\net462\System.Threading.Tasks.Extensions.dll
+ True
+
- ..\..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll
+ ..\..\packages\xunit.abstractions.2.0.3\lib\net35\xunit.abstractions.dll
True
-
- ..\..\packages\xunit.assert.2.3.0\lib\netstandard1.1\xunit.assert.dll
+
+ ..\..\packages\xunit.assert.2.9.3\lib\netstandard1.1\xunit.assert.dll
True
-
- ..\..\packages\xunit.extensibility.core.2.3.0\lib\netstandard1.1\xunit.core.dll
+
+ ..\..\packages\xunit.extensibility.core.2.9.3\lib\net452\xunit.core.dll
True
-
- ..\..\packages\xunit.extensibility.execution.2.3.0\lib\net452\xunit.execution.desktop.dll
+
+ ..\..\packages\xunit.extensibility.execution.2.9.3\lib\net452\xunit.execution.desktop.dll
True
@@ -129,23 +138,23 @@
-
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
+
+
+
-
-
+
\ No newline at end of file
diff --git a/test/Microsoft.AspNet.Facebook.Test/packages.config b/test/Microsoft.AspNet.Facebook.Test/packages.config
index 92ea6b4cd..fdf33da32 100644
--- a/test/Microsoft.AspNet.Facebook.Test/packages.config
+++ b/test/Microsoft.AspNet.Facebook.Test/packages.config
@@ -1,15 +1,17 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/Microsoft.TestCommon/AppDomainUtils.cs b/test/Microsoft.TestCommon/AppDomainUtils.cs
index 58d7befb8..391f45b35 100644
--- a/test/Microsoft.TestCommon/AppDomainUtils.cs
+++ b/test/Microsoft.TestCommon/AppDomainUtils.cs
@@ -14,7 +14,10 @@ public static class AppDomainUtils
// other tests will not be affected.
public static void RunInSeparateAppDomain(Action action)
{
- RunInSeparateAppDomain(new AppDomainSetup(), action);
+ RunInSeparateAppDomain(new AppDomainSetup
+ {
+ ConfigurationFile = AppDomain.CurrentDomain.SetupInformation.ConfigurationFile
+ }, action);
}
public static void RunInSeparateAppDomain(AppDomainSetup setup, Action action)
diff --git a/test/Microsoft.TestCommon/Directory.Build.props b/test/Microsoft.TestCommon/Directory.Build.props
new file mode 100644
index 000000000..1c94e6e8e
--- /dev/null
+++ b/test/Microsoft.TestCommon/Directory.Build.props
@@ -0,0 +1,9 @@
+
+
+
+
+
+ obj\ns1_3\
+ $(DefaultItemExcludes);obj\**
+
+
diff --git a/test/Microsoft.TestCommon/ExceptionAssertions.cs b/test/Microsoft.TestCommon/ExceptionAssertions.cs
index 1d21f04f0..39b6df95e 100644
--- a/test/Microsoft.TestCommon/ExceptionAssertions.cs
+++ b/test/Microsoft.TestCommon/ExceptionAssertions.cs
@@ -6,6 +6,9 @@
using System.Reflection;
using System.Threading.Tasks;
using System.Web;
+#if Testing_NetStandard1_3
+using System.Web.Http;
+#endif
namespace Microsoft.TestCommon
{
@@ -294,7 +297,7 @@ public static async Task ThrowsArgumentNullAsync(FuncThrown when an exception was not thrown, or when an exception of the incorrect type is thrown
public static ArgumentException ThrowsArgumentNullOrEmpty(Action testCode, string paramName)
{
- return Throws(testCode, "Value cannot be null or empty.\r\nParameter name: " + paramName, allowDerivedExceptions: false);
+ return Throws(testCode, "Value cannot be null or empty." + GetParameterMessage(paramName), allowDerivedExceptions: false);
}
///
@@ -324,7 +327,7 @@ public static ArgumentOutOfRangeException ThrowsArgumentOutOfRange(Action testCo
{
if (exceptionMessage != null)
{
- exceptionMessage = exceptionMessage + "\r\nParameter name: " + paramName;
+ exceptionMessage = exceptionMessage + GetParameterMessage(paramName);
if (actualValue != null)
{
exceptionMessage += String.Format(CultureReplacer.DefaultCulture, "\r\nActual value was {0}.", actualValue);
@@ -357,7 +360,7 @@ public static async Task ThrowsArgumentOutOfRangeAs
{
if (exceptionMessage != null)
{
- exceptionMessage = exceptionMessage + "\r\nParameter name: " + paramName;
+ exceptionMessage = exceptionMessage + GetParameterMessage(paramName);
if (actualValue != null)
{
exceptionMessage += String.Format(CultureReplacer.DefaultCulture, "\r\nActual value was {0}.", actualValue);
@@ -466,6 +469,7 @@ public static ArgumentOutOfRangeException ThrowsArgumentLessThanOrEqualTo(Action
String.Format(CultureReplacer.DefaultCulture, "Value must be less than or equal to {0}.", maxValue), false, actualValue);
}
+#if !NETCOREAPP
///
/// Verifies that the code throws an HttpException (or optionally any exception which derives from it).
///
@@ -481,6 +485,7 @@ public static HttpException ThrowsHttpException(Action testCode, string exceptio
Equal(httpCode, ex.GetHttpCode());
return ex;
}
+#endif
///
/// Verifies that the code throws an InvalidEnumArgumentException (or optionally any exception which derives from it).
@@ -492,12 +497,17 @@ public static HttpException ThrowsHttpException(Action testCode, string exceptio
/// Pass true to allow exceptions which derive from TException; pass false, otherwise
/// The exception that was thrown, when successful
/// Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown
- public static InvalidEnumArgumentException ThrowsInvalidEnumArgument(Action testCode, string paramName, int invalidValue, Type enumType, bool allowDerivedExceptions = false)
+ public static ArgumentException ThrowsInvalidEnumArgument(Action testCode, string paramName, int invalidValue, Type enumType, bool allowDerivedExceptions = false)
{
string message = String.Format(CultureReplacer.DefaultCulture,
- "The value of argument '{0}' ({1}) is invalid for Enum type '{2}'.{3}Parameter name: {0}",
- paramName, invalidValue, enumType.Name, Environment.NewLine);
+ "The value of argument '{0}' ({1}) is invalid for Enum type '{2}'.{3}",
+ paramName, invalidValue, enumType.Name, GetParameterMessage(paramName));
+
+#if Testing_NetStandard1_3 // InvalidEnumArgumentException not available in netstandard1.3.
+ return Throws(testCode, message, allowDerivedExceptions);
+#else
return Throws(testCode, message, allowDerivedExceptions);
+#endif
}
///
@@ -571,6 +581,15 @@ public static async Task ThrowsAsync(
return ex;
}
+ private static string GetParameterMessage(string parameterName)
+ {
+#if NETCOREAPP3_1_OR_GREATER
+ return " (Parameter '" + parameterName + "')";
+#else
+ return Environment.NewLine + "Parameter name: " + parameterName;
+#endif
+ }
+
// We've re-implemented all the xUnit.net Throws code so that we can get this
// updated implementation of RecordException which silently unwraps any instances
// of AggregateException. In addition to unwrapping exceptions, this method ensures
@@ -633,17 +652,26 @@ private static void VerifyExceptionMessage(Exception exception, string expectedM
// Custom ThrowsException so we can filter the stack trace.
[Serializable]
- private class ThrowsException : Xunit.Sdk.ThrowsException
+ private class ThrowsException : Xunit.Sdk.XunitException
{
- public ThrowsException(Type type) : base(type) { }
+ private readonly string _stackTrace;
- public ThrowsException(Type type, Exception ex) : base(type, ex) { }
+ public ThrowsException(Type type)
+ : base(Xunit.Sdk.ThrowsException.ForNoException(type).Message)
+ {
+ }
+
+ public ThrowsException(Type type, Exception ex)
+ : base(Xunit.Sdk.ThrowsException.ForIncorrectExceptionType(type, ex).Message, ex)
+ {
+ _stackTrace = ex.StackTrace;
+ }
public override string StackTrace
{
get
{
- return ExceptionUtility.FilterStackTrace(base.StackTrace);
+ return ExceptionUtility.FilterStackTrace(_stackTrace ?? base.StackTrace);
}
}
}
diff --git a/test/Microsoft.TestCommon/FactDiscoverer.cs b/test/Microsoft.TestCommon/FactDiscoverer.cs
index db913e188..4be650293 100644
--- a/test/Microsoft.TestCommon/FactDiscoverer.cs
+++ b/test/Microsoft.TestCommon/FactDiscoverer.cs
@@ -76,6 +76,7 @@ public override IEnumerable Discover(
var testCase = new SkippedXunitTestCase(
_diagnosticMessageSink,
discoveryOptions.MethodDisplayOrDefault(),
+ TestMethodDisplayOptions.None,
skipReason,
baseCase.TestMethod,
baseCase.TestMethodArguments);
diff --git a/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj b/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj
index 73887c60e..8ac17597f 100644
--- a/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj
+++ b/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj
@@ -1,128 +1,39 @@
-
-
+
- {FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}
- Library
- Properties
- Microsoft.TestCommon
- Microsoft.TestCommon
- false
+ net462;netcoreapp2.1;net8.0
+ $(Configurations);CodeAnalysis
+ $(DefineConstants);Testing_NetStandard1_3
+ false
..\..\bin\$(Configuration)\Test\
- false
- false
- true
- false
+ $(OutputPath)ns1_3\
+
-
-
-
-
-
-
-
-
-
-
- ..\..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll
- True
-
-
- ..\..\packages\xunit.assert.2.3.0\lib\netstandard1.1\xunit.assert.dll
- True
-
-
- ..\..\packages\xunit.extensibility.core.2.3.0\lib\netstandard1.1\xunit.core.dll
- True
-
-
- ..\..\packages\xunit.extensibility.execution.2.3.0\lib\net452\xunit.execution.desktop.dll
- True
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Code
-
-
-
-
-
-
-
- Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PreserveNewest
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
diff --git a/test/Microsoft.TestCommon/PlatformInfo.cs b/test/Microsoft.TestCommon/PlatformInfo.cs
index 678ecff08..e3026e39e 100644
--- a/test/Microsoft.TestCommon/PlatformInfo.cs
+++ b/test/Microsoft.TestCommon/PlatformInfo.cs
@@ -26,7 +26,7 @@ private static Platform GetPlatform()
{
if (Type.GetType(_netCore20TypeName, throwOnError: false) != null)
{
- // Treat .NET Core 2.0 as a .NET 4.5 superset though internal types are different.
+ // Treat .NET Core 2.1 as a .NET 4.5 superset though internal types are different.
return Platform.Net45;
}
diff --git a/test/Microsoft.TestCommon/PortReserver.cs b/test/Microsoft.TestCommon/PortReserver.cs
index f085399af..f71a51e6c 100644
--- a/test/Microsoft.TestCommon/PortReserver.cs
+++ b/test/Microsoft.TestCommon/PortReserver.cs
@@ -12,6 +12,11 @@
namespace Microsoft.TestCommon
{
+ [Xunit.CollectionDefinition("PortReserver Collection", DisableParallelization = true)]
+ public class PortReserverCollection
+ {
+ }
+
///
/// This class allocates ports while ensuring that:
/// 1. Ports that are permanently taken (or taken for the duration of the test) are not being attempted to be used.
@@ -36,7 +41,7 @@ public int PortNumber
private set;
}
- public PortReserver(int basePort = 50231)
+ public PortReserver(int basePort = 60231)
{
if (basePort <= 0)
{
diff --git a/test/Microsoft.TestCommon/SkippedXunitTestCase.cs b/test/Microsoft.TestCommon/SkippedXunitTestCase.cs
index e055b1e67..b5d536d3a 100644
--- a/test/Microsoft.TestCommon/SkippedXunitTestCase.cs
+++ b/test/Microsoft.TestCommon/SkippedXunitTestCase.cs
@@ -29,10 +29,11 @@ public class SkippedXunitTestCase : XunitTestCase
public SkippedXunitTestCase(
IMessageSink diagnosticMessageSink,
TestMethodDisplay defaultMethodDisplay,
+ TestMethodDisplayOptions defaultMethodDisplayOptions,
String skipReason,
ITestMethod testMethod,
object[] testMethodArguments = null)
- : base(diagnosticMessageSink, defaultMethodDisplay, testMethod, testMethodArguments)
+ : base(diagnosticMessageSink, defaultMethodDisplay, defaultMethodDisplayOptions, testMethod, testMethodArguments)
{
_skipReason = skipReason;
}
diff --git a/test/Microsoft.TestCommon/TheoryDiscoverer.cs b/test/Microsoft.TestCommon/TheoryDiscoverer.cs
index 8ca4c834e..cf62536fe 100644
--- a/test/Microsoft.TestCommon/TheoryDiscoverer.cs
+++ b/test/Microsoft.TestCommon/TheoryDiscoverer.cs
@@ -77,6 +77,7 @@ public override IEnumerable Discover(
var testCase = new SkippedXunitTestCase(
_diagnosticMessageSink,
discoveryOptions.MethodDisplayOrDefault(),
+ TestMethodDisplayOptions.None,
skipReason,
baseCase.TestMethod,
baseCase.TestMethodArguments);
diff --git a/test/Microsoft.TestCommon/packages.config b/test/Microsoft.TestCommon/packages.config
deleted file mode 100644
index d6bfcf037..000000000
--- a/test/Microsoft.TestCommon/packages.config
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/test/Microsoft.Web.Helpers.Test/Microsoft.Web.Helpers.Test.csproj b/test/Microsoft.Web.Helpers.Test/Microsoft.Web.Helpers.Test.csproj
index ca98914c7..b1b8a1b3e 100644
--- a/test/Microsoft.Web.Helpers.Test/Microsoft.Web.Helpers.Test.csproj
+++ b/test/Microsoft.Web.Helpers.Test/Microsoft.Web.Helpers.Test.csproj
@@ -1,7 +1,7 @@
-
-
+
+
{2C653A66-8159-4A41-954F-A67915DFDA87}
@@ -14,31 +14,40 @@
-
- ..\..\packages\Castle.Core.4.2.1\lib\net45\Castle.Core.dll
+
+ ..\..\packages\Castle.Core.5.2.1\lib\net462\Castle.Core.dll
+ True
-
- ..\..\packages\Moq.4.7.142\lib\net45\Moq.dll
+
+ ..\..\packages\Moq.4.21.0\lib\net462\Moq.dll
True
+
+ ..\..\packages\System.Runtime.CompilerServices.Unsafe.6.1.2\lib\net462\System.Runtime.CompilerServices.Unsafe.dll
+ True
+
+
+ ..\..\packages\System.Threading.Tasks.Extensions.4.6.3\lib\net462\System.Threading.Tasks.Extensions.dll
+ True
+
- ..\..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll
+ ..\..\packages\xunit.abstractions.2.0.3\lib\net35\xunit.abstractions.dll
True
-
- ..\..\packages\xunit.assert.2.3.0\lib\netstandard1.1\xunit.assert.dll
+
+ ..\..\packages\xunit.assert.2.9.3\lib\netstandard1.1\xunit.assert.dll
True
-
- ..\..\packages\xunit.extensibility.core.2.3.0\lib\netstandard1.1\xunit.core.dll
+
+ ..\..\packages\xunit.extensibility.core.2.9.3\lib\net452\xunit.core.dll
True
-
- ..\..\packages\xunit.extensibility.execution.2.3.0\lib\net452\xunit.execution.desktop.dll
+
+ ..\..\packages\xunit.extensibility.execution.2.9.3\lib\net452\xunit.execution.desktop.dll
True
@@ -93,16 +102,16 @@
-
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
+
+
+
-
+
\ No newline at end of file
diff --git a/test/Microsoft.Web.Helpers.Test/packages.config b/test/Microsoft.Web.Helpers.Test/packages.config
index b06fb5e7a..842db1984 100644
--- a/test/Microsoft.Web.Helpers.Test/packages.config
+++ b/test/Microsoft.Web.Helpers.Test/packages.config
@@ -1,13 +1,15 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/Microsoft.Web.Mvc.Test/Microsoft.Web.Mvc.Test.csproj b/test/Microsoft.Web.Mvc.Test/Microsoft.Web.Mvc.Test.csproj
index a02c92522..81408d1f1 100644
--- a/test/Microsoft.Web.Mvc.Test/Microsoft.Web.Mvc.Test.csproj
+++ b/test/Microsoft.Web.Mvc.Test/Microsoft.Web.Mvc.Test.csproj
@@ -1,7 +1,7 @@
-
-
+
+
{6C28DA70-60F1-4442-967F-591BF3962EC5}
@@ -16,40 +16,49 @@
-
- ..\..\packages\Castle.Core.4.2.1\lib\net45\Castle.Core.dll
+
+ ..\..\packages\Castle.Core.5.2.1\lib\net462\Castle.Core.dll
True
-
- ..\..\packages\Moq.4.7.142\lib\net45\Moq.dll
+
+ ..\..\packages\Moq.4.21.0\lib\net462\Moq.dll
True
-
- ..\..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
+
+ ..\..\packages\Newtonsoft.Json.13.0.4\lib\net45\Newtonsoft.Json.dll
+ True
+
+ ..\..\packages\System.Runtime.CompilerServices.Unsafe.6.1.2\lib\net462\System.Runtime.CompilerServices.Unsafe.dll
+ True
+
+
+ ..\..\packages\System.Threading.Tasks.Extensions.4.6.3\lib\net462\System.Threading.Tasks.Extensions.dll
+ True
+
- ..\..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll
+ ..\..\packages\xunit.abstractions.2.0.3\lib\net35\xunit.abstractions.dll
True
-
- ..\..\packages\xunit.assert.2.3.0\lib\netstandard1.1\xunit.assert.dll
+
+ ..\..\packages\xunit.assert.2.9.3\lib\netstandard1.1\xunit.assert.dll
True
-
- ..\..\packages\xunit.extensibility.core.2.3.0\lib\netstandard1.1\xunit.core.dll
+
+ ..\..\packages\xunit.extensibility.core.2.9.3\lib\net452\xunit.core.dll
True
-
- ..\..\packages\xunit.extensibility.execution.2.3.0\lib\net452\xunit.execution.desktop.dll
+
+ ..\..\packages\xunit.extensibility.execution.2.9.3\lib\net452\xunit.execution.desktop.dll
True
@@ -153,23 +162,22 @@