diff --git a/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.Silverlight.csproj b/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.Silverlight.csproj index d53fe24b..81b39043 100644 --- a/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.Silverlight.csproj +++ b/Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.Silverlight.csproj @@ -131,6 +131,7 @@ + diff --git a/Src/Newtonsoft.Json.Tests/SilverlightTests.cs b/Src/Newtonsoft.Json.Tests/SilverlightTests.cs new file mode 100644 index 00000000..edce32ee --- /dev/null +++ b/Src/Newtonsoft.Json.Tests/SilverlightTests.cs @@ -0,0 +1,20 @@ +using System; +using System.Reflection; +using NUnit.Framework; + +namespace Newtonsoft.Json.Tests +{ +#if SILVERLIGHT + [TestFixture] + public class SilverlightTests + { + [Test] + public void SystemVersion() + { + Assembly systemAssembly = typeof(Uri).Assembly; + StringAssert.Contains("=2.0.5.0,", systemAssembly.FullName, + "Check we're testing a Silverlight 2.0 assembly"); + } + } +#endif +} \ No newline at end of file