Exemplo n.º 1
0
        // TODO: Can we get rid of this? I think I'd prefer to set it on the tests
        // Unfortunately, it's used by the output tests which aren't using this as an attribute
        public PlatformID GetPlatformID()
        {
            var version = supportAsync ? new Version(4, 0) : new Version(3, 5);

            return(PlatformID.CreateFromName(FrameworkIdentifier.NetFramework,
                                             version, ProfileIdentifier.Default));
        }
 public PlatformID GetPlatformID()
 {
     return(PlatformID.CreateFromName(".NETFrameWork", new Version(4, 0)));
 }
Exemplo n.º 3
0
 public PlatformID GetPlatformID()
 {
     return(PlatformID.CreateFromName(FrameworkIdentifier.NetFramework, new System.Version(4, 5),
                                      ProfileIdentifier.Default));
 }