1 implementation of ExtractPackageAsync
dotnet (1)
NugetPackageDownloader\NuGetPackageDownloader.cs (1)
324
public async Task<IEnumerable<string>>
ExtractPackageAsync
(string packagePath, DirectoryPath targetFolder)
4 references to ExtractPackageAsync
dotnet (4)
Commands\Workload\Install\FileBasedInstaller.cs (2)
216
var packFiles = _nugetPackageDownloader.
ExtractPackageAsync
(packagePath, new DirectoryPath(tempExtractionDir)).GetAwaiter().GetResult();
675
await _nugetPackageDownloader.
ExtractPackageAsync
(nupkgPath, new DirectoryPath(extractionPath));
ShellShim\ShellShimTemplateFinder.cs (1)
56
_ = await _nugetPackageDownloader.
ExtractPackageAsync
(packagePath, _tempDir);
ToolPackage\ToolPackageDownloader.cs (1)
98
nugetPackageDownloader.
ExtractPackageAsync
(packagePath, new DirectoryPath(nupkgDir)).ConfigureAwait(false).GetAwaiter().GetResult();