41 references to PropertyNames
Microsoft.DotNet.Build.Tasks.Packaging (6)
NuGetAssetResolver.cs (3)
87
if (criterium.Properties.ContainsKey(ManagedCodeConventions.
PropertyNames
.TargetFrameworkMoniker) &&
88
!criterium.Properties.ContainsKey(ManagedCodeConventions.
PropertyNames
.RuntimeIdentifier))
90
criterium.Properties.Add(ManagedCodeConventions.
PropertyNames
.RuntimeIdentifier, null);
ValidateFrameworkPackage.cs (1)
15
using PropertyNames = NuGet.Client.ManagedCodeConventions.
PropertyNames
;
ValidatePackage.cs (1)
15
using PropertyNames = NuGet.Client.ManagedCodeConventions.
PropertyNames
;
ValidationTask.cs (1)
15
using PropertyNames = NuGet.Client.ManagedCodeConventions.
PropertyNames
;
NuGet.Commands (12)
RestoreCommand\CompatibilityChecker.cs (2)
268
group.Properties.TryGetValue(ManagedCodeConventions.
PropertyNames
.RuntimeIdentifier, out var ridObj);
269
group.Properties.TryGetValue(ManagedCodeConventions.
PropertyNames
.TargetFrameworkMoniker, out var tfmObj);
RestoreCommand\ContentFiles\ContentFileUtils.cs (4)
40
var codeLanguage = (string)group.Properties[ManagedCodeConventions.
PropertyNames
.CodeLanguage];
59
(NuGetFramework)group.Properties[ManagedCodeConventions.
PropertyNames
.TargetFrameworkMoniker]);
90
var codeLanguage = group.Properties[ManagedCodeConventions.
PropertyNames
.CodeLanguage] as string;
258
CodeLanguage = ManagedCodeConventions.
PropertyNames
.AnyValue
RestoreCommand\Utility\LockFileUtils.cs (6)
689
ManagedCodeConventions.
PropertyNames
.TargetFrameworkMoniker, out object tfmObj))
699
if (item.Properties.TryGetValue(ManagedCodeConventions.
PropertyNames
.Locale, out locale))
701
newItem.Properties[ManagedCodeConventions.
PropertyNames
.Locale] = (string)locale;
926
ManagedCodeConventions.
PropertyNames
.TargetFrameworkMoniker,
959
ManagedCodeConventions.
PropertyNames
.RuntimeIdentifier);
983
var rid = (string)group.Properties[ManagedCodeConventions.
PropertyNames
.RuntimeIdentifier];
NuGet.Packaging (23)
ContentModel\ContentItemCollection.cs (1)
264
if (contentItem.TryGetValue(ManagedCodeConventions.
PropertyNames
.ManagedAssembly, out _))
ContentModel\ManagedCodeConventions.cs (22)
19
private static readonly ContentPropertyDefinition LocaleProperty = new ContentPropertyDefinition(
PropertyNames
.Locale,
23
PropertyNames
.AnyValue,
25
private static readonly ContentPropertyDefinition AssemblyProperty = new ContentPropertyDefinition(
PropertyNames
.ManagedAssembly,
28
private static readonly ContentPropertyDefinition MSBuildProperty = new ContentPropertyDefinition(
PropertyNames
.MSBuild,
31
private static readonly ContentPropertyDefinition SatelliteAssemblyProperty = new ContentPropertyDefinition(
PropertyNames
.SatelliteAssembly,
36
PropertyNames
.CodeLanguage,
47
{
PropertyNames
.TargetFrameworkMoniker, AnyFramework.Instance },
48
{
PropertyNames
.TargetFrameworkMoniker + "_raw", "any" }
54
PropertyNames
.TargetFrameworkMoniker,
62
PropertyNames
.TargetFrameworkMoniker,
89
props[
PropertyNames
.RuntimeIdentifier] = new ContentPropertyDefinition(
90
PropertyNames
.RuntimeIdentifier,
94
props[
PropertyNames
.TargetFrameworkMoniker] = new ContentPropertyDefinition(
95
PropertyNames
.TargetFrameworkMoniker,
135
if (table.TryLookup(
PropertyNames
.CodeLanguage, name, out val))
168
if (table.TryLookup(
PropertyNames
.Locale, name, out val))
220
if (table.TryLookup(
PropertyNames
.TargetFrameworkMoniker, name, out var obj))
389
.Add[
PropertyNames
.TargetFrameworkMoniker, framework][
PropertyNames
.RuntimeIdentifier, runtimeIdentifier];
394
.Add[
PropertyNames
.TargetFrameworkMoniker, framework][
PropertyNames
.RuntimeIdentifier, value: null];
408
.Add[
PropertyNames
.RuntimeIdentifier, runtimeIdentifier];