243 references to FrameworkIdentifiers
Microsoft.VisualStudio.TestPlatform.ObjectModel (243)
Nuget.Frameworks\CompatibilityProvider.cs (2)
185
if (candidate.Framework.Equals(FrameworkConstants.
FrameworkIdentifiers
.MonoAndroid, StringComparison.OrdinalIgnoreCase))
189
else if (candidate.Framework.Equals(FrameworkConstants.
FrameworkIdentifiers
.Tizen, StringComparison.OrdinalIgnoreCase))
Nuget.Frameworks\DefaultFrameworkMappings.cs (125)
17
new KeyValuePair<string, string>("NETFramework", FrameworkConstants.
FrameworkIdentifiers
.Net),
18
new KeyValuePair<string, string>(".NET", FrameworkConstants.
FrameworkIdentifiers
.Net),
21
new KeyValuePair<string, string>("NETCore", FrameworkConstants.
FrameworkIdentifiers
.NetCore),
24
new KeyValuePair<string, string>("NETPortable", FrameworkConstants.
FrameworkIdentifiers
.Portable),
27
new KeyValuePair<string, string>("asp.net", FrameworkConstants.
FrameworkIdentifiers
.AspNet),
28
new KeyValuePair<string, string>("asp.netcore", FrameworkConstants.
FrameworkIdentifiers
.AspNetCore),
31
new KeyValuePair<string, string>("Xamarin.PlayStationThree", FrameworkConstants.
FrameworkIdentifiers
.XamarinPlayStation3),
32
new KeyValuePair<string, string>("XamarinPlayStationThree", FrameworkConstants.
FrameworkIdentifiers
.XamarinPlayStation3),
33
new KeyValuePair<string, string>("Xamarin.PlayStationFour", FrameworkConstants.
FrameworkIdentifiers
.XamarinPlayStation4),
34
new KeyValuePair<string, string>("XamarinPlayStationFour", FrameworkConstants.
FrameworkIdentifiers
.XamarinPlayStation4),
35
new KeyValuePair<string, string>("XamarinPlayStationVita", FrameworkConstants.
FrameworkIdentifiers
.XamarinPlayStationVita)
51
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.NetCoreApp, "netcoreapp"),
52
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.NetStandardApp, "netstandardapp"),
53
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.NetStandard, "netstandard"),
54
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.NetPlatform, "dotnet"),
55
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.Net, "net"),
56
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.NetMicro, "netmf"),
57
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.Silverlight, "sl"),
58
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.Portable, "portable"),
59
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.WindowsPhone, "wp"),
60
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.WindowsPhoneApp, "wpa"),
61
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.Windows, "win"),
62
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.AspNet, "aspnet"),
63
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.AspNetCore, "aspnetcore"),
64
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.Native, "native"),
65
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.MonoAndroid, "monoandroid"),
66
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.MonoTouch, "monotouch"),
67
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.MonoMac, "monomac"),
68
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.XamarinIOs, "xamarinios"),
69
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.XamarinMac, "xamarinmac"),
70
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.XamarinPlayStation3, "xamarinpsthree"),
71
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.XamarinPlayStation4, "xamarinpsfour"),
72
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.XamarinPlayStationVita, "xamarinpsvita"),
73
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.XamarinWatchOS, "xamarinwatchos"),
74
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.XamarinTVOS, "xamarintvos"),
75
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.XamarinXbox360, "xamarinxboxthreesixty"),
76
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.XamarinXboxOne, "xamarinxboxone"),
77
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.Dnx, "dnx"),
78
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.DnxCore, "dnxcore"),
79
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.NetCore, "netcore"),
80
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.WinRT, "winrt"), // legacy
81
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.UAP, "uap"),
82
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.Tizen, "tizen"),
83
new KeyValuePair<string, string>(FrameworkConstants.
FrameworkIdentifiers
.NanoFramework, "netnano")
99
new FrameworkSpecificMapping(FrameworkConstants.
FrameworkIdentifiers
.Net, "Client", "Client"),
100
new FrameworkSpecificMapping(FrameworkConstants.
FrameworkIdentifiers
.Net, "CF", "CompactFramework"),
101
new FrameworkSpecificMapping(FrameworkConstants.
FrameworkIdentifiers
.Net, "Full", string.Empty),
102
new FrameworkSpecificMapping(FrameworkConstants.
FrameworkIdentifiers
.Silverlight, "WP", "WindowsPhone"),
103
new FrameworkSpecificMapping(FrameworkConstants.
FrameworkIdentifiers
.Silverlight, "WP71", "WindowsPhone71")
121
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.UAP, FrameworkConstants.EmptyVersion),
126
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.Windows, FrameworkConstants.EmptyVersion),
132
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.NetCore, new Version(4, 5, 0, 0))),
136
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.NetCore, new Version(4, 5, 0, 0)),
137
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.WinRT, new Version(4, 5, 0, 0))),
141
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.NetCore, FrameworkConstants.EmptyVersion),
142
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.NetCore, new Version(4, 5, 0, 0))),
146
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.WinRT, FrameworkConstants.EmptyVersion),
147
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.WinRT, new Version(4, 5, 0, 0))),
152
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.NetCore, new Version(4, 5, 1, 0))),
156
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.WindowsPhone, FrameworkConstants.EmptyVersion),
162
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.Silverlight, new Version(3, 0, 0, 0), "WindowsPhone")),
166
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.WindowsPhone, new Version(7, 1, 0, 0)),
167
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.Silverlight, new Version(4, 0, 0, 0), "WindowsPhone71")),
172
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.Silverlight, new Version(8, 0, 0, 0), "WindowsPhone")),
177
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.Silverlight, new Version(8, 1, 0, 0), "WindowsPhone")),
181
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.WindowsPhoneApp, FrameworkConstants.EmptyVersion),
186
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.Tizen, FrameworkConstants.EmptyVersion),
240
new FrameworkSpecificMapping(FrameworkConstants.
FrameworkIdentifiers
.Net, "Client", string.Empty),
241
new FrameworkSpecificMapping(FrameworkConstants.
FrameworkIdentifiers
.Net, "Full", string.Empty),
242
new FrameworkSpecificMapping(FrameworkConstants.
FrameworkIdentifiers
.Silverlight, "WindowsPhone71", "WindowsPhone"),
243
new FrameworkSpecificMapping(FrameworkConstants.
FrameworkIdentifiers
.WindowsPhone, "WindowsPhone71", "WindowsPhone")
261
FrameworkConstants.
FrameworkIdentifiers
.Net,
262
FrameworkConstants.
FrameworkIdentifiers
.Dnx),
266
FrameworkConstants.
FrameworkIdentifiers
.NetPlatform,
267
FrameworkConstants.
FrameworkIdentifiers
.DnxCore),
271
FrameworkConstants.
FrameworkIdentifiers
.NetStandard,
272
FrameworkConstants.
FrameworkIdentifiers
.NetStandardApp)
290
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.UAP, FrameworkConstants.EmptyVersion),
291
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.UAP, FrameworkConstants.MaxVersion)),
293
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.Windows, FrameworkConstants.EmptyVersion),
294
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.Windows, new Version(8, 1, 0, 0)))),
298
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.UAP, FrameworkConstants.EmptyVersion),
299
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.UAP, FrameworkConstants.MaxVersion)),
301
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.WindowsPhoneApp, FrameworkConstants.EmptyVersion),
302
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.WindowsPhoneApp, new Version(8, 1, 0, 0)))),
306
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.UAP, FrameworkConstants.EmptyVersion),
307
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.UAP, FrameworkConstants.MaxVersion)),
309
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.NetCore, FrameworkConstants.Version5),
310
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.NetCore, FrameworkConstants.Version5))),
314
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.Windows, FrameworkConstants.EmptyVersion),
315
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.Windows, FrameworkConstants.MaxVersion)),
317
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.WinRT, FrameworkConstants.EmptyVersion),
318
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.WinRT, new Version(4, 5, 0, 0)))),
337
new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.UAP, new Version(10, 0, 15064, 0)),
369
FrameworkConstants.
FrameworkIdentifiers
.DnxCore,
375
FrameworkConstants.
FrameworkIdentifiers
.UAP,
441
FrameworkConstants.
FrameworkIdentifiers
.MonoAndroid,
446
FrameworkConstants.
FrameworkIdentifiers
.MonoMac,
451
FrameworkConstants.
FrameworkIdentifiers
.MonoTouch,
456
FrameworkConstants.
FrameworkIdentifiers
.XamarinIOs,
461
FrameworkConstants.
FrameworkIdentifiers
.XamarinMac,
466
FrameworkConstants.
FrameworkIdentifiers
.XamarinPlayStation3,
471
FrameworkConstants.
FrameworkIdentifiers
.XamarinPlayStation4,
476
FrameworkConstants.
FrameworkIdentifiers
.XamarinPlayStationVita,
481
FrameworkConstants.
FrameworkIdentifiers
.XamarinXbox360,
486
FrameworkConstants.
FrameworkIdentifiers
.XamarinXboxOne,
491
FrameworkConstants.
FrameworkIdentifiers
.XamarinTVOS,
496
FrameworkConstants.
FrameworkIdentifiers
.XamarinWatchOS,
559
FrameworkConstants.
FrameworkIdentifiers
.Net,
560
FrameworkConstants.
FrameworkIdentifiers
.NetCore,
561
FrameworkConstants.
FrameworkIdentifiers
.Windows,
562
FrameworkConstants.
FrameworkIdentifiers
.WindowsPhoneApp
578
FrameworkConstants.
FrameworkIdentifiers
.NetCoreApp,
579
FrameworkConstants.
FrameworkIdentifiers
.NetStandardApp,
580
FrameworkConstants.
FrameworkIdentifiers
.NetStandard,
581
FrameworkConstants.
FrameworkIdentifiers
.NetPlatform
597
FrameworkConstants.
FrameworkIdentifiers
.Windows,
598
FrameworkConstants.
FrameworkIdentifiers
.NetCore,
599
FrameworkConstants.
FrameworkIdentifiers
.WinRT,
601
FrameworkConstants.
FrameworkIdentifiers
.WindowsPhone,
602
FrameworkConstants.
FrameworkIdentifiers
.Silverlight,
604
FrameworkConstants.
FrameworkIdentifiers
.DnxCore,
605
FrameworkConstants.
FrameworkIdentifiers
.AspNetCore,
607
FrameworkConstants.
FrameworkIdentifiers
.Dnx,
608
FrameworkConstants.
FrameworkIdentifiers
.AspNet
Nuget.Frameworks\DefaultPortableFrameworkMappings.cs (6)
110
var monoandroid = new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.MonoAndroid, new Version(0, 0));
111
var monotouch = new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.MonoTouch, new Version(0, 0));
112
var xamarinIOs = new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.XamarinIOs, new Version(0, 0));
113
var xamarinMac = new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.XamarinMac, new Version(0, 0));
114
var xamarinTVOS = new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.XamarinTVOS, new Version(0, 0));
115
var xamarinWatchOS = new NuGetFramework(FrameworkConstants.
FrameworkIdentifiers
.XamarinWatchOS, new Version(0, 0));
Nuget.Frameworks\FrameworkConstants.cs (75)
18
new NuGetFramework(
FrameworkIdentifiers
.NetPlatform, FrameworkConstants.EmptyVersion),
19
new NuGetFramework(
FrameworkIdentifiers
.NetPlatform, FrameworkConstants.MaxVersion));
77
public static readonly NuGetFramework Net11 = new(
FrameworkIdentifiers
.Net, new Version(1, 1, 0, 0));
78
public static readonly NuGetFramework Net2 = new(
FrameworkIdentifiers
.Net, new Version(2, 0, 0, 0));
79
public static readonly NuGetFramework Net35 = new(
FrameworkIdentifiers
.Net, new Version(3, 5, 0, 0));
80
public static readonly NuGetFramework Net4 = new(
FrameworkIdentifiers
.Net, new Version(4, 0, 0, 0));
81
public static readonly NuGetFramework Net403 = new(
FrameworkIdentifiers
.Net, new Version(4, 0, 3, 0));
82
public static readonly NuGetFramework Net45 = new(
FrameworkIdentifiers
.Net, new Version(4, 5, 0, 0));
83
public static readonly NuGetFramework Net451 = new(
FrameworkIdentifiers
.Net, new Version(4, 5, 1, 0));
84
public static readonly NuGetFramework Net452 = new(
FrameworkIdentifiers
.Net, new Version(4, 5, 2, 0));
85
public static readonly NuGetFramework Net46 = new(
FrameworkIdentifiers
.Net, new Version(4, 6, 0, 0));
86
public static readonly NuGetFramework Net461 = new(
FrameworkIdentifiers
.Net, new Version(4, 6, 1, 0));
87
public static readonly NuGetFramework Net462 = new(
FrameworkIdentifiers
.Net, new Version(4, 6, 2, 0));
88
public static readonly NuGetFramework Net463 = new(
FrameworkIdentifiers
.Net, new Version(4, 6, 3, 0));
89
public static readonly NuGetFramework Net47 = new(
FrameworkIdentifiers
.Net, new Version(4, 7, 0, 0));
90
public static readonly NuGetFramework Net471 = new(
FrameworkIdentifiers
.Net, new Version(4, 7, 1, 0));
91
public static readonly NuGetFramework Net472 = new(
FrameworkIdentifiers
.Net, new Version(4, 7, 2, 0));
93
public static readonly NuGetFramework NetCore45 = new(
FrameworkIdentifiers
.NetCore, new Version(4, 5, 0, 0));
94
public static readonly NuGetFramework NetCore451 = new(
FrameworkIdentifiers
.NetCore, new Version(4, 5, 1, 0));
95
public static readonly NuGetFramework NetCore50 = new(
FrameworkIdentifiers
.NetCore, new Version(5, 0, 0, 0));
97
public static readonly NuGetFramework Win8 = new(
FrameworkIdentifiers
.Windows, new Version(8, 0, 0, 0));
98
public static readonly NuGetFramework Win81 = new(
FrameworkIdentifiers
.Windows, new Version(8, 1, 0, 0));
99
public static readonly NuGetFramework Win10 = new(
FrameworkIdentifiers
.Windows, new Version(10, 0, 0, 0));
101
public static readonly NuGetFramework SL4 = new(
FrameworkIdentifiers
.Silverlight, new Version(4, 0, 0, 0));
102
public static readonly NuGetFramework SL5 = new(
FrameworkIdentifiers
.Silverlight, new Version(5, 0, 0, 0));
104
public static readonly NuGetFramework WP7 = new(
FrameworkIdentifiers
.WindowsPhone, new Version(7, 0, 0, 0));
105
public static readonly NuGetFramework WP75 = new(
FrameworkIdentifiers
.WindowsPhone, new Version(7, 5, 0, 0));
106
public static readonly NuGetFramework WP8 = new(
FrameworkIdentifiers
.WindowsPhone, new Version(8, 0, 0, 0));
107
public static readonly NuGetFramework WP81 = new(
FrameworkIdentifiers
.WindowsPhone, new Version(8, 1, 0, 0));
108
public static readonly NuGetFramework WPA81 = new(
FrameworkIdentifiers
.WindowsPhoneApp, new Version(8, 1, 0, 0));
110
public static readonly NuGetFramework Tizen3 = new(
FrameworkIdentifiers
.Tizen, new Version(3, 0, 0, 0));
111
public static readonly NuGetFramework Tizen4 = new(
FrameworkIdentifiers
.Tizen, new Version(4, 0, 0, 0));
112
public static readonly NuGetFramework Tizen6 = new(
FrameworkIdentifiers
.Tizen, new Version(6, 0, 0, 0));
114
public static readonly NuGetFramework AspNet = new(
FrameworkIdentifiers
.AspNet, EmptyVersion);
115
public static readonly NuGetFramework AspNetCore = new(
FrameworkIdentifiers
.AspNetCore, EmptyVersion);
116
public static readonly NuGetFramework AspNet50 = new(
FrameworkIdentifiers
.AspNet, Version5);
117
public static readonly NuGetFramework AspNetCore50 = new(
FrameworkIdentifiers
.AspNetCore, Version5);
119
public static readonly NuGetFramework Dnx = new(
FrameworkIdentifiers
.Dnx, EmptyVersion);
120
public static readonly NuGetFramework Dnx45 = new(
FrameworkIdentifiers
.Dnx, new Version(4, 5, 0, 0));
121
public static readonly NuGetFramework Dnx451 = new(
FrameworkIdentifiers
.Dnx, new Version(4, 5, 1, 0));
122
public static readonly NuGetFramework Dnx452 = new(
FrameworkIdentifiers
.Dnx, new Version(4, 5, 2, 0));
123
public static readonly NuGetFramework DnxCore = new(
FrameworkIdentifiers
.DnxCore, EmptyVersion);
124
public static readonly NuGetFramework DnxCore50 = new(
FrameworkIdentifiers
.DnxCore, Version5);
127
= new(
FrameworkIdentifiers
.NetPlatform, EmptyVersion);
129
= new(
FrameworkIdentifiers
.NetPlatform, Version5);
131
= new(
FrameworkIdentifiers
.NetPlatform, new Version(5, 1, 0, 0));
133
= new(
FrameworkIdentifiers
.NetPlatform, new Version(5, 2, 0, 0));
135
= new(
FrameworkIdentifiers
.NetPlatform, new Version(5, 3, 0, 0));
137
= new(
FrameworkIdentifiers
.NetPlatform, new Version(5, 4, 0, 0));
139
= new(
FrameworkIdentifiers
.NetPlatform, new Version(5, 5, 0, 0));
141
= new(
FrameworkIdentifiers
.NetPlatform, new Version(5, 6, 0, 0));
144
= new(
FrameworkIdentifiers
.NetStandard, EmptyVersion);
146
= new(
FrameworkIdentifiers
.NetStandard, new Version(1, 0, 0, 0));
148
= new(
FrameworkIdentifiers
.NetStandard, new Version(1, 1, 0, 0));
150
= new(
FrameworkIdentifiers
.NetStandard, new Version(1, 2, 0, 0));
152
= new(
FrameworkIdentifiers
.NetStandard, new Version(1, 3, 0, 0));
154
= new(
FrameworkIdentifiers
.NetStandard, new Version(1, 4, 0, 0));
156
= new(
FrameworkIdentifiers
.NetStandard, new Version(1, 5, 0, 0));
158
= new(
FrameworkIdentifiers
.NetStandard, new Version(1, 6, 0, 0));
160
= new(
FrameworkIdentifiers
.NetStandard, new Version(1, 7, 0, 0));
162
= new(
FrameworkIdentifiers
.NetStandard, new Version(2, 0, 0, 0));
164
= new(
FrameworkIdentifiers
.NetStandard, new Version(2, 1, 0, 0));
167
= new(
FrameworkIdentifiers
.NetStandardApp, new Version(1, 5, 0, 0));
170
= new(
FrameworkIdentifiers
.UAP, Version10);
173
= new(
FrameworkIdentifiers
.NetCoreApp, new Version(1, 0, 0, 0));
175
= new(
FrameworkIdentifiers
.NetCoreApp, new Version(1, 1, 0, 0));
177
= new(
FrameworkIdentifiers
.NetCoreApp, new Version(2, 0, 0, 0));
179
= new(
FrameworkIdentifiers
.NetCoreApp, new Version(2, 1, 0, 0));
181
= new(
FrameworkIdentifiers
.NetCoreApp, new Version(2, 2, 0, 0));
183
= new(
FrameworkIdentifiers
.NetCoreApp, new Version(3, 0, 0, 0));
185
= new(
FrameworkIdentifiers
.NetCoreApp, new Version(3, 1, 0, 0));
188
public static readonly NuGetFramework Net50 = new(
FrameworkIdentifiers
.NetCoreApp, Version5);
189
public static readonly NuGetFramework Net60 = new(
FrameworkIdentifiers
.NetCoreApp, Version6);
190
public static readonly NuGetFramework Net70 = new(
FrameworkIdentifiers
.NetCoreApp, Version7);
192
public static readonly NuGetFramework Native = new(
FrameworkIdentifiers
.Native, new Version(0, 0, 0, 0));
Nuget.Frameworks\FrameworkNameProvider.cs (8)
22
FrameworkConstants.
FrameworkIdentifiers
.Windows,
23
FrameworkConstants.
FrameworkIdentifiers
.WindowsPhone,
24
FrameworkConstants.
FrameworkIdentifiers
.Silverlight
32
FrameworkConstants.
FrameworkIdentifiers
.NetCoreApp,
33
FrameworkConstants.
FrameworkIdentifiers
.NetStandard,
34
FrameworkConstants.
FrameworkIdentifiers
.NanoFramework
1080
if (StringComparer.OrdinalIgnoreCase.Equals(framework.Framework, FrameworkConstants.
FrameworkIdentifiers
.NetStandard))
1112
FrameworkConstants.
FrameworkIdentifiers
.Portable,
Nuget.Frameworks\FrameworkReducer.cs (8)
98
f.Framework.Equals(FrameworkConstants.
FrameworkIdentifiers
.MonoAndroid, StringComparison.OrdinalIgnoreCase)
99
|| f.Framework.Equals(FrameworkConstants.
FrameworkIdentifiers
.Tizen, StringComparison.OrdinalIgnoreCase)
190
return f.Framework.Equals(FrameworkConstants.
FrameworkIdentifiers
.MonoAndroid, StringComparison.OrdinalIgnoreCase)
191
|| f.Framework.Equals(FrameworkConstants.
FrameworkIdentifiers
.Tizen, StringComparison.OrdinalIgnoreCase);
199
return first.Framework.Equals(FrameworkConstants.
FrameworkIdentifiers
.MonoAndroid, StringComparison.OrdinalIgnoreCase)
200
|| first.Framework.Equals(FrameworkConstants.
FrameworkIdentifiers
.Tizen, StringComparison.OrdinalIgnoreCase);
533
var consideringNet = consideringFrameworks.FirstOrDefault(f => StringComparer.OrdinalIgnoreCase.Equals(f.Framework, FrameworkConstants.
FrameworkIdentifiers
.Net));
534
var currentNet = currentFrameworks.FirstOrDefault(f => StringComparer.OrdinalIgnoreCase.Equals(f.Framework, FrameworkConstants.
FrameworkIdentifiers
.Net));
Nuget.Frameworks\NuGetFramework.cs (10)
68
IsNet5Era = (_frameworkVersion.Major >= Version5 && StringComparer.OrdinalIgnoreCase.Equals(FrameworkConstants.
FrameworkIdentifiers
.NetCoreApp, _frameworkIdentifier));
190
return IsNet5Era ? FrameworkConstants.
FrameworkIdentifiers
.Net : Framework;
336
get { return StringComparer.OrdinalIgnoreCase.Equals(Framework, FrameworkConstants.
FrameworkIdentifiers
.Portable) && Version.Major < 5; }
490
FrameworkConstants.
FrameworkIdentifiers
.DnxCore,
491
FrameworkConstants.
FrameworkIdentifiers
.NetPlatform,
492
FrameworkConstants.
FrameworkIdentifiers
.NetStandard,
493
FrameworkConstants.
FrameworkIdentifiers
.NetStandardApp,
494
FrameworkConstants.
FrameworkIdentifiers
.NetCoreApp,
495
FrameworkConstants.
FrameworkIdentifiers
.UAP,
496
FrameworkConstants.
FrameworkIdentifiers
.Tizen,
Nuget.Frameworks\NuGetFrameworkFactory.cs (8)
97
if (StringComparer.OrdinalIgnoreCase.Equals(FrameworkConstants.
FrameworkIdentifiers
.Portable, targetFrameworkIdentifier))
113
StringComparer.OrdinalIgnoreCase.Equals(FrameworkConstants.
FrameworkIdentifiers
.NetCoreApp, targetFrameworkIdentifier);
162
&& StringComparer.OrdinalIgnoreCase.Equals(FrameworkConstants.
FrameworkIdentifiers
.NetCoreApp, framework))
207
if (StringComparer.OrdinalIgnoreCase.Equals(FrameworkConstants.
FrameworkIdentifiers
.Portable, framework)
293
&& (StringComparer.OrdinalIgnoreCase.Equals(FrameworkConstants.
FrameworkIdentifiers
.Net, framework)
294
|| StringComparer.OrdinalIgnoreCase.Equals(FrameworkConstants.
FrameworkIdentifiers
.NetCoreApp, framework)
299
framework = FrameworkConstants.
FrameworkIdentifiers
.NetCoreApp;
336
if (StringComparer.OrdinalIgnoreCase.Equals(FrameworkConstants.
FrameworkIdentifiers
.Portable, framework))
Nuget.Frameworks\NuGetFrameworkUtility.cs (1)
134
FrameworkConstants.
FrameworkIdentifiers
.NetCore));