5 writes to RuntimeIdentifier
dotnet (1)
ToolPackage\ToolPackageDownloader.cs (1)
201
RuntimeIdentifier
= RuntimeInformation.RuntimeIdentifier
NuGet.Commands (2)
RestoreCommand\LockFileBuilder.cs (2)
171
RuntimeIdentifier
= targetGraph.RuntimeIdentifier,
178
RuntimeIdentifier
= targetGraph.RuntimeIdentifier,
NuGet.ProjectModel (2)
LockFile\Utf8JsonStreamLockFileTargetConverter.cs (1)
33
lockFileTarget.
RuntimeIdentifier
= runTimeFramework;
LockFile\Utf8JsonStreamLockFileTargetConverterV4.cs (1)
33
RuntimeIdentifier
= runTimeFramework,
31 references to RuntimeIdentifier
dotnet (2)
CommandFactory\CommandResolution\LockFileTargetExtensions.cs (1)
15
return string.IsNullOrEmpty(lockFileTarget.
RuntimeIdentifier
) &&
ToolPackage\ToolPackageInstance.cs (1)
247
?.Targets?.SingleOrDefault(t => t.
RuntimeIdentifier
!= null)
Microsoft.NET.Build.Tasks (9)
DependencyContextBuilder.cs (1)
91
_runtimeIdentifier = projectContext.LockFileTarget.
RuntimeIdentifier
;
LockFileExtensions.cs (1)
87
bool isFrameworkDependent = IsFrameworkDependent(runtimeFrameworks, isSelfContained, lockFileTarget.
RuntimeIdentifier
, platformLibrary != null);
ProjectContext.cs (2)
47
public bool IsPortable => IsFrameworkDependent && string.IsNullOrEmpty(_lockFileTarget.
RuntimeIdentifier
);
75
if (string.IsNullOrEmpty(lockFileTarget.
RuntimeIdentifier
))
ResolvePackageAssets.cs (2)
1902
if ((!_task.IsSelfContained || string.IsNullOrEmpty(_runtimeTarget.
RuntimeIdentifier
)) &&
2035
throw new BuildErrorException(Strings.CannotFindApphostForRid, runtimeTarget.
RuntimeIdentifier
);
ResolvePackageDependencies.cs (3)
149
if (string.IsNullOrEmpty(t.
RuntimeIdentifier
))
155
return alias + "/" + t.
RuntimeIdentifier
;
283
item.SetMetadata(MetadataKeys.RuntimeIdentifier, target.
RuntimeIdentifier
?? string.Empty);
NuGet.CommandLine.XPlat (5)
Commands\Why\DependencyGraphFinder.cs (2)
64
string displayName = string.IsNullOrEmpty(target.
RuntimeIdentifier
)
66
: $"{targetAlias}/{target.
RuntimeIdentifier
}";
Utility\MSBuildAPIUtility.cs (3)
775
target.
RuntimeIdentifier
!= null && target.
RuntimeIdentifier
.Equals(splitFrameworkAndRID[1], StringComparison.OrdinalIgnoreCase)));
783
requestedTargets = requestedTargets.Where(target => target.
RuntimeIdentifier
== null).ToList();
NuGet.Commands (4)
PackagesLockFileBuilder.cs (2)
31
RuntimeIdentifier = target.
RuntimeIdentifier
,
39
if (!string.IsNullOrEmpty(target.
RuntimeIdentifier
))
RestoreCommand\CompatibilityChecker.cs (1)
377
if (Equals(target.TargetFramework, graph.Framework) && (target.TargetAlias == null || Equals(target.TargetAlias, graph.TargetAlias)) && string.Equals(target.
RuntimeIdentifier
, graph.RuntimeIdentifier, StringComparison.Ordinal))
RestoreCommand\Utility\BuildAssetsUtils.cs (1)
486
if (!string.IsNullOrEmpty(target.
RuntimeIdentifier
))
NuGet.ProjectModel (11)
LockFile\LockFile.cs (4)
37
((string.IsNullOrEmpty(runtimeIdentifier) && string.IsNullOrEmpty(t.
RuntimeIdentifier
) ||
38
string.Equals(runtimeIdentifier, t.
RuntimeIdentifier
, StringComparison.OrdinalIgnoreCase))));
45
(string.IsNullOrEmpty(runtimeIdentifier) && string.IsNullOrEmpty(t.
RuntimeIdentifier
) ||
46
string.Equals(runtimeIdentifier, t.
RuntimeIdentifier
, StringComparison.OrdinalIgnoreCase)));
LockFile\LockFileExtensions.cs (2)
36
return assetsFile.Targets.Where(target => message.TargetGraphs.Contains(target.TargetAlias + (string.IsNullOrEmpty(target.
RuntimeIdentifier
) ? "" : "/" + target.
RuntimeIdentifier
), StringComparer.OrdinalIgnoreCase));
LockFile\LockFileTarget.cs (5)
26
_name ??= TargetFramework + (string.IsNullOrEmpty(
RuntimeIdentifier
) ? "" : "/" +
RuntimeIdentifier
);
50
&& string.Equals(
RuntimeIdentifier
, other.
RuntimeIdentifier
, StringComparison.Ordinal)
70
combiner.AddObject(
RuntimeIdentifier
);