1 write to NupkgPath
Microsoft.NET.TestFramework (1)
TestPackageReference.cs (1)
12
NupkgPath
= nupkgPath;
18 references to NupkgPath
Microsoft.NET.Build.Tests (17)
GivenThatWeHaveAPackageReferenceWithAliases.cs (8)
34
packageReferences.Last().
NupkgPath
,
43
var packagesPaths = packageReferences.Select(e => Path.GetDirectoryName(e.
NupkgPath
));
74
packageReferenceA.
NupkgPath
,
81
packageReferenceB.
NupkgPath
,
90
List<string> sources = new() { Path.GetDirectoryName(packageReferenceA.
NupkgPath
), Path.GetDirectoryName(packageReferenceB.
NupkgPath
) };
118
packageReferenceA.
NupkgPath
,
127
List<string> sources = new() { Path.GetDirectoryName(packageReferenceA.
NupkgPath
) };
GivenThatWeWantDiagnosticsWhenPackageCannotBeFound.cs (1)
28
Path.GetDirectoryName(package.
NupkgPath
));
GivenThatWeWantToBuildANetCoreApp.cs (2)
1022
testProject.AdditionalProperties["RestoreAdditionalProjectSources"] = Path.GetDirectoryName(package.
NupkgPath
);
1075
testProject.AdditionalProperties["RestoreAdditionalProjectSources"] = Path.GetDirectoryName(package.
NupkgPath
);
GivenThatWeWantToCopyPPFileToOutput.cs (1)
25
testProject.AdditionalProperties.Add("RestoreAdditionalProjectSources", Path.GetDirectoryName(packageReference.
NupkgPath
));
GivenThatWeWantToVerifyNuGetReferenceCompat.cs (5)
111
var source = Path.Combine(packageReference.
NupkgPath
, packageReference.ID, "bin", "Debug");
150
var source = Path.Combine(testPackageReference.
NupkgPath
, testPackageReference.ID, "bin", "Debug");
169
NuGetConfigWriter.Write(testProjectTestAsset.TestRoot, Path.GetDirectoryName(testPackageReference.
NupkgPath
));
185
NuGetConfigWriter.Write(testProjectTestAsset.TestRoot, Path.GetDirectoryName(testPackageReference.
NupkgPath
));
201
var source = Path.Combine(testPackageReference.
NupkgPath
, testPackageReference.ID, "bin", "Debug");
Microsoft.NET.TestFramework (1)
TestPackageReference.cs (1)
28
return File.Exists(Path.Combine(
NupkgPath
?? string.Empty, string.Concat(ID + "." + Version + ".nupkg")));