diff --git a/Src/Newtonsoft.Json.Tests/Bson/BsonReaderTests.cs b/Src/Newtonsoft.Json.Tests/Bson/BsonReaderTests.cs
index bdda8102..cd7bfcee 100644
--- a/Src/Newtonsoft.Json.Tests/Bson/BsonReaderTests.cs
+++ b/Src/Newtonsoft.Json.Tests/Bson/BsonReaderTests.cs
@@ -55,6 +55,7 @@ namespace Newtonsoft.Json.Tests.Bson
{
private const char Euro = '\u20ac';
+#if !NETFX_CORE
[Test]
public void DeserializeLargeBsonObject()
{
@@ -67,6 +68,7 @@ namespace Newtonsoft.Json.Tests.Bson
Assert.AreEqual("1", (string)o["$id"]);
}
+#endif
[Test]
public void CloseInput()
diff --git a/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.WinRT.csproj b/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.WinRT.csproj
index 21a64178..5b53dd1b 100644
--- a/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.WinRT.csproj
+++ b/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.WinRT.csproj
@@ -371,6 +371,9 @@
+
+ PreserveNewest
+
diff --git a/Src/Newtonsoft.Json.Tests/Serialization/JsonSerializerTest.cs b/Src/Newtonsoft.Json.Tests/Serialization/JsonSerializerTest.cs
index 9ca9331a..4db0d7a2 100644
--- a/Src/Newtonsoft.Json.Tests/Serialization/JsonSerializerTest.cs
+++ b/Src/Newtonsoft.Json.Tests/Serialization/JsonSerializerTest.cs
@@ -7473,7 +7473,9 @@ To fix this error either change the environment to be fully trusted, change the
}
#endif
+#if !NETFX_CORE
[Serializable]
+#endif
[DataContract]
public struct Pair
{
diff --git a/Src/Newtonsoft.Json.Tests/TestFixtureBase.cs b/Src/Newtonsoft.Json.Tests/TestFixtureBase.cs
index b2971e58..2fa8666c 100644
--- a/Src/Newtonsoft.Json.Tests/TestFixtureBase.cs
+++ b/Src/Newtonsoft.Json.Tests/TestFixtureBase.cs
@@ -164,18 +164,23 @@ namespace Newtonsoft.Json.Tests
public static void Contains(IList collection, object value)
{
+ Contains(collection, value, null);
+ }
+
+ public static void Contains(IList collection, object value, string message)
+ {
#if !NETFX_CORE
- Assert.Contains(value, collection);
+ Assert.Contains(value, collection, message);
#else
if (!collection.Cast