public void StandardNETFrameworkTest() { var t = new TargetFramework(".NETFramework,Version=v4.0"); Assert.AreEqual(new Version(4, 0), t.Net); Assert.IsNull(t.Silverlight); Assert.IsNull(t.WindowsPhone); }
public void PCL5Test() { var t = new TargetFramework(".NETPortable,Version=v4.0,Profile=Profile14"); Assert.AreEqual(new Version(4, 0), t.Net); Assert.AreEqual(new Version(5, 0), t.Silverlight); Assert.IsNull(t.WindowsPhone); }