diff --git a/Build/build.ps1 b/Build/build.ps1 index f1a886bf..f16e67d1 100644 --- a/Build/build.ps1 +++ b/Build/build.ps1 @@ -218,6 +218,7 @@ function DnxBuild($build) exec { dnu restore "$workingSourceDir\Newtonsoft.Json\project.json" | Out-Default } exec { dnu build "$workingSourceDir\Newtonsoft.Json\project.json" --configuration Release | Out-Default } + exec { dnu build "$workingSourceDir\Newtonsoft.Json.Tests\project.json" --configuration Release | Out-Default } } function DnxTests($build) diff --git a/Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/DeserializeConstructorHandling.cs b/Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/DeserializeConstructorHandling.cs index 0dabecc5..8de0cd3f 100644 --- a/Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/DeserializeConstructorHandling.cs +++ b/Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/DeserializeConstructorHandling.cs @@ -71,7 +71,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Serializer } catch (Exception ex) { - Console.WriteLine(ex); + Console.WriteLine(ex.Message); // Value cannot be null. // Parameter name: website }