1 write to Platform
NuGet.Frameworks (1)
NuGetFramework.cs (1)
69
Platform
= IsNet5Era ? platform : string.Empty;
23 references to Platform
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
TargetFrameworkResolver.cs (1)
60
SelectionCriteria criteria = _conventions.Criteria.ForFrameworkAndRuntime(frameworkWithoutPlatform, framework.
Platform
.ToLowerInvariant());
Microsoft.NET.Build.Tasks (2)
ProcessFrameworkReferences.cs (2)
616
if (!string.IsNullOrEmpty(knownFrameworkReferenceTargetFramework.
Platform
)
619
if (!knownFrameworkReferenceTargetFramework.
Platform
.Equals(TargetPlatformIdentifier, StringComparison.OrdinalIgnoreCase))
NuGet.CommandLine.XPlat (2)
_generated\5\PackageSearchJsonContext.NuGetFramework.g.cs (2)
100
Getter = static obj => ((global::NuGet.Frameworks.NuGetFramework)obj).
Platform
,
396
writer.WriteString(PropName_Platform, ((global::NuGet.Frameworks.NuGetFramework)value).
Platform
);
NuGet.Commands (3)
RestoreCommand\MonoAndroidDeprecation.cs (1)
42
&& framework.
Platform
.Equals("android", StringComparison.OrdinalIgnoreCase);
RestoreCommand\RestoreCommand.cs (1)
857
.Where(framework => !string.IsNullOrEmpty(framework.
Platform
) && (framework.PlatformVersion == FrameworkConstants.EmptyVersion));
Utility\MSBuildProjectFrameworkUtility.cs (1)
282
framework = new NuGetFramework(framework.Framework, framework.Version, framework.
Platform
, cppCliVersion);
NuGet.Frameworks (15)
comparers\NuGetFrameworkFullComparer.cs (2)
35
&& StringComparer.OrdinalIgnoreCase.Equals(x.
Platform
, y.
Platform
)
comparers\NuGetFrameworkSorter.cs (2)
87
result = StringComparer.OrdinalIgnoreCase.Compare(x.
Platform
, y.
Platform
);
CompatibilityProvider.cs (5)
187
result = result && StringComparer.OrdinalIgnoreCase.Equals(target.
Platform
, "android");
191
result = result && StringComparer.OrdinalIgnoreCase.Equals(target.
Platform
, "tizen");
216
&& StringComparer.OrdinalIgnoreCase.Equals(target.
Platform
, "windows")
226
&& StringComparer.OrdinalIgnoreCase.Equals(target.
Platform
, candidate.
Platform
)
NuGetFramework.cs (6)
25
: this(framework.Framework, framework.Version, framework.Profile, framework.
Platform
, framework.PlatformVersion)
98
get { return !string.IsNullOrEmpty(
Platform
); }
167
_targetPlatformMoniker = string.IsNullOrEmpty(
Platform
)
169
:
Platform
+ ",Version=" + GetDisplayVersion(PlatformVersion);
260
if (!string.IsNullOrEmpty(framework.
Platform
))
263
sb.Append(framework.
Platform
.ToLowerInvariant());