DownloadArchive 1.0.14
dotnet add package DownloadArchive --version 1.0.14
NuGet\Install-Package DownloadArchive -Version 1.0.14
<PackageReference Include="DownloadArchive" Version="1.0.14" />
paket add DownloadArchive --version 1.0.14
#r "nuget: DownloadArchive, 1.0.14"
// Install DownloadArchive as a Cake Addin #addin nuget:?package=DownloadArchive&version=1.0.14 // Install DownloadArchive as a Cake Tool #tool nuget:?package=DownloadArchive&version=1.0.14
DownlaodArchive
This is a Nuget package a which contains custom MSBuild Tasks that allow downloading archives to build and publish directories.
The following example will download geckodriver to output gecko-driver-0.34.0/(linux-x64|osx-arm64|win-x64)/geckodriver(.exe)?
depending on RuntimeIdentifier
:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<DownlaodArchive
Include="gecko-driver-0.34.0"
Visible="false"
RID-linux-x64="https://github.com/mozilla/geckodriver/releases/download/v0.34.0/geckodriver-v0.34.0-linux64.tar.gz"
RID-osx-arm64="https://github.com/mozilla/geckodriver/releases/download/v0.34.0/geckodriver-v0.34.0-macos-aarch64.tar.gz"
RID-win-x64="https://github.com/mozilla/geckodriver/releases/download/v0.34.0/geckodriver-v0.34.0-win32.zip"
/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="DownloadArchive" Version="1.0.7">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on DownloadArchive:
Package | Downloads |
---|---|
ChromeForTesting
Chrome for Testing binary distributed as nuget package. It has all you need to start Chrome on server/local without any installation on system or downloading in runtime, it works even in scratch Docker image. |
GitHub repositories
This package is not used by any popular GitHub repositories.