29 references to Net
Microsoft.VisualStudio.TestPlatform.ObjectModel (29)
Nuget.Frameworks\DefaultFrameworkMappings.cs (10)
17new KeyValuePair<string, string>("NETFramework", FrameworkConstants.FrameworkIdentifiers.Net), 18new KeyValuePair<string, string>(".NET", FrameworkConstants.FrameworkIdentifiers.Net), 55new KeyValuePair<string, string>(FrameworkConstants.FrameworkIdentifiers.Net, "net"), 99new FrameworkSpecificMapping(FrameworkConstants.FrameworkIdentifiers.Net, "Client", "Client"), 100new FrameworkSpecificMapping(FrameworkConstants.FrameworkIdentifiers.Net, "CF", "CompactFramework"), 101new FrameworkSpecificMapping(FrameworkConstants.FrameworkIdentifiers.Net, "Full", string.Empty), 240new FrameworkSpecificMapping(FrameworkConstants.FrameworkIdentifiers.Net, "Client", string.Empty), 241new FrameworkSpecificMapping(FrameworkConstants.FrameworkIdentifiers.Net, "Full", string.Empty), 261FrameworkConstants.FrameworkIdentifiers.Net, 559FrameworkConstants.FrameworkIdentifiers.Net,
Nuget.Frameworks\FrameworkConstants.cs (15)
77public static readonly NuGetFramework Net11 = new(FrameworkIdentifiers.Net, new Version(1, 1, 0, 0)); 78public static readonly NuGetFramework Net2 = new(FrameworkIdentifiers.Net, new Version(2, 0, 0, 0)); 79public static readonly NuGetFramework Net35 = new(FrameworkIdentifiers.Net, new Version(3, 5, 0, 0)); 80public static readonly NuGetFramework Net4 = new(FrameworkIdentifiers.Net, new Version(4, 0, 0, 0)); 81public static readonly NuGetFramework Net403 = new(FrameworkIdentifiers.Net, new Version(4, 0, 3, 0)); 82public static readonly NuGetFramework Net45 = new(FrameworkIdentifiers.Net, new Version(4, 5, 0, 0)); 83public static readonly NuGetFramework Net451 = new(FrameworkIdentifiers.Net, new Version(4, 5, 1, 0)); 84public static readonly NuGetFramework Net452 = new(FrameworkIdentifiers.Net, new Version(4, 5, 2, 0)); 85public static readonly NuGetFramework Net46 = new(FrameworkIdentifiers.Net, new Version(4, 6, 0, 0)); 86public static readonly NuGetFramework Net461 = new(FrameworkIdentifiers.Net, new Version(4, 6, 1, 0)); 87public static readonly NuGetFramework Net462 = new(FrameworkIdentifiers.Net, new Version(4, 6, 2, 0)); 88public static readonly NuGetFramework Net463 = new(FrameworkIdentifiers.Net, new Version(4, 6, 3, 0)); 89public static readonly NuGetFramework Net47 = new(FrameworkIdentifiers.Net, new Version(4, 7, 0, 0)); 90public static readonly NuGetFramework Net471 = new(FrameworkIdentifiers.Net, new Version(4, 7, 1, 0)); 91public static readonly NuGetFramework Net472 = new(FrameworkIdentifiers.Net, new Version(4, 7, 2, 0));
Nuget.Frameworks\FrameworkReducer.cs (2)
533var consideringNet = consideringFrameworks.FirstOrDefault(f => StringComparer.OrdinalIgnoreCase.Equals(f.Framework, FrameworkConstants.FrameworkIdentifiers.Net)); 534var currentNet = currentFrameworks.FirstOrDefault(f => StringComparer.OrdinalIgnoreCase.Equals(f.Framework, FrameworkConstants.FrameworkIdentifiers.Net));
Nuget.Frameworks\NuGetFramework.cs (1)
190return IsNet5Era ? FrameworkConstants.FrameworkIdentifiers.Net : Framework;
Nuget.Frameworks\NuGetFrameworkFactory.cs (1)
293&& (StringComparer.OrdinalIgnoreCase.Equals(FrameworkConstants.FrameworkIdentifiers.Net, framework)