3 implementations of ExtractPackageAsync
dotnet (1)
NugetPackageDownloader\NuGetPackageDownloader.cs (1)
228public async Task<IEnumerable<string>> ExtractPackageAsync(string packagePath, DirectoryPath targetFolder)
dotnet.Tests (1)
CommandTests\Workload\Install\FailingNuGetPackageInstaller.cs (1)
35public Task<IEnumerable<string>> ExtractPackageAsync(string packagePath, DirectoryPath targetFolder)
Microsoft.DotNet.Tools.Tests.ComponentMocks (1)
MockNuGetPackageDownloader.cs (1)
89public Task<IEnumerable<string>> ExtractPackageAsync(string packagePath, DirectoryPath targetFolder)
6 references to ExtractPackageAsync
dotnet (6)
Commands\Workload\Install\FileBasedInstaller.cs (2)
213var packFiles = _nugetPackageDownloader.ExtractPackageAsync(packagePath, new DirectoryPath(tempExtractionDir)).GetAwaiter().GetResult(); 672await _nugetPackageDownloader.ExtractPackageAsync(nupkgPath, new DirectoryPath(extractionPath));
Commands\Workload\Install\NetSdkMsiInstallerClient.cs (2)
755await _nugetPackageDownloader.ExtractPackageAsync(nupkgPath, new DirectoryPath(extractionPath)); 958_ = _nugetPackageDownloader.ExtractPackageAsync(packagePath, new DirectoryPath(extractionDirectory)).Result;
ShellShim\ShellShimTemplateFinder.cs (1)
56_ = await _nugetPackageDownloader.ExtractPackageAsync(packagePath, _tempDir);
ToolPackage\ToolPackageDownloader.cs (1)
98nugetPackageDownloader.ExtractPackageAsync(packagePath, new DirectoryPath(nupkgDir)).ConfigureAwait(false).GetAwaiter().GetResult();