3 writes to ProjectJsonPath
NuGet.PackageManagement (1)
Projects\ProjectJsonNuGetProject.cs (1)
189
metadata.
ProjectJsonPath
= packageSpec.FilePath;
NuGet.ProjectModel (2)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (1)
1098
msbuildMetadata.
ProjectJsonPath
= projectJsonPath;
ProjectRestoreMetadata.cs (1)
269
clone.
ProjectJsonPath
= ProjectJsonPath;
11 references to ProjectJsonPath
NuGet.Commands (4)
RestoreCommand\Utility\SpecValidationUtility.cs (4)
184
if (!string.IsNullOrEmpty(spec.RestoreMetadata.
ProjectJsonPath
))
189
nameof(spec.RestoreMetadata.
ProjectJsonPath
),
275
if (spec.RestoreMetadata.
ProjectJsonPath
!= null)
280
nameof(spec.RestoreMetadata.
ProjectJsonPath
));
NuGet.ProjectModel (7)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (1)
173
packageSpec.FilePath ??= packageSpec.RestoreMetadata?.
ProjectJsonPath
PackageSpecWriter.cs (2)
73
&& msbuildMetadata.ProjectPath == null && msbuildMetadata.
ProjectJsonPath
== null
102
SetValue(writer, "projectJsonPath", msbuildMetadata.
ProjectJsonPath
);
ProjectRestoreMetadata.cs (4)
166
hashCode.AddObject(
ProjectJsonPath
, osStringComparer);
216
osStringComparer.Equals(
ProjectJsonPath
, other.
ProjectJsonPath
) &&
269
clone.ProjectJsonPath =
ProjectJsonPath
;